From 991308aed5db391fabe3db5730b6c129916abc33 Mon Sep 17 00:00:00 2001 From: Mark Rose Date: Thu, 26 Nov 2026 01:35:07 -0600 Subject: [PATCH] Add ui/server include to envs missed by the UI refactor The server UI moved to src/helpers/ui/server (0e164ae4), and most server envs gained '-I src/helpers/ui/server' and '+', but Heltec_t096_sensor, RAK_3401_sensor, RAK_4631_sensor and the ThinkNode M9 repeater and room server did not, so they fail with 'UITask.h: No such file or directory'. Add both, and add BaseUITask.cpp to the ThinkNode_M9 base like other variants so the M9 builds link. Co-Authored-By: Claude Opus 5.5 --- variants/heltec_t096/platformio.ini | 2 ++ variants/rak3401/platformio.ini | 2 ++ variants/rak4631/platformio.ini | 2 ++ variants/thinknode_m9/platformio.ini | 5 +++++ 4 files changed, 11 insertions(+) diff --git a/variants/heltec_t096/platformio.ini b/variants/heltec_t096/platformio.ini index cc8c9ff47..fc1867329 100644 --- a/variants/heltec_t096/platformio.ini +++ b/variants/heltec_t096/platformio.ini @@ -113,6 +113,7 @@ build_flags = extends = Heltec_t096 build_flags = ${Heltec_t096.build_flags} + -I src/helpers/ui/server -D ADVERT_NAME='"Heltec_t096 Sensor"' -D ADVERT_LAT=0.0 -D ADVERT_LON=0.0 @@ -122,6 +123,7 @@ build_flags = ; -D MESH_PACKET_LOGGING=1 ; -D MESH_DEBUG=1 build_src_filter = ${Heltec_t096.build_src_filter} + + +<../examples/simple_sensor> lib_deps = ${Heltec_t096.lib_deps} diff --git a/variants/rak3401/platformio.ini b/variants/rak3401/platformio.ini index 97f1e6da9..cb14a8978 100644 --- a/variants/rak3401/platformio.ini +++ b/variants/rak3401/platformio.ini @@ -124,6 +124,7 @@ lib_deps = extends = rak3401 build_flags = ${rak3401.build_flags} + -I src/helpers/ui/server -D DISPLAY_CLASS=SSD1306Display -D ADVERT_NAME='"RAK3401 Sensor"' -D ADVERT_LAT=0.0 @@ -132,6 +133,7 @@ build_flags = ;-D MESH_PACKET_LOGGING=1 ;-D MESH_DEBUG=1 build_src_filter = ${rak3401.build_src_filter} + + + +<../examples/simple_sensor> diff --git a/variants/rak4631/platformio.ini b/variants/rak4631/platformio.ini index eaf73c7b0..742596240 100644 --- a/variants/rak4631/platformio.ini +++ b/variants/rak4631/platformio.ini @@ -275,6 +275,7 @@ lib_deps = extends = rak4631 build_flags = ${rak4631.build_flags} + -I src/helpers/ui/server -D DISPLAY_CLASS=AutoDetectDisplay -D ADVERT_NAME='"RAK4631 Sensor"' -D ADVERT_LAT=0.0 @@ -283,6 +284,7 @@ build_flags = ; -D MESH_PACKET_LOGGING=1 ; -D MESH_DEBUG=1 build_src_filter = ${rak4631.build_src_filter} + + + +<../examples/simple_sensor> diff --git a/variants/thinknode_m9/platformio.ini b/variants/thinknode_m9/platformio.ini index c718fe94f..fb76db341 100755 --- a/variants/thinknode_m9/platformio.ini +++ b/variants/thinknode_m9/platformio.ini @@ -50,6 +50,7 @@ build_src_filter = ${esp32_base.build_src_filter} + + + + + + +<../variants/thinknode_m9> lib_deps = ${esp32_base.lib_deps} @@ -60,6 +61,7 @@ lib_deps = ${esp32_base.lib_deps} extends = ThinkNode_M9 build_flags = ${ThinkNode_M9.build_flags} + -I src/helpers/ui/server -D ADVERT_NAME='"ThinkNode M9 Repeater"' -D ADVERT_LAT=0.0 -D ADVERT_LON=0.0 @@ -68,6 +70,7 @@ build_flags = ;-D MESH_PACKET_LOGGING=1 ;-D MESH_DEBUG=1 build_src_filter = ${ThinkNode_M9.build_src_filter} + + +<../examples/simple_repeater/*.cpp> lib_deps = ${ThinkNode_M9.lib_deps} @@ -76,9 +79,11 @@ lib_deps = [env:ThinkNode_M9_room_server_] extends = ThinkNode_M9 build_src_filter = ${ThinkNode_M9.build_src_filter} + + +<../examples/simple_room_server> build_flags = ${ThinkNode_M9.build_flags} + -I src/helpers/ui/server -D ADVERT_NAME='"ThinkNode M9 Room Server"' -D ADVERT_LAT=0.0 -D ADVERT_LON=0.0