File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ build_flags = ${esp32_base.build_flags}
1313 -D P_LORA_SCLK =7
1414 -D P_LORA_MISO =8
1515 -D P_LORA_MOSI =9
16+ -D PIN_USER_BTN =21
17+ -D PIN_STATUS_LED =48
1618 -D SX126X_DIO2_AS_RF_SWITCH =true
1719 -D SX126X_DIO3_TCXO_VOLTAGE =1.8
1820 -D SX126X_CURRENT_LIMIT =130
@@ -105,3 +107,25 @@ build_src_filter = ${Xiao_S3_WIO.build_src_filter}
105107lib_deps =
106108 ${Xiao_S3_WIO.lib_deps}
107109 densaugeo/base64 @ ~1.4.0
110+
111+ [env:Xiao_S3_WIO_expansion_companion_radio_ble]
112+ extends = Xiao_S3_WIO
113+ build_flags =
114+ ${Xiao_S3_WIO.build_flags}
115+ -D MAX_CONTACTS =100
116+ -D MAX_GROUP_CHANNELS =8
117+ -D BLE_PIN_CODE =123456
118+ -D DISPLAY_CLASS =SSD1306Display
119+ ; -D BLE_DEBUG_LOGGING=1
120+ ; -D ENABLE_PRIVATE_KEY_IMPORT=1
121+ ; -D ENABLE_PRIVATE_KEY_EXPORT=1
122+ ; -D MESH_PACKET_LOGGING=1
123+ ; -D MESH_DEBUG=1
124+ build_src_filter = ${Xiao_S3_WIO.build_src_filter}
125+ +<helpers/ui/SSD1306Display.cpp>
126+ +<helpers/esp32/*.cpp>
127+ +<../examples/companion_radio>
128+ lib_deps =
129+ ${Xiao_S3_WIO.lib_deps}
130+ densaugeo/base64 @ ~1.4.0
131+ adafruit/Adafruit SSD1306 @ ^2.5.13
Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ AutoDiscoverRTCClock rtc_clock(fallback_clock);
2222bool radio_init () {
2323 fallback_clock.begin ();
2424 rtc_clock.begin (Wire);
25-
25+ pinMode (21 , INPUT);
26+ pinMode (48 , OUTPUT);
27+
2628#ifdef SX126X_DIO3_TCXO_VOLTAGE
2729 float tcxo = SX126X_DIO3_TCXO_VOLTAGE;
2830#else
You can’t perform that action at this time.
0 commit comments