Skip to content

Commit c10b387

Browse files
committed
add remaining roles to t1000e
usb companion, repeater and room server
1 parent 0959e64 commit c10b387

File tree

1 file changed

+62
-1
lines changed

1 file changed

+62
-1
lines changed

variants/t1000-e/platformio.ini

Lines changed: 62 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,67 @@ build_src_filter = ${nrf52840_t1000e.build_src_filter}
3434
debug_tool = jlink
3535
upload_protocol = nrfutil
3636

37+
[env:t1000e_repeater]
38+
extends = t1000-e
39+
build_flags = ${t1000-e.build_flags}
40+
-I examples/companion_radio/ui-orig
41+
-D ADVERT_NAME='"t1000-e Repeater"'
42+
-D ADVERT_LAT=0.0
43+
-D ADVERT_LON=0.0
44+
-D ADMIN_PASSWORD='"password"'
45+
-D MAX_NEIGHBOURS=8
46+
; -D MESH_PACKET_LOGGING=1
47+
; -D MESH_DEBUG=1
48+
-D RX_BOOSTED_GAIN=true
49+
-D RF_SWITCH_TABLE
50+
-D DISPLAY_CLASS=NullDisplayDriver
51+
build_src_filter = ${t1000-e.build_src_filter}
52+
+<../examples/simple_repeater>
53+
lib_deps = ${t1000-e.lib_deps}
54+
stevemarple/MicroNMEA @ ^2.0.6
55+
56+
[env:t1000e_room_server]
57+
extends = t1000-e
58+
build_flags = ${t1000-e.build_flags}
59+
-I examples/companion_radio/ui-orig
60+
-D ADVERT_NAME='"t1000-e Room"'
61+
-D ADVERT_LAT=0.0
62+
-D ADVERT_LON=0.0
63+
-D ADMIN_PASSWORD='"password"'
64+
-D ROOM_PASSWORD='"hello"'
65+
; -D MESH_PACKET_LOGGING=1
66+
; -D MESH_DEBUG=1
67+
-D RX_BOOSTED_GAIN=true
68+
-D RF_SWITCH_TABLE
69+
-D DISPLAY_CLASS=NullDisplayDriver
70+
build_src_filter = ${t1000-e.build_src_filter}
71+
+<../examples/simple_room_server>
72+
lib_deps = ${t1000-e.lib_deps}
73+
stevemarple/MicroNMEA @ ^2.0.6
74+
75+
[env:t1000e_companion_radio_usb]
76+
extends = t1000-e
77+
build_flags = ${t1000-e.build_flags}
78+
-I examples/companion_radio/ui-orig
79+
-D MAX_CONTACTS=100
80+
-D MAX_GROUP_CHANNELS=8
81+
; -D MESH_PACKET_LOGGING=1
82+
; -D MESH_DEBUG=1
83+
-D OFFLINE_QUEUE_SIZE=256
84+
-D RX_BOOSTED_GAIN=true
85+
-D RF_SWITCH_TABLE
86+
-D DISPLAY_CLASS=NullDisplayDriver
87+
-D PIN_BUZZER=25
88+
-D PIN_BUZZER_EN=37 ; P1/5 - required for T1000-E
89+
build_src_filter = ${t1000-e.build_src_filter}
90+
+<helpers/ui/buzzer.cpp>
91+
+<../examples/companion_radio/*.cpp>
92+
+<../examples/companion_radio/ui-orig/*.cpp>
93+
lib_deps = ${t1000-e.lib_deps}
94+
densaugeo/base64 @ ~1.4.0
95+
stevemarple/MicroNMEA @ ^2.0.6
96+
end2endzone/NonBlockingRTTTL@^1.3.0
97+
3798
[env:t1000e_companion_radio_ble]
3899
extends = t1000-e
39100
build_flags = ${t1000-e.build_flags}
@@ -58,4 +119,4 @@ build_src_filter = ${t1000-e.build_src_filter}
58119
lib_deps = ${t1000-e.lib_deps}
59120
densaugeo/base64 @ ~1.4.0
60121
stevemarple/MicroNMEA @ ^2.0.6
61-
end2endzone/NonBlockingRTTTL@^1.3.0
122+
end2endzone/NonBlockingRTTTL@^1.3.0

0 commit comments

Comments
 (0)