Rename SerialBridge to RS232Bridge

This commit is contained in:
João Brázio 2025-09-05 11:28:40 +01:00
parent 375093f78d
commit 5843a12c71
No known key found for this signature in database
GPG key ID: 56A1490716A324DD
6 changed files with 46 additions and 38 deletions

View file

@ -59,13 +59,14 @@ 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=5
-D BRIDGE_OVER_SERIAL_TX=6
-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
build_src_filter = ${Heltec_lora32_v3.build_src_filter}
+<helpers/ui/SSD1306Display.cpp>
+<helpers/bridges/RS232Bridge.cpp>
+<../examples/simple_repeater>
lib_deps =
${Heltec_lora32_v3.lib_deps}
@ -217,12 +218,13 @@ 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=5
-D BRIDGE_OVER_SERIAL_TX=6
-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
build_src_filter = ${Heltec_lora32_v3.build_src_filter}
+<helpers/bridges/RS232Bridge.cpp>
+<../examples/simple_repeater>
lib_deps =
${Heltec_lora32_v3.lib_deps}

View file

@ -68,6 +68,7 @@ lib_deps =
extends = LilyGo_TLora_V2_1_1_6
build_src_filter = ${LilyGo_TLora_V2_1_1_6.build_src_filter}
+<helpers/ui/SSD1306Display.cpp>
+<helpers/bridges/RS232Bridge.cpp>
+<../examples/simple_repeater>
build_flags =
${LilyGo_TLora_V2_1_1_6.build_flags}
@ -76,9 +77,9 @@ 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=34
-D BRIDGE_OVER_SERIAL_TX=25
-D WITH_RS232_BRIDGE=Serial2
-D WITH_RS232_BRIDGE_RX=34
-D WITH_RS232_BRIDGE_TX=25
-D MESH_PACKET_LOGGING=1
; -D MESH_DEBUG=1
; -D CORE_DEBUG_LEVEL=3

View file

@ -48,12 +48,13 @@ 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 WITH_RS232_BRIDGE=Serial2
-D WITH_RS232_BRIDGE_RX=9
-D WITH_RS232_BRIDGE_TX=8
-D MESH_PACKET_LOGGING=1
; -D MESH_DEBUG=1
build_src_filter = ${waveshare_rp2040_lora.build_src_filter}
+<helpers/bridges/RS232Bridge.cpp>
+<../examples/simple_repeater>
[env:waveshare_rp2040_lora_room_server]