ESP32-PaxCounter/platformio.ini

182 lines
5.8 KiB
INI
Raw Normal View History

2018-03-18 19:45:17 +01:00
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html
2018-03-21 17:34:11 +01:00
; ---> SELECT TARGET PLATFORM HERE! <---
2018-03-18 19:45:17 +01:00
[platformio]
2018-03-30 20:41:08 +02:00
;env_default = heltec_wifi_lora_32
2018-03-21 14:33:55 +01:00
;env_default = ttgov1
2018-03-30 20:41:08 +02:00
env_default = ttgov2
;env_default = lopy
2018-03-18 19:45:17 +01:00
;env_default = lopy4
;env_default = lolin32lite_lora
2018-03-28 01:30:28 +02:00
;env_default = lolin32_lora
2018-03-18 19:45:17 +01:00
[env:heltec_wifi_lora_32]
platform = espressif32
board = heltec_wifi_lora_32
framework = arduino
monitor_baud = 115200
upload_speed = 921600
lib_deps =
U8g2
ESP32 BLE Arduino@>=0.4.9
2018-03-18 19:45:17 +01:00
build_flags =
;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework
2018-03-21 17:34:11 +01:00
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
2018-03-18 19:45:17 +01:00
;needed for ESP32 BLE Ardunio v0.4.9
-fexceptions
-std=c++11
2018-03-30 20:51:49 +02:00
;override lora settings from LMiC library in lmic/config.h and use main.conf instead
2018-03-18 19:45:17 +01:00
-D_lmic_config_h_
2018-03-30 20:51:49 +02:00
-include "src/main.conf"
2018-03-18 19:45:17 +01:00
-include "src/hal/heltec.h"
;FreeRTOS single core operation, switches off core 1 (see arduino-esp32/cores/esp32/main.cpp)
; -DCONFIG_FREERTOS_UNICORE
2018-03-20 21:38:41 +01:00
[env:ttgov1]
2018-03-18 19:45:17 +01:00
platform = espressif32
board = esp32dev
framework = arduino
monitor_baud = 115200
lib_deps =
U8g2
ESP32 BLE Arduino@>=0.4.9
2018-03-18 19:45:17 +01:00
build_flags =
;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework
2018-03-21 17:34:11 +01:00
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
2018-03-18 19:45:17 +01:00
;needed for ESP32 BLE Ardunio v0.4.9
-fexceptions
-std=c++11
2018-03-30 20:51:49 +02:00
;override lora settings from LMiC library in lmic/config.h and use main.conf instead
2018-03-18 19:45:17 +01:00
-D_lmic_config_h_
2018-03-30 20:51:49 +02:00
-include "src/main.conf"
2018-03-20 21:38:41 +01:00
-include "src/hal/ttgov1.h"
;FreeRTOS single core operation, switches off core 1 (see arduino-esp32/cores/esp32/main.cpp)
; -DCONFIG_FREERTOS_UNICORE
[env:ttgov2]
platform = espressif32
board = esp32dev
framework = arduino
monitor_baud = 115200
upload_speed = 921600
2018-03-20 21:38:41 +01:00
lib_deps = U8g2
build_flags =
;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework
2018-03-24 15:58:12 +01:00
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
2018-03-20 21:38:41 +01:00
;needed for ESP32 BLE Ardunio v0.4.9
-fexceptions
-std=c++11
2018-03-30 20:51:49 +02:00
;override lora settings from LMiC library in lmic/config.h and use main.conf instead
2018-03-20 21:38:41 +01:00
-D_lmic_config_h_
2018-03-30 20:51:49 +02:00
-include "src/main.conf"
2018-03-20 21:38:41 +01:00
-include "src/hal/ttgov2.h"
2018-03-18 19:45:17 +01:00
;FreeRTOS single core operation, switches off core 1 (see arduino-esp32/cores/esp32/main.cpp)
; -DCONFIG_FREERTOS_UNICORE
[env:lopy]
platform = espressif32
board = esp32dev
framework = arduino
monitor_baud = 115200
lib_deps =
U8g2@>2.21.7
ESP32 BLE Arduino@>=0.4.9
; NeoPixelBus
2018-03-18 19:45:17 +01:00
build_flags =
;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework
2018-03-24 10:43:48 +01:00
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
2018-03-18 19:45:17 +01:00
;needed for ESP32 BLE Ardunio v0.4.9
-fexceptions
-std=c++11
2018-03-30 20:51:49 +02:00
;override lora settings from LMiC library in lmic/config.h and use main.conf instead
2018-03-18 19:45:17 +01:00
-D_lmic_config_h_
2018-03-30 20:51:49 +02:00
-include "src/main.conf"
2018-03-18 19:45:17 +01:00
-include "src/hal/lopy.h"
;FreeRTOS single core operation, switches off core 1 (see arduino-esp32/cores/esp32/main.cpp)
; -DCONFIG_FREERTOS_UNICORE
[env:lopy4]
platform = espressif32
board = esp32dev
framework = arduino
monitor_baud = 115200
lib_deps =
U8g2@>2.21.7
ESP32 BLE Arduino@>=0.4.9
; NeoPixelBus
2018-03-18 19:45:17 +01:00
build_flags =
;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
;needed for ESP32 BLE Ardunio v0.4.9
-fexceptions
-std=c++11
2018-03-30 20:51:49 +02:00
;override lora settings from LMiC library in lmic/config.h and use main.conf instead
2018-03-18 19:45:17 +01:00
-D_lmic_config_h_
2018-03-30 20:51:49 +02:00
-include "src/main.conf"
2018-03-18 19:45:17 +01:00
-include "src/hal/lopy4.h"
;FreeRTOS single core operation, switches off core 1 (see arduino-esp32/cores/esp32/main.cpp)
2018-03-27 01:52:24 +02:00
; -DCONFIG_FREERTOS_UNICORE
2018-03-28 01:30:28 +02:00
[env:lolin32lite_lora]
platform = espressif32
board = lolin32
framework = arduino
monitor_baud = 115200
upload_speed = 256000
2018-03-28 01:30:28 +02:00
lib_deps =
U8g2
ESP32 BLE Arduino@>=0.4.9
; NeoPixelBus
build_flags =
;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
;needed for ESP32 BLE Ardunio v0.4.9
-fexceptions
-std=c++11
2018-03-30 20:51:49 +02:00
;override lora settings from LMiC library in lmic/config.h and use main.conf instead
2018-03-28 01:30:28 +02:00
-D_lmic_config_h_
2018-03-30 20:51:49 +02:00
-include "src/main.conf"
2018-03-28 01:30:28 +02:00
-include "src/hal/lolin32lite_lora.h"
;FreeRTOS single core operation, switches off core 1 (see arduino-esp32/cores/esp32/main.cpp)
; -DCONFIG_FREERTOS_UNICORE
2018-03-27 01:52:24 +02:00
[env:lolin32_lora]
platform = espressif32
board = lolin32
framework = arduino
monitor_baud = 115200
upload_speed = 921600
lib_deps =
U8g2
ESP32 BLE Arduino@>=0.4.9
2018-03-28 01:30:28 +02:00
; NeoPixelBus
2018-03-27 01:52:24 +02:00
build_flags =
;set log level, we need build_flag for this, otherwise we can't use ESP_LOGx in arduino framework
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
;needed for ESP32 BLE Ardunio v0.4.9
-fexceptions
-std=c++11
2018-03-30 20:51:49 +02:00
;override lora settings from LMiC library in lmic/config.h and use main.conf instead
2018-03-27 01:52:24 +02:00
-D_lmic_config_h_
2018-03-30 20:51:49 +02:00
-include "src/main.conf"
2018-03-27 01:52:24 +02:00
-include "src/hal/lolin32_lora.h"
;FreeRTOS single core operation, switches off core 1 (see arduino-esp32/cores/esp32/main.cpp)
; -DCONFIG_FREERTOS_UNICORE