platformio: update u8 lib, add new display esp32 variant
This commit is contained in:
parent
39190d6506
commit
53d5775c6a
@ -9,7 +9,7 @@
|
|||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[common_env_data]
|
[common_env_data]
|
||||||
src_filter = "+<*> -<.git/> -<.svn/> -<platform/> -<inputs/>"
|
src_filter = "+<*> -<.git/> -<.svn/> -<platform/> -<inputs/> +<inputs/BPM.cpp>"
|
||||||
lib_ldf_mode = chain+
|
lib_ldf_mode = chain+
|
||||||
extra_scripts = verify-configs.py
|
extra_scripts = verify-configs.py
|
||||||
src_build_flags =
|
src_build_flags =
|
||||||
@ -27,7 +27,7 @@ lib_deps_external =
|
|||||||
src_build_flags =
|
src_build_flags =
|
||||||
-DCONFIG_U8DISPLAY
|
-DCONFIG_U8DISPLAY
|
||||||
lib_deps =
|
lib_deps =
|
||||||
olikraus/U8g2@2.28.8
|
olikraus/U8g2@2.34.13
|
||||||
src_filter = "+<platform/arduino/U8Display.cpp>"
|
src_filter = "+<platform/arduino/U8Display.cpp>"
|
||||||
|
|
||||||
[config_mqtt]
|
[config_mqtt]
|
||||||
@ -93,6 +93,7 @@ src_build_flags =
|
|||||||
[env:esp32]
|
[env:esp32]
|
||||||
extends = config_nocolor
|
extends = config_nocolor
|
||||||
extra_scripts = verify-configs.py
|
extra_scripts = verify-configs.py
|
||||||
|
board_build.filesystem = littlefs
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
board = featheresp32
|
board = featheresp32
|
||||||
framework = arduino
|
framework = arduino
|
||||||
@ -101,12 +102,12 @@ src_build_flags =
|
|||||||
${config_nocolor.src_build_flags}
|
${config_nocolor.src_build_flags}
|
||||||
-DPLATFORM_ARDUINO
|
-DPLATFORM_ARDUINO
|
||||||
-DBOARD_ESP32
|
-DBOARD_ESP32
|
||||||
; -DCONFIG_THREADED_INPUTS
|
-DCONFIG_THREADED_INPUTS
|
||||||
lib_deps =
|
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
|
|
||||||
monitor_filters = esp32_exception_decoder
|
monitor_filters = esp32_exception_decoder
|
||||||
|
monitor_speed = 115200
|
||||||
upload_speed = 115200
|
upload_speed = 115200
|
||||||
|
|
||||||
[env:esp8266-12f]
|
[env:esp8266-12f]
|
||||||
@ -140,11 +141,12 @@ 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}
|
${config_wifi.src_build_flags}
|
||||||
-DRENDERBUG_LED_PIN=13
|
-DRENDERBUG_LED_PIN=14
|
||||||
|
|
||||||
[env:esp32_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}"
|
||||||
|
buid_type = debug
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${env:esp32.lib_deps}
|
${env:esp32.lib_deps}
|
||||||
${config_mqtt.lib_deps}
|
${config_mqtt.lib_deps}
|
||||||
@ -152,7 +154,34 @@ 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
|
-DRENDERBUG_LED_PIN=14
|
||||||
|
|
||||||
|
[env:esp32_display]
|
||||||
|
extends = env:esp32, config_u8display
|
||||||
|
src_filter = "${env:esp32.src_filter} ${config_u8display.src_filter}"
|
||||||
|
build_type = debug
|
||||||
|
lib_deps =
|
||||||
|
${env:esp32.lib_deps}
|
||||||
|
${config_u8display.lib_deps}
|
||||||
|
src_build_flags =
|
||||||
|
${env:esp32.src_build_flags}
|
||||||
|
${config_u8display.src_build_flags}
|
||||||
|
-DRENDERBUG_LED_PIN=14
|
||||||
|
|
||||||
|
[env:esp32_wifi_display]
|
||||||
|
extends = env:esp32, config_wifi, config_mqtt, config_u8display
|
||||||
|
src_filter = "${env:esp32.src_filter} ${config_wifi.src_filter} ${config_mqtt.src_filter} ${config_u8display.src_filter}"
|
||||||
|
build_type = debug
|
||||||
|
lib_deps =
|
||||||
|
${env:esp32.lib_deps}
|
||||||
|
${config_mqtt.lib_deps}
|
||||||
|
${config_u8display.lib_deps}
|
||||||
|
src_build_flags =
|
||||||
|
${env:esp32.src_build_flags}
|
||||||
|
${config_mqtt.src_build_flags}
|
||||||
|
${config_wifi.src_build_flags}
|
||||||
|
${config_u8display.src_build_flags}
|
||||||
|
-DRENDERBUG_LED_PIN=14
|
||||||
|
|
||||||
[env:prototype]
|
[env:prototype]
|
||||||
extends = env:esp32, config_buttons, config_mpu5060
|
extends = env:esp32, config_buttons, config_mpu5060
|
||||||
|
Loading…
Reference in New Issue
Block a user