@@ -96,3 +96,47 @@ build_src_filter = ${LilyGo_T-Echo-Lite.build_src_filter}
9696lib_deps =
9797 ${LilyGo_T-Echo-Lite.lib_deps}
9898 densaugeo/base64 @ ~1.4.0
99+
100+ [env:LilyGo_T-Echo-Lite_non_shell_companion_radio_ble]
101+ extends = LilyGo_T-Echo-Lite
102+ upload_protocol = nrfutil
103+ board_build.ldscript = boards/nrf52840_s140_v6_extrafs.ld
104+ board_upload.maximum_size = 712704
105+ build_flags =
106+ ${nrf52_base.build_flags}
107+ -I variants/lilygo_techo_lite
108+ -I src/helpers/nrf52
109+ -I lib/nrf52/s140_nrf52_6.1.1_API/include
110+ -I lib/nrf52/s140_nrf52_6.1.1_API/include/nrf52
111+ -I src/helpers/ui
112+ -I examples/companion_radio/ui-new
113+ -D LILYGO_TECHO
114+ -D RADIO_CLASS =CustomSX1262
115+ -D WRAPPER_CLASS =CustomSX1262Wrapper
116+ -D LORA_TX_POWER =22
117+ -D SX126X_POWER_EN =30
118+ -D SX126X_CURRENT_LIMIT =140
119+ -D SX126X_RX_BOOSTED_GAIN =1
120+ -D P_LORA_TX_LED =LED_GREEN
121+ -D DISABLE_DIAGNOSTIC_OUTPUT
122+ -D ENV_INCLUDE_GPS =1
123+ -D GPS_BAUD_RATE =9600
124+ -D PIN_GPS_EN =GPS_EN
125+ -D AUTO_OFF_MILLIS =0
126+ -D MAX_CONTACTS =350
127+ -D MAX_GROUP_CHANNELS =40
128+ -D BLE_PIN_CODE =123456
129+ -D OFFLINE_QUEUE_SIZE =256
130+ -D UI_RECENT_LIST_SIZE =9
131+ -D AUTO_SHUTDOWN_MILLIVOLTS =3300
132+ build_src_filter = ${nrf52_base.build_src_filter}
133+ +<helpers/*.cpp>
134+ +<TechoBoard.cpp>
135+ +<helpers/sensors/EnvironmentSensorManager.cpp>
136+ +<helpers/ui/MomentaryButton.cpp>
137+ +<../variants/lilygo_techo_lite>
138+ +<helpers/nrf52/SerialBLEInterface.cpp>
139+ +<../examples/companion_radio/*.cpp>
140+ lib_deps =
141+ ${LilyGo_T-Echo-Lite.lib_deps}
142+ densaugeo/base64 @ ~1.4.0
0 commit comments