@@ -143,6 +143,49 @@ lib_deps =
143143 ${LilyGo_T-Echo-Lite.lib_deps}
144144 densaugeo/base64 @ ~1.4.0
145145
146+ [env:LilyGo_T-Echo-Lite_non_shell_companion_radio_usb]
147+ extends = LilyGo_T-Echo-Lite
148+ upload_protocol = nrfutil
149+ board_build.ldscript = boards/nrf52840_s140_v6_extrafs.ld
150+ board_upload.maximum_size = 712704
151+ build_flags =
152+ ${nrf52_base.build_flags}
153+ -I variants/lilygo_techo_lite
154+ -I src/helpers/nrf52
155+ -I lib/nrf52/s140_nrf52_6.1.1_API/include
156+ -I lib/nrf52/s140_nrf52_6.1.1_API/include/nrf52
157+ -I src/helpers/ui
158+ -I examples/companion_radio/ui-new
159+ -D LILYGO_TECHO
160+ -D RADIO_CLASS =CustomSX1262
161+ -D WRAPPER_CLASS =CustomSX1262Wrapper
162+ -D LORA_TX_POWER =22
163+ -D SX126X_POWER_EN =30
164+ -D SX126X_CURRENT_LIMIT =140
165+ -D SX126X_RX_BOOSTED_GAIN =1
166+ -D P_LORA_TX_LED =LED_GREEN
167+ -D DISABLE_DIAGNOSTIC_OUTPUT
168+ -D ENV_INCLUDE_GPS =1
169+ -D GPS_BAUD_RATE =9600
170+ -D PIN_GPS_EN =GPS_EN
171+ -D AUTO_OFF_MILLIS =0
172+ -D MAX_CONTACTS =350
173+ -D MAX_GROUP_CHANNELS =40
174+ -D UI_RECENT_LIST_SIZE =9
175+ -D AUTO_SHUTDOWN_MILLIVOLTS =3300
176+ ; -D MESH_PACKET_LOGGING=1
177+ ; -D MESH_DEBUG=1
178+ build_src_filter = ${nrf52_base.build_src_filter}
179+ +<helpers/*.cpp>
180+ +<TechoBoard.cpp>
181+ +<helpers/sensors/EnvironmentSensorManager.cpp>
182+ +<helpers/ui/MomentaryButton.cpp>
183+ +<../variants/lilygo_techo_lite>
184+ +<../examples/companion_radio/*.cpp>
185+ lib_deps =
186+ ${LilyGo_T-Echo-Lite.lib_deps}
187+ densaugeo/base64 @ ~1.4.0
188+
146189[env:LilyGo_T-Echo-Lite_kiss_modem]
147190extends = LilyGo_T-Echo-Lite
148191build_src_filter = ${LilyGo_T-Echo-Lite.build_src_filter}
0 commit comments