This commit is contained in:
Klaus K Wilting 2018-04-16 21:16:24 +02:00
parent e01d4c2100
commit 84cc1c937a

View File

@ -8,6 +8,7 @@
; Please visit documentation for the other options and examples ; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html ; http://docs.platformio.org/page/projectconf.html
; ---> SELECT TARGET PLATFORM HERE! <--- ; ---> SELECT TARGET PLATFORM HERE! <---
[platformio] [platformio]
env_default = heltec_wifi_lora_32 env_default = heltec_wifi_lora_32
@ -20,8 +21,12 @@ env_default = heltec_wifi_lora_32
; ;
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 part -----------
[common_env_data] [common_env_data]
monitor_baud = 115200
lib_deps_display =
U8g2@>=2.22.14
lib_deps_rgbled =
SmartLeds
build_flags = build_flags =
; we need build_flag for logging, otherwise we can't use ESP_LOGx in arduino framework ; 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! <--- ; ---> NOTE: For production run set DEBUG_LEVEL level to NONE! <---
@ -35,20 +40,11 @@ build_flags =
; override lora settings from LMiC library in lmic/config.h and use main.h instead ; override lora settings from LMiC library in lmic/config.h and use main.h instead
-D_lmic_config_h_ -D_lmic_config_h_
-include "src/main.h" -include "src/main.h"
;
lib_deps_display =
U8g2@>=2.22.14
lib_deps_rgbled =
SmartLeds
;
;
;----------- hardware specific part -----------
[env:heltec_wifi_lora_32] [env:heltec_wifi_lora_32]
platform = espressif32 platform = espressif32
board = heltec_wifi_lora_32
framework = arduino framework = arduino
monitor_baud = 115200 board = heltec_wifi_lora_32
upload_speed = 115200 upload_speed = 115200
lib_deps = lib_deps =
${common_env_data.lib_deps_display} ${common_env_data.lib_deps_display}
@ -59,9 +55,8 @@ build_flags =
[env:ttgov1] [env:ttgov1]
platform = espressif32 platform = espressif32
board = esp32dev
framework = arduino framework = arduino
monitor_baud = 115200 board = esp32dev
upload_speed = 115200 upload_speed = 115200
lib_deps = lib_deps =
${common_env_data.lib_deps_display} ${common_env_data.lib_deps_display}
@ -72,9 +67,8 @@ build_flags =
[env:ttgov2] [env:ttgov2]
platform = espressif32 platform = espressif32
board = esp32dev
framework = arduino framework = arduino
monitor_baud = 115200 board = esp32dev
upload_speed = 921600 upload_speed = 921600
lib_deps = lib_deps =
${common_env_data.lib_deps_display} ${common_env_data.lib_deps_display}
@ -85,9 +79,8 @@ build_flags =
[env:lopy] [env:lopy]
platform = espressif32 platform = espressif32
board = esp32dev
framework = arduino framework = arduino
monitor_baud = 115200 board = esp32dev
upload_speed = 921600 upload_speed = 921600
lib_deps = lib_deps =
${common_env_data.lib_deps_rgbled} ${common_env_data.lib_deps_rgbled}
@ -98,9 +91,8 @@ build_flags =
[env:lopy4] [env:lopy4]
platform = espressif32 platform = espressif32
board = esp32dev
framework = arduino framework = arduino
monitor_baud = 115200 board = esp32dev
upload_speed = 921600 upload_speed = 921600
lib_deps = lib_deps =
${common_env_data.lib_deps_rgbled} ${common_env_data.lib_deps_rgbled}
@ -111,9 +103,8 @@ build_flags =
[env:lolin32lite_lora] [env:lolin32lite_lora]
platform = espressif32 platform = espressif32
board = lolin32
framework = arduino framework = arduino
monitor_baud = 115200 board = lolin32
upload_speed = 256000 upload_speed = 256000
lib_deps = lib_deps =
${common_env_data.lib_deps_rgbled} ${common_env_data.lib_deps_rgbled}
@ -124,9 +115,8 @@ build_flags =
[env:lolin32_lora] [env:lolin32_lora]
platform = espressif32 platform = espressif32
board = lolin32
framework = arduino framework = arduino
monitor_baud = 115200 board = lolin32
upload_speed = 921600 upload_speed = 921600
lib_deps = lib_deps =
${common_env_data.lib_deps_rgbled} ${common_env_data.lib_deps_rgbled}