mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Refactor serial bridge handling
This commit is contained in:
parent
97b51900f8
commit
04042e3ca0
5 changed files with 147 additions and 93 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue