Skip to content

Commit 615316f

Browse files
authored
Merge pull request #693 from recrof/dev_meshadventurer_fix
fix: migrate meshadventurer to new ui
2 parents e8d4ab5 + 0f23c01 commit 615316f

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

variants/meshadventurer/platformio.ini

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ build_src_filter = ${Meshadventurer.build_src_filter}
8282
+<helpers/ui/SSD1306Display.cpp>
8383
build_flags =
8484
${Meshadventurer.build_flags}
85+
-I examples/companion_radio/ui-new
8586
-D RADIO_CLASS=CustomSX1262
8687
-D WRAPPER_CLASS=CustomSX1262Wrapper
8788
-D LORA_TX_POWER=22
@@ -99,8 +100,11 @@ build_src_filter = ${Meshadventurer.build_src_filter}
99100
+<../examples/companion_radio/*.cpp>
100101
+<helpers/esp32/*.cpp>
101102
+<helpers/ui/SSD1306Display.cpp>
103+
+<../examples/companion_radio/*.cpp>
104+
+<../examples/companion_radio/ui-new/*.cpp>
102105
build_flags =
103106
${Meshadventurer.build_flags}
107+
-I examples/companion_radio/ui-new
104108
-D RADIO_CLASS=CustomSX1262
105109
-D WRAPPER_CLASS=CustomSX1262Wrapper
106110
-D LORA_TX_POWER=22
@@ -159,8 +163,11 @@ extends = Meshadventurer
159163
build_src_filter = ${Meshadventurer.build_src_filter}
160164
+<../examples/companion_radio/*.cpp>
161165
+<helpers/ui/SSD1306Display.cpp>
166+
+<../examples/companion_radio/*.cpp>
167+
+<../examples/companion_radio/ui-new/*.cpp>
162168
build_flags =
163169
${Meshadventurer.build_flags}
170+
-I examples/companion_radio/ui-new
164171
-D RADIO_CLASS=CustomSX1268
165172
-D WRAPPER_CLASS=CustomSX1268Wrapper
166173
-D LORA_TX_POWER=22
@@ -178,8 +185,11 @@ build_src_filter = ${Meshadventurer.build_src_filter}
178185
+<../examples/companion_radio/*.cpp>
179186
+<helpers/esp32/*.cpp>
180187
+<helpers/ui/SSD1306Display.cpp>
188+
+<../examples/companion_radio/*.cpp>
189+
+<../examples/companion_radio/ui-new/*.cpp>
181190
build_flags =
182191
${Meshadventurer.build_flags}
192+
-I examples/companion_radio/ui-new
183193
-D RADIO_CLASS=CustomSX1268
184194
-D WRAPPER_CLASS=CustomSX1268Wrapper
185195
-D LORA_TX_POWER=22

variants/meshadventurer/target.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ MASensorManager sensors = MASensorManager(nmea);
1818
DISPLAY_CLASS display;
1919
#endif
2020

21-
#ifndef LORA_CR
22-
#define LORA_CR 5
23-
#endif
24-
2521
bool radio_init() {
2622
fallback_clock.begin();
2723
rtc_clock.begin(Wire);

0 commit comments

Comments
 (0)