Skip to content

Commit f9f1c2e

Browse files
authored
Merge pull request #673 from 446564/t1000e-roles
add remaining roles to t1000e
2 parents 3f5c772 + 789629f commit f9f1c2e

File tree

1 file changed

+60
-1
lines changed

1 file changed

+60
-1
lines changed

variants/t1000-e/platformio.ini

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,65 @@ 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+
build_src_filter = ${t1000-e.build_src_filter}
51+
+<../examples/simple_repeater>
52+
lib_deps = ${t1000-e.lib_deps}
53+
stevemarple/MicroNMEA @ ^2.0.6
54+
55+
[env:t1000e_room_server]
56+
extends = t1000-e
57+
build_flags = ${t1000-e.build_flags}
58+
-I examples/companion_radio/ui-orig
59+
-D ADVERT_NAME='"t1000-e Room"'
60+
-D ADVERT_LAT=0.0
61+
-D ADVERT_LON=0.0
62+
-D ADMIN_PASSWORD='"password"'
63+
-D ROOM_PASSWORD='"hello"'
64+
; -D MESH_PACKET_LOGGING=1
65+
; -D MESH_DEBUG=1
66+
-D RX_BOOSTED_GAIN=true
67+
-D RF_SWITCH_TABLE
68+
build_src_filter = ${t1000-e.build_src_filter}
69+
+<../examples/simple_room_server>
70+
lib_deps = ${t1000-e.lib_deps}
71+
stevemarple/MicroNMEA @ ^2.0.6
72+
73+
[env:t1000e_companion_radio_usb]
74+
extends = t1000-e
75+
build_flags = ${t1000-e.build_flags}
76+
-I examples/companion_radio/ui-orig
77+
-D MAX_CONTACTS=100
78+
-D MAX_GROUP_CHANNELS=8
79+
; -D MESH_PACKET_LOGGING=1
80+
; -D MESH_DEBUG=1
81+
-D OFFLINE_QUEUE_SIZE=256
82+
-D RX_BOOSTED_GAIN=true
83+
-D RF_SWITCH_TABLE
84+
-D DISPLAY_CLASS=NullDisplayDriver
85+
-D PIN_BUZZER=25
86+
-D PIN_BUZZER_EN=37 ; P1/5 - required for T1000-E
87+
build_src_filter = ${t1000-e.build_src_filter}
88+
+<helpers/ui/buzzer.cpp>
89+
+<../examples/companion_radio/*.cpp>
90+
+<../examples/companion_radio/ui-orig/*.cpp>
91+
lib_deps = ${t1000-e.lib_deps}
92+
densaugeo/base64 @ ~1.4.0
93+
stevemarple/MicroNMEA @ ^2.0.6
94+
end2endzone/NonBlockingRTTTL@^1.3.0
95+
3796
[env:t1000e_companion_radio_ble]
3897
extends = t1000-e
3998
build_flags = ${t1000-e.build_flags}
@@ -58,4 +117,4 @@ build_src_filter = ${t1000-e.build_src_filter}
58117
lib_deps = ${t1000-e.lib_deps}
59118
densaugeo/base64 @ ~1.4.0
60119
stevemarple/MicroNMEA @ ^2.0.6
61-
end2endzone/NonBlockingRTTTL@^1.3.0
120+
end2endzone/NonBlockingRTTTL@^1.3.0

0 commit comments

Comments
 (0)