Rename RS232 bridge environments

This commit is contained in:
João Brázio
2025-09-07 21:46:51 +01:00
parent 5b9d11ac8f
commit 04e70829a4
3 changed files with 54 additions and 11 deletions

View File

@@ -40,10 +40,10 @@ build_flags = ${waveshare_rp2040_lora.build_flags}
build_src_filter = ${waveshare_rp2040_lora.build_src_filter}
+<../examples/simple_repeater>
[env:waveshare_rp2040_lora_repeater_bridge]
[env:waveshare_rp2040_lora_repeater_bridge_rs232]
extends = waveshare_rp2040_lora
build_flags = ${waveshare_rp2040_lora.build_flags}
-D ADVERT_NAME='"RP2040-LoRa Bridge"'
-D ADVERT_NAME='"RS232 Bridge"'
-D ADVERT_LAT=0.0
-D ADVERT_LON=0.0
-D ADMIN_PASSWORD='"password"'
@@ -51,7 +51,7 @@ build_flags = ${waveshare_rp2040_lora.build_flags}
-D WITH_RS232_BRIDGE=Serial2
-D WITH_RS232_BRIDGE_RX=9
-D WITH_RS232_BRIDGE_TX=8
-D MESH_PACKET_LOGGING=1
; -D MESH_PACKET_LOGGING=1
; -D MESH_DEBUG=1
build_src_filter = ${waveshare_rp2040_lora.build_src_filter}
+<helpers/bridges/RS232Bridge.cpp>