Refactor serial bridge handling

This commit is contained in:
João Brázio committed 2025-07-09 11:03:35 +01:00
1 parent 6d6396c589
commit 9e342de490
5 files changed
+147 -93

No files matched your search

+16 -3
View File
@@ -35,14 +35,27 @@ build_flags = ${waveshare_rp2040_lora.build_flags}
-D ADVERT_LON=0.0
-D ADMIN_PASSWORD='"password"'
-D MAX_NEIGHBOURS=8
; -D BRIDGE_OVER_SERIAL=Serial2
; -D BRIDGE_OVER_SERIAL_RX=9
; -D BRIDGE_OVER_SERIAL_TX=8
; -D MESH_PACKET_LOGGING=1
; -D MESH_DEBUG=1
build_src_filter = ${waveshare_rp2040_lora.build_src_filter}
+<../examples/simple_repeater>
[env:waveshare_rp2040_lora_Bridge]
extends = waveshare_rp2040_lora
build_flags = ${waveshare_rp2040_lora.build_flags}
-D ADVERT_NAME='"RP2040-LoRa Bridge"'
-D ADVERT_LAT=0.0
-D ADVERT_LON=0.0
-D ADMIN_PASSWORD='"password"'
-D MAX_NEIGHBOURS=8
-D BRIDGE_OVER_SERIAL=Serial2
-D BRIDGE_OVER_SERIAL_RX=9
-D BRIDGE_OVER_SERIAL_TX=8
-D MESH_PACKET_LOGGING=1
; -D MESH_DEBUG=1
build_src_filter = ${waveshare_rp2040_lora.build_src_filter}
+<../examples/simple_repeater>
[env:waveshare_rp2040_lora_room_server]
extends = waveshare_rp2040_lora
build_flags = ${waveshare_rp2040_lora.build_flags}