mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Refactor environment names and build flags for RAK variants
This commit is contained in:
parent
bcb7a8067e
commit
fcfbb458f8
4 changed files with 21 additions and 39 deletions
|
|
@ -3,6 +3,7 @@ extends = stm32_base
|
|||
board = rak3172
|
||||
board_upload.maximum_size = 229376 ; 32kb for FS
|
||||
build_flags = ${stm32_base.build_flags}
|
||||
-D RAK_3X72
|
||||
-D RADIO_CLASS=CustomSTM32WLx
|
||||
-D WRAPPER_CLASS=CustomSTM32WLxWrapper
|
||||
-D SPI_INTERFACES_COUNT=0
|
||||
|
|
@ -13,7 +14,7 @@ build_flags = ${stm32_base.build_flags}
|
|||
build_src_filter = ${stm32_base.build_src_filter}
|
||||
+<../variants/rak3x72>
|
||||
|
||||
[env:rak3x72_repeater]
|
||||
[env:RAK_3x72_repeater]
|
||||
extends = rak3x72
|
||||
build_flags = ${rak3x72.build_flags}
|
||||
-D ADVERT_NAME='"RAK3x72 Repeater"'
|
||||
|
|
@ -22,7 +23,7 @@ build_flags = ${rak3x72.build_flags}
|
|||
build_src_filter = ${rak3x72.build_src_filter}
|
||||
+<../examples/simple_repeater/*.cpp>
|
||||
|
||||
[env:rak3x72_sensor]
|
||||
[env:RAK_3x72_sensor]
|
||||
extends = rak3x72
|
||||
build_flags = ${rak3x72.build_flags}
|
||||
-D ADVERT_NAME='"RAK3x72 Sensor"'
|
||||
|
|
@ -30,7 +31,7 @@ build_flags = ${rak3x72.build_flags}
|
|||
build_src_filter = ${rak3x72.build_src_filter}
|
||||
+<../examples/simple_sensor>
|
||||
|
||||
[env:rak3x72_companion_radio_usb]
|
||||
[env:RAK_3x72_companion_radio_usb]
|
||||
extends = rak3x72
|
||||
build_flags = ${rak3x72.build_flags}
|
||||
; -D FORMAT_FS=true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue