mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Rename RS232 bridge environments and update build flags for Serial1 and Serial2
This commit is contained in:
parent
eafbd85d17
commit
baedddb25d
1 changed files with 26 additions and 25 deletions
|
|
@ -45,29 +45,7 @@ build_src_filter = ${rak4631.build_src_filter}
|
||||||
+<helpers/ui/SSD1306Display.cpp>
|
+<helpers/ui/SSD1306Display.cpp>
|
||||||
+<../examples/simple_repeater>
|
+<../examples/simple_repeater>
|
||||||
|
|
||||||
[env:RAK_4631_repeater_bridge_rs232_tx0_rx0]
|
[env:RAK_4631_repeater_bridge_rs232_serial1]
|
||||||
extends = rak4631
|
|
||||||
build_flags =
|
|
||||||
${rak4631.build_flags}
|
|
||||||
-D DISPLAY_CLASS=SSD1306Display
|
|
||||||
-D ADVERT_NAME='"RS232 Bridge"'
|
|
||||||
-D ADVERT_LAT=0.0
|
|
||||||
-D ADVERT_LON=0.0
|
|
||||||
-D ADMIN_PASSWORD='"password"'
|
|
||||||
-D MAX_NEIGHBOURS=50
|
|
||||||
-D WITH_RS232_BRIDGE=Serial2
|
|
||||||
-D WITH_RS232_BRIDGE_RX=19
|
|
||||||
-D WITH_RS232_BRIDGE_TX=20
|
|
||||||
; -D BRIDGE_DEBUG=1
|
|
||||||
; -D MESH_PACKET_LOGGING=1
|
|
||||||
; -D MESH_DEBUG=1
|
|
||||||
; -D CORE_DEBUG_LEVEL=3
|
|
||||||
build_src_filter = ${rak4631.build_src_filter}
|
|
||||||
+<helpers/ui/SSD1306Display.cpp>
|
|
||||||
+<helpers/bridges/RS232Bridge.cpp>
|
|
||||||
+<../examples/simple_repeater>
|
|
||||||
|
|
||||||
[env:RAK_4631_repeater_bridge_rs232_tx1_rx1]
|
|
||||||
extends = rak4631
|
extends = rak4631
|
||||||
build_flags =
|
build_flags =
|
||||||
${rak4631.build_flags}
|
${rak4631.build_flags}
|
||||||
|
|
@ -78,8 +56,31 @@ build_flags =
|
||||||
-D ADMIN_PASSWORD='"password"'
|
-D ADMIN_PASSWORD='"password"'
|
||||||
-D MAX_NEIGHBOURS=50
|
-D MAX_NEIGHBOURS=50
|
||||||
-D WITH_RS232_BRIDGE=Serial1
|
-D WITH_RS232_BRIDGE=Serial1
|
||||||
-D WITH_RS232_BRIDGE_RX=15
|
-D WITH_RS232_BRIDGE_RX=PIN_SERIAL1_RX
|
||||||
-D WITH_RS232_BRIDGE_TX=16
|
-D WITH_RS232_BRIDGE_TX=PIN_SERIAL1_TX
|
||||||
|
-UENV_INCLUDE_GPS
|
||||||
|
; -D BRIDGE_DEBUG=1
|
||||||
|
; -D MESH_PACKET_LOGGING=1
|
||||||
|
; -D MESH_DEBUG=1
|
||||||
|
; -D CORE_DEBUG_LEVEL=3
|
||||||
|
build_src_filter = ${rak4631.build_src_filter}
|
||||||
|
+<helpers/ui/SSD1306Display.cpp>
|
||||||
|
+<helpers/bridges/RS232Bridge.cpp>
|
||||||
|
+<../examples/simple_repeater>
|
||||||
|
|
||||||
|
[env:RAK_4631_repeater_bridge_rs232_serial2]
|
||||||
|
extends = rak4631
|
||||||
|
build_flags =
|
||||||
|
${rak4631.build_flags}
|
||||||
|
-D DISPLAY_CLASS=SSD1306Display
|
||||||
|
-D ADVERT_NAME='"RS232 Bridge"'
|
||||||
|
-D ADVERT_LAT=0.0
|
||||||
|
-D ADVERT_LON=0.0
|
||||||
|
-D ADMIN_PASSWORD='"password"'
|
||||||
|
-D MAX_NEIGHBOURS=50
|
||||||
|
-D WITH_RS232_BRIDGE=Serial2
|
||||||
|
-D WITH_RS232_BRIDGE_RX=PIN_SERIAL2_RX
|
||||||
|
-D WITH_RS232_BRIDGE_TX=PIN_SERIAL2_TX
|
||||||
; -D BRIDGE_DEBUG=1
|
; -D BRIDGE_DEBUG=1
|
||||||
; -D MESH_PACKET_LOGGING=1
|
; -D MESH_PACKET_LOGGING=1
|
||||||
; -D MESH_DEBUG=1
|
; -D MESH_DEBUG=1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue