* misc fixes

This commit is contained in:
Scott Powell committed 2026-11-19 17:56:59 +11:00
1 parent 6c45b94783
commit 54a88a307a
6 files changed
+10 -2

No files matched your search

+1 -1
View File
@@ -12,9 +12,9 @@
#ifdef DISPLAY_CLASS
#include <helpers/ui/MomentaryButton.h>
#include <helpers/ui/ST7735Display.h>
#include <UITask.h>
#else
#include "helpers/ui/NullDisplayDriver.h"
#include <UITask.h>
#endif
extern T096Board board;
+1 -1
View File
@@ -12,9 +12,9 @@
#ifdef DISPLAY_CLASS
#include <helpers/ui/MomentaryButton.h>
#include <helpers/ui/ST7735Display.h>
#include <UITask.h>
#else
#include "helpers/ui/NullDisplayDriver.h"
#include <UITask.h>
#endif
extern T1Board board;
+3
View File
@@ -26,17 +26,20 @@ build_flags = ${stm32_base.build_flags}
build_src_filter = ${stm32_base.build_src_filter}
+<../variants/lilygo_t3_stm32>
+<helpers/ui/SSD1306Display.cpp>
+<helpers/ui/BaseUITask.cpp>
lib_deps = ${stm32_base.lib_deps}
adafruit/Adafruit SSD1306 @ ^2.5.13
[env:LilyGo_T3_STM32_repeater]
extends = lilygo_t3_stm32
build_flags = ${lilygo_t3_stm32.build_flags}
-I src/helpers/ui/server
-D ADVERT_NAME='"T3 STM32 Repeater"'
-D ADMIN_PASSWORD='"password"'
-D MAX_NEIGHBOURS=50
build_src_filter = ${lilygo_t3_stm32.build_src_filter}
+<../examples/simple_repeater/*.cpp>
+<helpers/ui/server>
[env:LilyGo_T3_STM32_companion_radio_usb]
extends = lilygo_t3_stm32
+1
View File
@@ -17,6 +17,7 @@ SensorManager sensors;
DISPLAY_CLASS display;
// PH3 is also BOOT0: the board's button is active high with an external pull-down.
MomentaryButton user_btn(PIN_USER_BTN, 1000, false);
UITask ui_task(&board, &display);
static const uint32_t rfswitch_pins[] = {
PB2, PB6, RADIOLIB_NC, RADIOLIB_NC, RADIOLIB_NC
+2
View File
@@ -11,6 +11,7 @@
#endif
#include <helpers/ui/SSD1306Display.h>
#include <helpers/ui/MomentaryButton.h>
#include <UITask.h>
class LilyGoT3STM32Board : public STM32Board {
public:
@@ -31,6 +32,7 @@ extern SensorManager sensors;
#endif
extern DISPLAY_CLASS display;
extern MomentaryButton user_btn;
extern UITask ui_task;
bool radio_init();
mesh::LocalIdentity radio_new_identity();
+2
View File
@@ -26,6 +26,8 @@
extern MomentaryButton joystick_left;
extern MomentaryButton joystick_right;
extern MomentaryButton back_btn;
#include <UITask.h>
extern UITask ui_task;
#elif defined(DISPLAY_CLASS)
#include "helpers/ui/NullDisplayDriver.h"
extern DISPLAY_CLASS display;