platformio.ini restructured
This commit is contained in:
parent
5ca3ef72fd
commit
1c372bae5e
@ -11,10 +11,10 @@
|
|||||||
|
|
||||||
; ---> SELECT TARGET PLATFORM HERE! <---
|
; ---> SELECT TARGET PLATFORM HERE! <---
|
||||||
[platformio]
|
[platformio]
|
||||||
;env_default = heltec
|
env_default = heltec
|
||||||
;env_default = ttgov1
|
;env_default = ttgov1
|
||||||
;env_default = ttgov2
|
;env_default = ttgov2
|
||||||
env_default = ttgov21
|
;env_default = ttgov21
|
||||||
;env_default = lopy
|
;env_default = lopy
|
||||||
;env_default = lopy4
|
;env_default = lopy4
|
||||||
;env_default = fipy
|
;env_default = fipy
|
||||||
@ -24,6 +24,10 @@ env_default = ttgov21
|
|||||||
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]
|
[common_env_data]
|
||||||
|
platform_espressif32 = espressif32@>=1.0.1
|
||||||
|
board_build.partitions = no_ota.csv
|
||||||
|
board_upload.maximum_size = 2097152
|
||||||
|
monitor_speed = 115200
|
||||||
lib_deps_display =
|
lib_deps_display =
|
||||||
U8g2@>=2.22.14
|
U8g2@>=2.22.14
|
||||||
lib_deps_rgbled =
|
lib_deps_rgbled =
|
||||||
@ -43,12 +47,11 @@ build_flags =
|
|||||||
-include "src/paxcounter.conf"
|
-include "src/paxcounter.conf"
|
||||||
|
|
||||||
[env:heltec]
|
[env:heltec]
|
||||||
platform = espressif32@1.0.1
|
platform = ${common_env_data.platform_espressif32}
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = heltec_wifi_lora_32
|
board = heltec_wifi_lora_32
|
||||||
board_build.partitions = no_ota.csv
|
board_build.partitions = ${common_env_data.board_build.partitions}
|
||||||
board_upload.maximum_size = 2097152
|
board_upload.maximum_size = ${common_env_data.board_upload.maximum_size}
|
||||||
monitor_speed = 115200
|
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${common_env_data.lib_deps_display}
|
${common_env_data.lib_deps_display}
|
||||||
build_flags =
|
build_flags =
|
||||||
@ -56,12 +59,11 @@ build_flags =
|
|||||||
-include "src/hal/heltec.h"
|
-include "src/hal/heltec.h"
|
||||||
|
|
||||||
[env:ttgov1]
|
[env:ttgov1]
|
||||||
platform = espressif32@1.0.1
|
platform = ${common_env_data.platform_espressif32}
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
board_build.partitions = no_ota.csv
|
board_build.partitions = ${common_env_data.board_build.partitions}
|
||||||
board_upload.maximum_size = 2097152
|
board_upload.maximum_size = ${common_env_data.board_upload.maximum_size}
|
||||||
monitor_speed = 115200
|
|
||||||
upload_speed = 115200
|
upload_speed = 115200
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${common_env_data.lib_deps_display}
|
${common_env_data.lib_deps_display}
|
||||||
@ -70,12 +72,11 @@ build_flags =
|
|||||||
-include "src/hal/ttgov1.h"
|
-include "src/hal/ttgov1.h"
|
||||||
|
|
||||||
[env:ttgov2]
|
[env:ttgov2]
|
||||||
platform = espressif32@1.0.1
|
platform = ${common_env_data.platform_espressif32}
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
board_build.partitions = no_ota.csv
|
board_build.partitions = ${common_env_data.board_build.partitions}
|
||||||
board_upload.maximum_size = 2097152
|
board_upload.maximum_size = ${common_env_data.board_upload.maximum_size}
|
||||||
monitor_speed = 115200
|
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${common_env_data.lib_deps_display}
|
${common_env_data.lib_deps_display}
|
||||||
@ -84,12 +85,11 @@ build_flags =
|
|||||||
-include "src/hal/ttgov2.h"
|
-include "src/hal/ttgov2.h"
|
||||||
|
|
||||||
[env:ttgov21]
|
[env:ttgov21]
|
||||||
platform = espressif32@1.0.1
|
platform = ${common_env_data.platform_espressif32}
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
board_build.partitions = no_ota.csv
|
board_build.partitions = ${common_env_data.board_build.partitions}
|
||||||
board_upload.maximum_size = 2097152
|
board_upload.maximum_size = ${common_env_data.board_upload.maximum_size}
|
||||||
monitor_speed = 115200
|
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${common_env_data.lib_deps_display}
|
${common_env_data.lib_deps_display}
|
||||||
@ -101,9 +101,8 @@ build_flags =
|
|||||||
platform = espressif32@1.0.1
|
platform = espressif32@1.0.1
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
board_build.partitions = no_ota.csv
|
board_build.partitions = ${common_env_data.board_build.partitions}
|
||||||
board_upload.maximum_size = 2097152
|
board_upload.maximum_size = ${common_env_data.board_upload.maximum_size}
|
||||||
monitor_speed = 115200
|
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${common_env_data.lib_deps_rgbled}
|
${common_env_data.lib_deps_rgbled}
|
||||||
@ -112,12 +111,11 @@ build_flags =
|
|||||||
-include "src/hal/fipy.h"
|
-include "src/hal/fipy.h"
|
||||||
|
|
||||||
[env:lopy]
|
[env:lopy]
|
||||||
platform = espressif32@1.0.1
|
platform = ${common_env_data.platform_espressif32}
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
board_build.partitions = no_ota.csv
|
board_build.partitions = ${common_env_data.board_build.partitions}
|
||||||
board_upload.maximum_size = 2097152
|
board_upload.maximum_size = ${common_env_data.board_upload.maximum_size}
|
||||||
monitor_speed = 115200
|
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${common_env_data.lib_deps_rgbled}
|
${common_env_data.lib_deps_rgbled}
|
||||||
@ -126,12 +124,11 @@ build_flags =
|
|||||||
-include "src/hal/lopy.h"
|
-include "src/hal/lopy.h"
|
||||||
|
|
||||||
[env:lopy4]
|
[env:lopy4]
|
||||||
platform = espressif32@1.0.1
|
platform = ${common_env_data.platform_espressif32}
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
board_build.partitions = no_ota.csv
|
board_build.partitions = ${common_env_data.board_build.partitions}
|
||||||
board_upload.maximum_size = 2097152
|
board_upload.maximum_size = ${common_env_data.board_upload.maximum_size}
|
||||||
monitor_speed = 115200
|
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${common_env_data.lib_deps_rgbled}
|
${common_env_data.lib_deps_rgbled}
|
||||||
@ -140,12 +137,11 @@ build_flags =
|
|||||||
-include "src/hal/lopy4.h"
|
-include "src/hal/lopy4.h"
|
||||||
|
|
||||||
[env:lolin32lite]
|
[env:lolin32lite]
|
||||||
platform = espressif32@1.0.1
|
platform = ${common_env_data.platform_espressif32}
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = lolin32
|
board = lolin32
|
||||||
board_build.partitions = no_ota.csv
|
board_build.partitions = ${common_env_data.board_build.partitions}
|
||||||
board_upload.maximum_size = 2097152
|
board_upload.maximum_size = ${common_env_data.board_upload.maximum_size}
|
||||||
monitor_speed = 115200
|
|
||||||
upload_speed = 256000
|
upload_speed = 256000
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${common_env_data.lib_deps_rgbled}
|
${common_env_data.lib_deps_rgbled}
|
||||||
@ -154,12 +150,11 @@ build_flags =
|
|||||||
-include "src/hal/lolin32lite_lora.h"
|
-include "src/hal/lolin32lite_lora.h"
|
||||||
|
|
||||||
[env:lolin32]
|
[env:lolin32]
|
||||||
platform = espressif32@1.0.1
|
platform = ${common_env_data.platform_espressif32}
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = lolin32
|
board = lolin32
|
||||||
board_build.partitions = no_ota.csv
|
board_build.partitions = ${common_env_data.board_build.partitions}
|
||||||
board_upload.maximum_size = 2097152
|
board_upload.maximum_size = ${common_env_data.board_upload.maximum_size}
|
||||||
monitor_speed = 115200
|
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${common_env_data.lib_deps_rgbled}
|
${common_env_data.lib_deps_rgbled}
|
||||||
|
Loading…
Reference in New Issue
Block a user