platformio: simplify build platforms
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
5bfded9277
commit
6831dfdfca
@ -20,6 +20,7 @@ lib_deps_external =
|
|||||||
fastled/FastLED@^3.4.0
|
fastled/FastLED@^3.4.0
|
||||||
thijse/ArduinoLog@1.0.3
|
thijse/ArduinoLog@1.0.3
|
||||||
bblanchon/ArduinoJson@^6.17.3
|
bblanchon/ArduinoJson@^6.17.3
|
||||||
|
LittleFS
|
||||||
|
|
||||||
[config_u8display]
|
[config_u8display]
|
||||||
src_build_flags =
|
src_build_flags =
|
||||||
@ -69,28 +70,6 @@ src_build_flags =
|
|||||||
-DCONFIG_MPU5060
|
-DCONFIG_MPU5060
|
||||||
src_filter = "+<inputs/MPU6050.cpp>"
|
src_filter = "+<inputs/MPU6050.cpp>"
|
||||||
|
|
||||||
[env:teensy]
|
|
||||||
extends = config_nocolor
|
|
||||||
platform = teensy
|
|
||||||
board = teensy31
|
|
||||||
framework = arduino
|
|
||||||
src_build_flags =
|
|
||||||
${common_env_data.src_build_flags}
|
|
||||||
${config_nocolor.src_build_flags}
|
|
||||||
-DPLATFORM_ARDUINO
|
|
||||||
-DBOARD_TEENSY
|
|
||||||
lib_deps =
|
|
||||||
${common_env_data.lib_deps_external}
|
|
||||||
src_filter = "${common_env_data.src_filter}"
|
|
||||||
|
|
||||||
[env:bike_teensy]
|
|
||||||
extends = env:teensy
|
|
||||||
src_build_flags=
|
|
||||||
${env:teensy.src_build_flags}
|
|
||||||
-DRENDERBUG_LED_PIN=11
|
|
||||||
-DRENDERBUG_LED_PACKING=GRB
|
|
||||||
-DDEFAULT_PATTERN_INDEX=1
|
|
||||||
|
|
||||||
[env:bike]
|
[env:bike]
|
||||||
extends = env:esp32, config_u8display
|
extends = env:esp32, config_u8display
|
||||||
src_filter = "${env:esp32.src_filter} ${config_u8display.src_filter}"
|
src_filter = "${env:esp32.src_filter} ${config_u8display.src_filter}"
|
||||||
@ -115,7 +94,6 @@ extends = config_nocolor
|
|||||||
platform = espressif32
|
platform = espressif32
|
||||||
board = featheresp32
|
board = featheresp32
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board_build.filesystem = littlefs
|
|
||||||
src_build_flags =
|
src_build_flags =
|
||||||
${common_env_data.src_build_flags}
|
${common_env_data.src_build_flags}
|
||||||
${config_nocolor.src_build_flags}
|
${config_nocolor.src_build_flags}
|
||||||
@ -126,6 +104,8 @@ lib_deps =
|
|||||||
${common_env_data.lib_deps_external}
|
${common_env_data.lib_deps_external}
|
||||||
src_filter = "${common_env_data.src_filter}"
|
src_filter = "${common_env_data.src_filter}"
|
||||||
board_build.partitions = no_ota.csv
|
board_build.partitions = no_ota.csv
|
||||||
|
monitor_filters = esp32_exception_decoder
|
||||||
|
upload_speed = 115200
|
||||||
|
|
||||||
[env:esp8266-12f]
|
[env:esp8266-12f]
|
||||||
extends = env:esp8266
|
extends = env:esp8266
|
||||||
@ -135,7 +115,7 @@ board = esp12e
|
|||||||
platform = espressif8266
|
platform = espressif8266
|
||||||
board = huzzah
|
board = huzzah
|
||||||
framework = arduino
|
framework = arduino
|
||||||
booard_build.filesystem = littlefs
|
board_build.filesystem = littlefs
|
||||||
src_build_flags =
|
src_build_flags =
|
||||||
${common_env_data.src_build_flags}
|
${common_env_data.src_build_flags}
|
||||||
-DPLATFORM_ARDUINO
|
-DPLATFORM_ARDUINO
|
||||||
@ -145,21 +125,22 @@ src_build_flags =
|
|||||||
lib_deps =
|
lib_deps =
|
||||||
${common_env_data.lib_deps_external}
|
${common_env_data.lib_deps_external}
|
||||||
arduino-libraries/NTPClient@^3.1.0
|
arduino-libraries/NTPClient@^3.1.0
|
||||||
src_filter = "${common_env_data.src_filter}"
|
src_filter = "${common_env_data.src_filter} +<inputs/Serial.cpp>"
|
||||||
|
|
||||||
[env:cyberplague]
|
[env:esp32_bluetooth]
|
||||||
extends = env:esp32, config_bluetooth
|
extends = env:esp32, config_bluetooth
|
||||||
src_filter = "${env:esp32.src_filter} ${config_bluetooth.src_filter}"
|
src_filter = "${env:esp32.src_filter} ${config_mqtt.src_filter} ${config_wifi.src_filter} ${config_bluetooth.src_filter}"
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${env:esp32.lib_deps}
|
${env:esp32.lib_deps}
|
||||||
${config_bluetooth.lib_deps}
|
${config_bluetooth.lib_deps}
|
||||||
|
${config_mqtt.lib_deps}
|
||||||
src_build_flags =
|
src_build_flags =
|
||||||
${env:esp32.src_build_flags}
|
${env:esp32.src_build_flags}
|
||||||
${config_bluetooth.src_build_flags}
|
${config_bluetooth.src_build_flags}
|
||||||
|
${config_wifi.src_build_flags}
|
||||||
-DRENDERBUG_LED_PIN=13
|
-DRENDERBUG_LED_PIN=13
|
||||||
-DDEFAULT_PATTERN_INDEX=1
|
|
||||||
|
|
||||||
[env:cyberplague_wifi]
|
[env:esp32_wifi]
|
||||||
extends = env:esp32, config_wifi, config_mqtt
|
extends = env:esp32, config_wifi, config_mqtt
|
||||||
src_filter = "${env:esp32.src_filter} ${config_wifi.src_filter} ${config_mqtt.src_filter}"
|
src_filter = "${env:esp32.src_filter} ${config_wifi.src_filter} ${config_mqtt.src_filter}"
|
||||||
lib_deps =
|
lib_deps =
|
||||||
@ -169,12 +150,13 @@ src_build_flags =
|
|||||||
${env:esp32.src_build_flags}
|
${env:esp32.src_build_flags}
|
||||||
${config_mqtt.src_build_flags}
|
${config_mqtt.src_build_flags}
|
||||||
${config_wifi.src_build_flags}
|
${config_wifi.src_build_flags}
|
||||||
|
-DRENDERBUG_LED_PIN=13
|
||||||
|
|
||||||
[env:prototype]
|
[env:prototype]
|
||||||
extends = env:esp32, config_buttons, config_mpu5060
|
extends = env:esp32, config_buttons, config_mpu5060
|
||||||
src_filter = "${env:esp32.src_filter} ${config_buttons.src_filter} ${config_mpu5060.src_filter}"
|
src_filter = "${env:esp32.src_filter} ${config_buttons.src_filter} ${config_mpu5060.src_filter}"
|
||||||
|
|
||||||
[env:home_lighting]
|
[env:esp8266_wifi]
|
||||||
extends = env:esp8266, config_wifi, config_mqtt, config_ota
|
extends = env:esp8266, config_wifi, config_mqtt, config_ota
|
||||||
src_filter = "${env:esp32.src_filter} ${config_ota.src_filter} ${config_wifi.src_filter} ${config_mqtt.src_filter}"
|
src_filter = "${env:esp32.src_filter} ${config_ota.src_filter} ${config_wifi.src_filter} ${config_mqtt.src_filter}"
|
||||||
src_build_flags =
|
src_build_flags =
|
||||||
|
Loading…
Reference in New Issue
Block a user