1+ [Meshadventurer]
2+ extends = esp32_base
3+ board = esp32doit-devkit-v1
4+ board_build.partitions = min_spiffs.csv ; get around 4mb flash limit
5+ build_flags =
6+ ${esp32_base.build_flags}
7+ -I variants/meshadventurer
8+ -D MESHADVENTURER
9+ -D P_LORA_TX_LED =2
10+ -D PIN_VBAT_READ =35
11+ -D PIN_USER_BTN_ANA =39
12+ -D P_LORA_DIO_1 =33
13+ -D P_LORA_NSS =18
14+ -D P_LORA_RESET =23
15+ -D P_LORA_BUSY =32
16+ -D P_LORA_SCLK =5
17+ -D P_LORA_MOSI =27
18+ -D P_LORA_MISO =19
19+ -D SX126X_TXEN =13
20+ -D SX126X_RXEN =14
21+ -D PIN_BOARD_SDA =21
22+ -D PIN_BOARD_SCL =22
23+ -D SX126X_DIO2_AS_RF_SWITCH =false
24+ -D SX126X_DIO3_TCXO_VOLTAGE =1.8
25+ -D SX126X_RX_BOOSTED_GAIN =1
26+ -D PIN_GPS_RX =12
27+ -D PIN_GPS_TX =15
28+ -D DISPLAY_CLASS =SSD1306Display
29+ build_src_filter = ${esp32_base.build_src_filter}
30+ +<../variants/meshadventurer>
31+ lib_deps =
32+ ${esp32_base.lib_deps}
33+ stevemarple/MicroNMEA @ ^2.0.6
34+ adafruit/Adafruit SSD1306 @ ^2.5.13
35+
36+ [env:Meshadventurer_sx1262_repeater]
37+ extends = Meshadventurer
38+ build_src_filter = ${Meshadventurer.build_src_filter}
39+ +<../examples/simple_repeater>
40+ +<helpers/ui/SSD1306Display.cpp>
41+ build_flags =
42+ ${Meshadventurer.build_flags}
43+ -D RADIO_CLASS =CustomSX1262
44+ -D WRAPPER_CLASS =CustomSX1262Wrapper
45+ -D LORA_TX_POWER =22
46+ -D ADVERT_NAME =' "Meshadventurer Repeater"'
47+ -D ADVERT_LAT =0.0
48+ -D ADVERT_LON =0.0
49+ -D ADMIN_PASSWORD =' "password"'
50+ -D MAX_NEIGHBOURS =8
51+ ; -D MESH_PACKET_LOGGING=1
52+ ; -D MESH_DEBUG=1
53+ lib_deps =
54+ ${Meshadventurer.lib_deps}
55+ ${esp32_ota.lib_deps}
56+
57+ [env:Meshadventurer_sx1268_repeater]
58+ extends = Meshadventurer
59+ build_src_filter = ${Meshadventurer.build_src_filter}
60+ +<../examples/simple_repeater>
61+ +<helpers/ui/SSD1306Display.cpp>
62+ build_flags =
63+ ${Meshadventurer.build_flags}
64+ -D RADIO_CLASS =CustomSX1268
65+ -D WRAPPER_CLASS =CustomSX1268Wrapper
66+ -D LORA_TX_POWER =22
67+ -D ADVERT_NAME =' "Meshadventurer Repeater"'
68+ -D ADVERT_LAT =0.0
69+ -D ADVERT_LON =0.0
70+ -D ADMIN_PASSWORD =' "password"'
71+ -D MAX_NEIGHBOURS =8
72+ ; -D MESH_PACKET_LOGGING=1
73+ ; -D MESH_DEBUG=1
74+ lib_deps =
75+ ${Meshadventurer.lib_deps}
76+ ${esp32_ota.lib_deps}
77+
78+ [env:Meshadventurer_sx1262_companion_radio_usb]
79+ extends = Meshadventurer
80+ build_src_filter = ${Meshadventurer.build_src_filter}
81+ +<../examples/companion_radio>
82+ +<helpers/ui/SSD1306Display.cpp>
83+ build_flags =
84+ ${Meshadventurer.build_flags}
85+ -D RADIO_CLASS =CustomSX1262
86+ -D WRAPPER_CLASS =CustomSX1262Wrapper
87+ -D LORA_TX_POWER =22
88+ -D MAX_CONTACTS =100
89+ -D MAX_GROUP_CHANNELS =8
90+ ; -D MESH_PACKET_LOGGING=1
91+ ; -D MESH_DEBUG=1
92+ lib_deps =
93+ ${Meshadventurer.lib_deps}
94+ densaugeo/base64 @ ~1.4.0
95+
96+ [env:Meshadventurer_sx1262_companion_radio_ble]
97+ extends = Meshadventurer
98+ build_src_filter = ${Meshadventurer.build_src_filter}
99+ +<../examples/companion_radio>
100+ +<helpers/esp32/*.cpp>
101+ +<helpers/ui/SSD1306Display.cpp>
102+ build_flags =
103+ ${Meshadventurer.build_flags}
104+ -D RADIO_CLASS =CustomSX1262
105+ -D WRAPPER_CLASS =CustomSX1262Wrapper
106+ -D LORA_TX_POWER =22
107+ -D MAX_CONTACTS =100
108+ -D MAX_GROUP_CHANNELS =8
109+ -D BLE_PIN_CODE =123456
110+ -D BLE_DEBUG_LOGGING =1
111+ -D OFFLINE_QUEUE_SIZE =256
112+ -D MESH_PACKET_LOGGING =1
113+ -D MESH_DEBUG =1
114+ lib_deps =
115+ ${Meshadventurer.lib_deps}
116+ densaugeo/base64 @ ~1.4.0
117+
118+ [env:Meshadventurer_sx1262_terminal_chat]
119+ extends = Meshadventurer
120+ build_flags =
121+ ${Meshadventurer.build_flags}
122+ -D RADIO_CLASS =CustomSX1262
123+ -D WRAPPER_CLASS =CustomSX1262Wrapper
124+ -D LORA_TX_POWER =22
125+ -D MAX_CONTACTS =100
126+ -D MAX_GROUP_CHANNELS =1
127+ ; -D MESH_PACKET_LOGGING=1
128+ ; -D MESH_DEBUG=1
129+ build_src_filter = ${Meshadventurer.build_src_filter}
130+ +<../examples/simple_secure_chat/main.cpp>
131+ +<helpers/ui/SSD1306Display.cpp>
132+ lib_deps =
133+ ${Meshadventurer.lib_deps}
134+ densaugeo/base64 @ ~1.4.0
135+
136+ [env:Meshadventurer_sx1262_room_server]
137+ extends = Meshadventurer
138+ build_flags =
139+ ${Meshadventurer.build_flags}
140+ -D RADIO_CLASS =CustomSX1262
141+ -D WRAPPER_CLASS =CustomSX1262Wrapper
142+ -D LORA_TX_POWER =22
143+ -D ADVERT_NAME =' "Meshadventurer Room"'
144+ -D ADVERT_LAT =0.0
145+ -D ADVERT_LON =0.0
146+ -D ADMIN_PASSWORD =' "password"'
147+ -D ROOM_PASSWORD =' "hello"'
148+ ; -D MESH_PACKET_LOGGING=1
149+ ; -D MESH_DEBUG=1
150+ build_src_filter = ${Meshadventurer.build_src_filter}
151+ +<../examples/simple_room_server>
152+ +<helpers/ui/SSD1306Display.cpp>
153+ lib_deps =
154+ ${Meshadventurer.lib_deps}
155+ ${esp32_ota.lib_deps}
156+
157+ [env:Meshadventurer_sx1268_companion_radio_usb]
158+ extends = Meshadventurer
159+ build_src_filter = ${Meshadventurer.build_src_filter}
160+ +<../examples/companion_radio>
161+ +<helpers/ui/SSD1306Display.cpp>
162+ build_flags =
163+ ${Meshadventurer.build_flags}
164+ -D RADIO_CLASS =CustomSX1268
165+ -D WRAPPER_CLASS =CustomSX1268Wrapper
166+ -D LORA_TX_POWER =22
167+ -D MAX_CONTACTS =100
168+ -D MAX_GROUP_CHANNELS =8
169+ ; -D MESH_PACKET_LOGGING=1
170+ ; -D MESH_DEBUG=1
171+ lib_deps =
172+ ${Meshadventurer.lib_deps}
173+ densaugeo/base64 @ ~1.4.0
174+
175+ [env:Meshadventurer_sx1268_companion_radio_ble]
176+ extends = Meshadventurer
177+ build_src_filter = ${Meshadventurer.build_src_filter}
178+ +<../examples/companion_radio>
179+ +<helpers/esp32/*.cpp>
180+ +<helpers/ui/SSD1306Display.cpp>
181+ build_flags =
182+ ${Meshadventurer.build_flags}
183+ -D RADIO_CLASS =CustomSX1268
184+ -D WRAPPER_CLASS =CustomSX1268Wrapper
185+ -D LORA_TX_POWER =22
186+ -D MAX_CONTACTS =100
187+ -D MAX_GROUP_CHANNELS =8
188+ -D BLE_PIN_CODE =123456
189+ -D BLE_DEBUG_LOGGING =1
190+ -D OFFLINE_QUEUE_SIZE =256
191+ -D MESH_PACKET_LOGGING =1
192+ -D MESH_DEBUG =1
193+ lib_deps =
194+ ${Meshadventurer.lib_deps}
195+ densaugeo/base64 @ ~1.4.0
196+
197+ [env:Meshadventurer_sx1268_terminal_chat]
198+ extends = Meshadventurer
199+ build_flags =
200+ ${Meshadventurer.build_flags}
201+ -D RADIO_CLASS =CustomSX1268
202+ -D WRAPPER_CLASS =CustomSX1268Wrapper
203+ -D LORA_TX_POWER =22
204+ -D MAX_CONTACTS =100
205+ -D MAX_GROUP_CHANNELS =1
206+ ; -D MESH_PACKET_LOGGING=1
207+ ; -D MESH_DEBUG=1
208+ build_src_filter = ${Meshadventurer.build_src_filter}
209+ +<../examples/simple_secure_chat/main.cpp>
210+ +<helpers/ui/SSD1306Display.cpp>
211+ lib_deps =
212+ ${Meshadventurer.lib_deps}
213+ densaugeo/base64 @ ~1.4.0
214+
215+ [env:Meshadventurer_sx1268_room_server]
216+ extends = Meshadventurer
217+ build_flags =
218+ ${Meshadventurer.build_flags}
219+ -D RADIO_CLASS =CustomSX1268
220+ -D WRAPPER_CLASS =CustomSX1268Wrapper
221+ -D LORA_TX_POWER =22
222+ -D ADVERT_NAME =' "Meshadventurer Room"'
223+ -D ADVERT_LAT =0.0
224+ -D ADVERT_LON =0.0
225+ -D ADMIN_PASSWORD =' "password"'
226+ -D ROOM_PASSWORD =' "hello"'
227+ ; -D MESH_PACKET_LOGGING=1
228+ ; -D MESH_DEBUG=1
229+ build_src_filter = ${Meshadventurer.build_src_filter}
230+ +<../examples/simple_room_server>
231+ +<helpers/ui/SSD1306Display.cpp>
232+ lib_deps =
233+ ${Meshadventurer.lib_deps}
234+ ${esp32_ota.lib_deps}
0 commit comments