platformio.ini cleanup
This commit is contained in:
parent
a0564f3607
commit
46bb3edff7
115
platformio.ini
115
platformio.ini
@ -17,8 +17,28 @@ env_default = ttgov2
|
|||||||
;env_default = lopy4
|
;env_default = lopy4
|
||||||
;env_default = lolin32lite_lora
|
;env_default = lolin32lite_lora
|
||||||
;env_default = lolin32_lora
|
;env_default = lolin32_lora
|
||||||
|
;
|
||||||
description = Paxcounter is a proof-of-concept ESP32 device for metering passenger flows in realtime. It counts how many mobile devices are around.
|
description = Paxcounter is a proof-of-concept ESP32 device for metering passenger flows in realtime. It counts how many mobile devices are around.
|
||||||
|
|
||||||
|
[common_env_data]
|
||||||
|
build_flags =
|
||||||
|
; we need build_flag for logging, otherwise we can't use ESP_LOGx in arduino framework
|
||||||
|
; ---> NOTE: For production run set DEBUG_LEVEL level to NONE! <---
|
||||||
|
; otherwise device may crash in dense environments due to serial buffer overflow
|
||||||
|
;
|
||||||
|
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO
|
||||||
|
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
|
||||||
|
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
|
||||||
|
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
||||||
|
;
|
||||||
|
;override lora settings from LMiC library in lmic/config.h and use main.h instead
|
||||||
|
-D_lmic_config_h_
|
||||||
|
-include "src/main.h"
|
||||||
|
;
|
||||||
|
lib_deps_builtin =
|
||||||
|
U8g2@2.22.10
|
||||||
|
|
||||||
|
|
||||||
[env:heltec_wifi_lora_32]
|
[env:heltec_wifi_lora_32]
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
board = heltec_wifi_lora_32
|
board = heltec_wifi_lora_32
|
||||||
@ -26,19 +46,10 @@ framework = arduino
|
|||||||
monitor_baud = 115200
|
monitor_baud = 115200
|
||||||
upload_speed = 115200
|
upload_speed = 115200
|
||||||
lib_deps =
|
lib_deps =
|
||||||
U8g2@2.22.10
|
${common_env_data.lib_deps_builtin}
|
||||||
build_flags =
|
build_flags =
|
||||||
;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework
|
${common_env_data.build_flags}
|
||||||
; ---> NOTE: For production run set DEBUG_LEVEL level to NONE! <---
|
|
||||||
; otherwise device may crash in dense environments due to serial buffer overflow
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
|
|
||||||
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
|
||||||
;override lora settings from LMiC library in lmic/config.h and use main.h instead
|
|
||||||
-D_lmic_config_h_
|
|
||||||
-Dheltec_wifi_lora_32
|
-Dheltec_wifi_lora_32
|
||||||
-include "src/main.h"
|
|
||||||
-include "src/hal/heltec.h"
|
-include "src/hal/heltec.h"
|
||||||
|
|
||||||
[env:ttgov1]
|
[env:ttgov1]
|
||||||
@ -46,23 +57,12 @@ platform = espressif32
|
|||||||
board = esp32dev
|
board = esp32dev
|
||||||
framework = arduino
|
framework = arduino
|
||||||
monitor_baud = 115200
|
monitor_baud = 115200
|
||||||
; On my V1, upload does not works over default 115200
|
upload_speed = 115200
|
||||||
upload_speed = 921600
|
|
||||||
;upload_port = COM15
|
|
||||||
lib_deps =
|
lib_deps =
|
||||||
U8g2@2.22.10
|
${common_env_data.lib_deps_builtin}
|
||||||
build_flags =
|
build_flags =
|
||||||
;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework
|
${common_env_data.build_flags}
|
||||||
; ---> NOTE: For production run set DEBUG_LEVEL level to NONE! <---
|
|
||||||
; otherwise device may crash in dense environments due to serial buffer overflow
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
|
|
||||||
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
|
||||||
;override lora settings from LMiC library in lmic/config.h and use main.h instead
|
|
||||||
-Dttgov1
|
-Dttgov1
|
||||||
-D_lmic_config_h_
|
|
||||||
-include "src/main.h"
|
|
||||||
-include "src/hal/ttgov1.h"
|
-include "src/hal/ttgov1.h"
|
||||||
|
|
||||||
[env:ttgov2]
|
[env:ttgov2]
|
||||||
@ -72,19 +72,10 @@ framework = arduino
|
|||||||
monitor_baud = 115200
|
monitor_baud = 115200
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
lib_deps =
|
lib_deps =
|
||||||
U8g2@2.22.10
|
${common_env_data.lib_deps_builtin}
|
||||||
build_flags =
|
build_flags =
|
||||||
;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework
|
${common_env_data.build_flags}
|
||||||
; ---> NOTE: For production run set DEBUG_LEVEL level to NONE! <---
|
|
||||||
; otherwise device may crash in dense environments due to serial buffer overflow
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
|
|
||||||
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
|
||||||
;override lora settings from LMiC library in lmic/config.h and use main.h instead
|
|
||||||
-D_lmic_config_h_
|
|
||||||
-Dttgov2
|
-Dttgov2
|
||||||
-include "src/main.h"
|
|
||||||
-include "src/hal/ttgov2.h"
|
-include "src/hal/ttgov2.h"
|
||||||
|
|
||||||
[env:lopy]
|
[env:lopy]
|
||||||
@ -94,20 +85,11 @@ framework = arduino
|
|||||||
monitor_baud = 115200
|
monitor_baud = 115200
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
lib_deps =
|
lib_deps =
|
||||||
U8g2@2.22.10
|
${common_env_data.lib_deps_builtin}
|
||||||
SmartLeds
|
SmartLeds
|
||||||
build_flags =
|
build_flags =
|
||||||
;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework
|
${common_env_data.build_flags}
|
||||||
; ---> NOTE: For production run set DEBUG_LEVEL level to NONE! <---
|
|
||||||
; otherwise device may crash in dense environments due to serial buffer overflow
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
|
|
||||||
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
|
||||||
;override lora settings from LMiC library in lmic/config.h and use main.h instead
|
|
||||||
-Dlopy
|
-Dlopy
|
||||||
-D_lmic_config_h_
|
|
||||||
-include "src/main.h"
|
|
||||||
-include "src/hal/lopy.h"
|
-include "src/hal/lopy.h"
|
||||||
|
|
||||||
[env:lopy4]
|
[env:lopy4]
|
||||||
@ -117,20 +99,11 @@ framework = arduino
|
|||||||
monitor_baud = 115200
|
monitor_baud = 115200
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
lib_deps =
|
lib_deps =
|
||||||
U8g2@2.22.10
|
${common_env_data.lib_deps_builtin}
|
||||||
SmartLeds
|
SmartLeds
|
||||||
build_flags =
|
build_flags =
|
||||||
;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework
|
${common_env_data.build_flags}
|
||||||
; ---> NOTE: For production run set DEBUG_LEVEL level to NONE! <---
|
|
||||||
; otherwise device may crash in dense environments due to serial buffer overflow
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
|
|
||||||
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
|
||||||
;override lora settings from LMiC library in lmic/config.h and use main.h instead
|
|
||||||
-D_lmic_config_h_
|
|
||||||
-Dlopy4
|
-Dlopy4
|
||||||
-include "src/main.h"
|
|
||||||
-include "src/hal/lopy4.h"
|
-include "src/hal/lopy4.h"
|
||||||
|
|
||||||
[env:lolin32lite_lora]
|
[env:lolin32lite_lora]
|
||||||
@ -140,20 +113,11 @@ framework = arduino
|
|||||||
monitor_baud = 115200
|
monitor_baud = 115200
|
||||||
upload_speed = 256000
|
upload_speed = 256000
|
||||||
lib_deps =
|
lib_deps =
|
||||||
U8g2@2.22.10
|
${common_env_data.lib_deps_builtin}
|
||||||
SmartLeds
|
SmartLeds
|
||||||
build_flags =
|
build_flags =
|
||||||
;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework
|
${common_env_data.build_flags}
|
||||||
; ---> NOTE: For production run set DEBUG_LEVEL level to NONE! <---
|
|
||||||
; otherwise device may crash in dense environments due to serial buffer overflow
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
|
|
||||||
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
|
||||||
;override lora settings from LMiC library in lmic/config.h and use main.h instead
|
|
||||||
-D_lmic_config_h_
|
|
||||||
-Dlolin32lite_lora
|
-Dlolin32lite_lora
|
||||||
-include "src/main.h"
|
|
||||||
-include "src/hal/lolin32lite_lora.h"
|
-include "src/hal/lolin32lite_lora.h"
|
||||||
|
|
||||||
[env:lolin32_lora]
|
[env:lolin32_lora]
|
||||||
@ -163,18 +127,9 @@ framework = arduino
|
|||||||
monitor_baud = 115200
|
monitor_baud = 115200
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
lib_deps =
|
lib_deps =
|
||||||
U8g2@2.22.10
|
${common_env_data.lib_deps_builtin}
|
||||||
SmartLeds
|
SmartLeds
|
||||||
build_flags =
|
build_flags =
|
||||||
;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework
|
${common_env_data.build_flags}
|
||||||
; ---> NOTE: For production run set DEBUG_LEVEL level to NONE! <---
|
|
||||||
; otherwise device may crash in dense environments due to serial buffer overflow
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
|
|
||||||
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
|
|
||||||
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
|
||||||
;override lora settings from LMiC library in lmic/config.h and use main.h instead
|
|
||||||
-D_lmic_config_h_
|
|
||||||
-Dlolin32_lora
|
-Dlolin32_lora
|
||||||
-include "src/main.h"
|
|
||||||
-include "src/hal/lolin32_lora.h"
|
-include "src/hal/lolin32_lora.h"
|
Loading…
Reference in New Issue
Block a user