From eafca3d5d8de2e585b41f7d738a6e6a7c083cbc2 Mon Sep 17 00:00:00 2001 From: ElektroVodka <211697683+Elektr0Vodka@users.noreply.github.com> Date: Mon, 23 Nov 2026 03:57:51 +0100 Subject: [PATCH] fix(variants): UI include/src lines for the Station G3 r2 envs The 2026-11-23 upstream sync moved UITask to src/helpers/ui/server. The four Station G3 r2 envs (repeater, room server and their observer builds) had no -I src/helpers/ui/server / +, so target.h could not find UITask.h and the observer-mqtt dev release left both r2 boards out. --- variants/station_g3_esp32/platformio.ini | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/variants/station_g3_esp32/platformio.ini b/variants/station_g3_esp32/platformio.ini index 0be5a6552bd..f2fdd694def 100644 --- a/variants/station_g3_esp32/platformio.ini +++ b/variants/station_g3_esp32/platformio.ini @@ -314,10 +314,12 @@ build_flags = -D ADVERT_LON=0.0 -D ADMIN_PASSWORD='"password"' -D MAX_NEIGHBOURS=50 + -I src/helpers/ui/server ; -D MESH_PACKET_LOGGING=1 ; -D MESH_DEBUG=1 build_src_filter = ${Station_G3_ESP32_r2.build_src_filter} +<../examples/simple_repeater> + + lib_deps = ${Station_G3_ESP32_r2.lib_deps} ${esp32_ota.lib_deps} @@ -326,6 +328,7 @@ lib_deps = extends = Station_G3_ESP32_r2 build_src_filter = ${Station_G3_ESP32_r2.build_src_filter} +<../examples/simple_room_server> + + build_flags = ${Station_G3_ESP32_r2.build_flags} -D ADVERT_NAME='"Station G3 ESP32 Room"' @@ -333,6 +336,7 @@ build_flags = -D ADVERT_LON=0.0 -D ADMIN_PASSWORD='"password"' -D ROOM_PASSWORD='"hello"' + -I src/helpers/ui/server ; -D MESH_PACKET_LOGGING=1 ; -D MESH_DEBUG=1 lib_deps = @@ -357,6 +361,7 @@ build_flags = -D WITH_MQTT_BRIDGE=1 -D MQTT_MAX_PACKET_SIZE=1024 -D MQTT_DEBUG=1 + -I src/helpers/ui/server # -D MESH_PACKET_LOGGING=1 # -D MESH_DEBUG=1 -D CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=y @@ -375,6 +380,7 @@ build_src_filter = ${Station_G3_ESP32_r2.build_src_filter} + + +<../examples/simple_repeater> + + lib_deps = ${Station_G3_ESP32_r2.lib_deps} ${esp32_ota.lib_deps} @@ -409,6 +415,7 @@ build_flags = -D CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=y -D ESP32_CPU_FREQ=160 -D WITH_SNMP=1 + -I src/helpers/ui/server build_src_filter = ${Station_G3_ESP32_r2.build_src_filter} + + @@ -416,6 +423,7 @@ build_src_filter = ${Station_G3_ESP32_r2.build_src_filter} + + +<../examples/simple_room_server> + + lib_deps = ${Station_G3_ESP32_r2.lib_deps} ${esp32_ota.lib_deps}