Skip to content

Commit 8ac6dcb

Browse files
authored
Merge pull request #858 from csrutil/fix/tiny-relay-compile
Fix: add missing build flags for tiny_relay
2 parents b92d9bd + fc0cf5f commit 8ac6dcb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

variants/tiny_relay/platformio.ini

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,21 @@ build_src_filter = ${stm32_base.build_src_filter}
1919
extends = Tiny_Relay
2020
build_flags = ${Tiny_Relay.build_flags}
2121
-D ADVERT_NAME='"tiny_relay Repeater"'
22+
-D ADVERT_LAT=0.0
23+
-D ADVERT_LON=0.0
2224
-D ADMIN_PASSWORD='"password"'
25+
-D MAX_NEIGHBOURS=50
2326
build_src_filter = ${Tiny_Relay.build_src_filter}
24-
+<../examples/simple_repeater/main.cpp>
27+
+<../examples/simple_repeater>
2528

2629
[env:Tiny_Relay_sensor]
2730
extends = Tiny_Relay
2831
build_flags = ${Tiny_Relay.build_flags}
2932
-D ADVERT_NAME='"tiny_relay Sensor"'
33+
-D ADVERT_LAT=0.0
34+
-D ADVERT_LON=0.0
3035
-D ADMIN_PASSWORD='"password"'
36+
-D MAX_NEIGHBOURS=50
3137
build_src_filter = ${Tiny_Relay.build_src_filter}
3238
+<../examples/simple_sensor>
3339

0 commit comments

Comments
 (0)