Add ESPNow bridge configurations for all ESP32 targets
This commit is contained in:
@@ -44,6 +44,55 @@ lib_deps =
|
||||
${Tenstar_esp32_C3.lib_deps}
|
||||
${esp32_ota.lib_deps}
|
||||
|
||||
; [env:Tenstar_C3_Repeater_sx1262_bridge_rs232]
|
||||
; extends = Tenstar_esp32_C3
|
||||
; build_src_filter = ${Tenstar_esp32_C3.build_src_filter}
|
||||
; +<helpers/bridges/RS232Bridge.cpp>
|
||||
; +<../examples/simple_repeater/main.cpp>
|
||||
; build_flags =
|
||||
; ${Tenstar_esp32_C3.build_flags}
|
||||
; -D RADIO_CLASS=CustomSX1262
|
||||
; -D WRAPPER_CLASS=CustomSX1262Wrapper
|
||||
; -D SX126X_RX_BOOSTED_GAIN=1
|
||||
; -D LORA_TX_POWER=22
|
||||
; -D ADVERT_NAME='"RS232 Bridge"'
|
||||
; -D ADVERT_LAT=0.0
|
||||
; -D ADVERT_LON=0.0
|
||||
; -D ADMIN_PASSWORD='"password"'
|
||||
; -D MAX_NEIGHBOURS=8
|
||||
; -D WITH_RS232_BRIDGE=Serial2
|
||||
; -D WITH_RS232_BRIDGE_RX=5
|
||||
; -D WITH_RS232_BRIDGE_TX=6
|
||||
; ; -D MESH_PACKET_LOGGING=1
|
||||
; ; -D MESH_DEBUG=1
|
||||
; lib_deps =
|
||||
; ${Tenstar_esp32_C3.lib_deps}
|
||||
; ${esp32_ota.lib_deps}
|
||||
|
||||
[env:Tenstar_C3_Repeater_sx1262_bridge_espnow]
|
||||
extends = Tenstar_esp32_C3
|
||||
build_src_filter = ${Tenstar_esp32_C3.build_src_filter}
|
||||
+<helpers/bridges/ESPNowBridge.cpp>
|
||||
+<../examples/simple_repeater/main.cpp>
|
||||
build_flags =
|
||||
${Tenstar_esp32_C3.build_flags}
|
||||
-D RADIO_CLASS=CustomSX1262
|
||||
-D WRAPPER_CLASS=CustomSX1262Wrapper
|
||||
-D SX126X_RX_BOOSTED_GAIN=1
|
||||
-D LORA_TX_POWER=22
|
||||
-D ADVERT_NAME='"ESPNow Bridge"'
|
||||
-D ADVERT_LAT=0.0
|
||||
-D ADVERT_LON=0.0
|
||||
-D ADMIN_PASSWORD='"password"'
|
||||
-D MAX_NEIGHBOURS=8
|
||||
-D WITH_ESPNOW_BRIDGE=1
|
||||
-D WITH_ESPNOW_BRIDGE_SECRET='"shared-secret"'
|
||||
; -D MESH_PACKET_LOGGING=1
|
||||
; -D MESH_DEBUG=1
|
||||
lib_deps =
|
||||
${Tenstar_esp32_C3.lib_deps}
|
||||
${esp32_ota.lib_deps}
|
||||
|
||||
[env:Tenstar_C3_Repeater_sx1268]
|
||||
extends = Tenstar_esp32_C3
|
||||
build_src_filter = ${Tenstar_esp32_C3.build_src_filter}
|
||||
@@ -63,3 +112,50 @@ build_flags =
|
||||
lib_deps =
|
||||
${Tenstar_esp32_C3.lib_deps}
|
||||
${esp32_ota.lib_deps}
|
||||
|
||||
; [env:Tenstar_C3_Repeater_sx1268_bridge_rs232]
|
||||
; extends = Tenstar_esp32_C3
|
||||
; build_src_filter = ${Tenstar_esp32_C3.build_src_filter}
|
||||
; +<helpers/bridges/RS232Bridge.cpp>
|
||||
; +<../examples/simple_repeater/main.cpp>
|
||||
; build_flags =
|
||||
; ${Tenstar_esp32_C3.build_flags}
|
||||
; -D RADIO_CLASS=CustomSX1268
|
||||
; -D WRAPPER_CLASS=CustomSX1268Wrapper
|
||||
; -D LORA_TX_POWER=22
|
||||
; -D ADVERT_NAME='"RS232 Bridge"'
|
||||
; -D ADVERT_LAT=0.0
|
||||
; -D ADVERT_LON=0.0
|
||||
; -D ADMIN_PASSWORD='"password"'
|
||||
; -D MAX_NEIGHBOURS=8
|
||||
; -D WITH_RS232_BRIDGE=Serial2
|
||||
; -D WITH_RS232_BRIDGE_RX=5
|
||||
; -D WITH_RS232_BRIDGE_TX=6
|
||||
; ; -D MESH_PACKET_LOGGING=1
|
||||
; ; -D MESH_DEBUG=1
|
||||
; lib_deps =
|
||||
; ${Tenstar_esp32_C3.lib_deps}
|
||||
; ${esp32_ota.lib_deps}
|
||||
|
||||
[env:Tenstar_C3_Repeater_sx1268_bridge_espnow]
|
||||
extends = Tenstar_esp32_C3
|
||||
build_src_filter = ${Tenstar_esp32_C3.build_src_filter}
|
||||
+<helpers/bridges/ESPNowBridge.cpp>
|
||||
+<../examples/simple_repeater/main.cpp>
|
||||
build_flags =
|
||||
${Tenstar_esp32_C3.build_flags}
|
||||
-D RADIO_CLASS=CustomSX1268
|
||||
-D WRAPPER_CLASS=CustomSX1268Wrapper
|
||||
-D LORA_TX_POWER=22
|
||||
-D ADVERT_NAME='"ESPNow Bridge"'
|
||||
-D ADVERT_LAT=0.0
|
||||
-D ADVERT_LON=0.0
|
||||
-D ADMIN_PASSWORD='"password"'
|
||||
-D MAX_NEIGHBOURS=8
|
||||
-D WITH_ESPNOW_BRIDGE=1
|
||||
-D WITH_ESPNOW_BRIDGE_SECRET='"shared-secret"'
|
||||
; -D MESH_PACKET_LOGGING=1
|
||||
; -D MESH_DEBUG=1
|
||||
lib_deps =
|
||||
${Tenstar_esp32_C3.lib_deps}
|
||||
${esp32_ota.lib_deps}
|
||||
|
||||
Reference in New Issue
Block a user