platformio: update u8 lib, add new display esp32 variant

This commit is contained in:
Torrie Fischer 2023-02-19 18:47:48 +01:00
parent 39190d6506
commit 53d5775c6a

View File

@ -9,7 +9,7 @@
; https://docs.platformio.org/page/projectconf.html
[common_env_data]
src_filter = "+<*> -<.git/> -<.svn/> -<platform/> -<inputs/>"
src_filter = "+<*> -<.git/> -<.svn/> -<platform/> -<inputs/> +<inputs/BPM.cpp>"
lib_ldf_mode = chain+
extra_scripts = verify-configs.py
src_build_flags =
@ -27,7 +27,7 @@ lib_deps_external =
src_build_flags =
-DCONFIG_U8DISPLAY
lib_deps =
olikraus/U8g2@2.28.8
olikraus/U8g2@2.34.13
src_filter = "+<platform/arduino/U8Display.cpp>"
[config_mqtt]
@ -93,6 +93,7 @@ src_build_flags =
[env:esp32]
extends = config_nocolor
extra_scripts = verify-configs.py
board_build.filesystem = littlefs
platform = espressif32
board = featheresp32
framework = arduino
@ -101,12 +102,12 @@ src_build_flags =
${config_nocolor.src_build_flags}
-DPLATFORM_ARDUINO
-DBOARD_ESP32
; -DCONFIG_THREADED_INPUTS
-DCONFIG_THREADED_INPUTS
lib_deps =
${common_env_data.lib_deps_external}
src_filter = "${common_env_data.src_filter}"
board_build.partitions = no_ota.csv
monitor_filters = esp32_exception_decoder
monitor_speed = 115200
upload_speed = 115200
[env:esp8266-12f]
@ -140,11 +141,12 @@ src_build_flags =
${env:esp32.src_build_flags}
${config_bluetooth.src_build_flags}
${config_wifi.src_build_flags}
-DRENDERBUG_LED_PIN=13
-DRENDERBUG_LED_PIN=14
[env:esp32_wifi]
extends = env:esp32, config_wifi, config_mqtt
src_filter = "${env:esp32.src_filter} ${config_wifi.src_filter} ${config_mqtt.src_filter}"
buid_type = debug
lib_deps =
${env:esp32.lib_deps}
${config_mqtt.lib_deps}
@ -152,7 +154,34 @@ src_build_flags =
${env:esp32.src_build_flags}
${config_mqtt.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]
extends = env:esp32, config_buttons, config_mpu5060