🔧 chore: update tiny_relay platformio.ini configuration

- Add ADVERT_LAT and ADVERT_LON definitions for both repeater and sensor variants
- Set MAX_NEIGHBOURS to 50 for improved network capacity
- Fix repeater build source filter path to include entire directory
This commit is contained in:
csrutil
2025-09-29 07:48:26 +08:00
parent b92d9bd972
commit fc0cf5f370

View File

@@ -19,15 +19,21 @@ build_src_filter = ${stm32_base.build_src_filter}
extends = Tiny_Relay
build_flags = ${Tiny_Relay.build_flags}
-D ADVERT_NAME='"tiny_relay Repeater"'
-D ADVERT_LAT=0.0
-D ADVERT_LON=0.0
-D ADMIN_PASSWORD='"password"'
-D MAX_NEIGHBOURS=50
build_src_filter = ${Tiny_Relay.build_src_filter}
+<../examples/simple_repeater/main.cpp>
+<../examples/simple_repeater>
[env:Tiny_Relay_sensor]
extends = Tiny_Relay
build_flags = ${Tiny_Relay.build_flags}
-D ADVERT_NAME='"tiny_relay Sensor"'
-D ADVERT_LAT=0.0
-D ADVERT_LON=0.0
-D ADMIN_PASSWORD='"password"'
-D MAX_NEIGHBOURS=50
build_src_filter = ${Tiny_Relay.build_src_filter}
+<../examples/simple_sensor>