|
|
|
@ -182,15 +182,15 @@ build_flags = ${esp32_base.build_flags} |
|
|
|
-D SX126X_DIO2_AS_RF_SWITCH=true |
|
|
|
-D SX126X_DIO3_TCXO_VOLTAGE=1.8 |
|
|
|
-D SX126X_CURRENT_LIMIT=130 |
|
|
|
-D RADIO_CLASS=CustomSX1262 |
|
|
|
-D WRAPPER_CLASS=CustomSX1262Wrapper |
|
|
|
-D LORA_TX_POWER=22 |
|
|
|
|
|
|
|
[env:Xiao_S3_WIO_Repeater] |
|
|
|
extends = Xiao_S3_WIO |
|
|
|
build_src_filter = ${Xiao_S3_WIO.build_src_filter} +<../examples/simple_repeater/main.cpp> |
|
|
|
build_flags = |
|
|
|
${Xiao_S3_WIO.build_flags} |
|
|
|
-D RADIO_CLASS=CustomSX1262 |
|
|
|
-D WRAPPER_CLASS=CustomSX1262Wrapper |
|
|
|
-D LORA_TX_POWER=22 |
|
|
|
-D ADVERT_NAME="\"XiaoS3 Repeater\"" |
|
|
|
-D ADVERT_LAT=-37.0 |
|
|
|
-D ADVERT_LON=145.0 |
|
|
|
@ -201,6 +201,20 @@ lib_deps = |
|
|
|
${Xiao_S3_WIO.lib_deps} |
|
|
|
adafruit/RTClib @ ^2.1.3 |
|
|
|
|
|
|
|
[env:Xiao_S3_WIO_terminal_chat] |
|
|
|
extends = Xiao_S3_WIO |
|
|
|
build_flags = |
|
|
|
${Xiao_S3_WIO.build_flags} |
|
|
|
-D MAX_CONTACTS=100 |
|
|
|
-D MAX_GROUP_CHANNELS=1 |
|
|
|
; -D MESH_PACKET_LOGGING=1 |
|
|
|
; -D MESH_DEBUG=1 |
|
|
|
build_src_filter = ${Xiao_S3_WIO.build_src_filter} +<../examples/simple_secure_chat/main.cpp> |
|
|
|
lib_deps = |
|
|
|
${Xiao_S3_WIO.lib_deps} |
|
|
|
adafruit/RTClib @ ^2.1.3 |
|
|
|
densaugeo/base64 @ ~1.4.0 |
|
|
|
|
|
|
|
; ----------------- NRF52 --------------------- |
|
|
|
[nrf52_base] |
|
|
|
extends = arduino_base |
|
|
|
|