Repository navigation
Expand file tree
/
Copy pathfeatures.toml
More file actions
614 lines (477 loc) · 16.1 KB
/
Copy pathfeatures.toml
File metadata and controls
614 lines (477 loc) · 16.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
# SPDX-License-Identifier: MIT
# Copyright (c) 2026 The RadioFoundry Authors
#
# The feature checklist (tests/hil/README.md, "Bring-up mode"): one table per feature, never a column per radio. The
# tests say which feature they check (@pytest.mark.feature("<id>")), so this file lists no tests. A radio's state for
# each feature is resolved by tools/bringup.py from its build data and the [features.<id>] overrides of its
# board.toml, so a new radio adds nothing here. The build data are the switch defaults, BOARD_UNSUPPORTED (the
# hardware can't) and BOARD_NOT_WRITTEN (the code isn't written for the radio yet): docs/build-config.md,
# "Unsupported, not written, unconfirmed". tools/bringup.py check (tools/ci.sh) fails when a switch of
# config/features.mk has no entry or a test marks a feature this file doesn't have.
#
# [feature.<id>] the id: stable, snake case, what the tests' feature markers name
# switch the CONFIG_ switch without the prefix; left out for a feature without one
# requires for a feature without a switch that is part of another's (DMR data within DMR): that switch. Where a
# board leaves it out (n/a, not written, off), the feature follows it instead of being required
# hardware what the switch needs that some radios physically lack. tools/boards.py check fails on a board
# that neither builds the switch by default nor lists it with the reason in BOARD_UNSUPPORTED or
# BOARD_NOT_WRITTEN (or, while the fact isn't known, in board.toml [hardware] unconfirmed): never
# "off by default"
# spec the doc that defines the feature
# source paths whose change makes a recorded result stale (default: the files and directories the
# Makefile builds for the switch, else the files that test CONFIG_<switch>; the spec always counts)
# planned_tests required tests not written yet, by node id (listed, not gating, until they exist)
# manual steps a person does for the feature that no single test asks for (a test's own steps are on its
# marker: @pytest.mark.feature("<id>", owner="..."))
# ── Radio and voice ──
[feature.fm]
switch = "FM"
spec = "docs/spec/radio-features.md"
source = ["core/radio", "drivers/rf", "hal/hal_radio.h", "hal/hal_audio.h"]
[feature.ref_trim]
switch = "REF_TRIM"
hardware = "a reference oscillator the board can trim (hal_radio_t.ref_trim)"
spec = "docs/spec/radio-features.md"
[feature.subtone]
switch = "SUBTONE"
spec = "docs/spec/radio-features.md"
[feature.fm_tx_tones]
switch = "FM_TX_TONES"
spec = "docs/spec/radio-features.md"
[feature.tone_burst_key]
spec = "docs/spec/radio-features.md"
source = ["core/input", "core/ui/ui_menus.c", "core/ui/ui_svc_storage.c", "core/radio", "core/debuglink"]
[feature.dtmf]
switch = "DTMF"
spec = "docs/spec/radio-features.md"
[feature.vox]
switch = "VOX"
spec = "docs/spec/radio-features.md"
[feature.battery_save]
switch = "BATTERY_SAVE"
spec = "docs/spec/radio-features.md"
[feature.am_rx]
switch = "AM_RX"
hardware = "an AM-capable receiver for the air band"
spec = "docs/spec/airband-and-broadcast.md"
[feature.bcast_fm]
switch = "BCAST_FM"
hardware = "a broadcast FM receiver"
spec = "docs/spec/airband-and-broadcast.md"
[feature.rx_ext]
switch = "RX_EXT"
hardware = "a receiver chip whose documents give a range past the rated bands"
spec = "docs/spec/radio-features.md"
# P25 brings the air interface, the full-rate voice decoder and the MBE core (derived switches AIR, IMBE, MBE)
[feature.p25]
switch = "P25"
spec = "docs/spec/p25.md"
source = ["core/p25", "core/radio/radio_p25.c", "core/radio/radio_p25.h", "core/air", "core/fec", "core/mbe",
"hal/hal_air.h", "hal/hal_baseband.h"]
[feature.p25_trunk]
switch = "P25_TRUNK"
spec = "docs/spec/p25-trunking.md"
source = ["core/p25/p25_follow.c", "core/p25/p25_tsbk.c", "core/radio/radio_p25.c"]
[feature.nxdn]
switch = "NXDN"
spec = "docs/spec/nxdn.md"
source = ["core/nxdn", "core/air", "core/fec", "core/radio/radio_nxdn.c", "core/radio/radio_nxdn.h",
"core/radio/radio_air.h", "core/debuglink/debuglink_view_nxdn.c"]
[feature.nxdn_scrambler]
switch = "NXDN_SCRAMBLER"
spec = "docs/spec/nxdn.md"
source = ["core/nxdn/nxdn_scramble.c", "core/nxdn/nxdn_call.c", "core/nxdn/nxdn_engine.c"]
[feature.mbe2400]
switch = "MBE2400"
spec = "docs/spec/mbe-2400.md"
source = ["core/mbe", "core/fec/golay.c", "core/fec/golay.h"]
[feature.dmr_voice]
switch = "DMR"
spec = "docs/spec/dmr-voice.md"
source = ["core/dmr/call", "core/dmr/ambe", "core/dmr/fec", "drivers/modem", "hal/hal_dmr_modem.h", "hal/hal_vocoder.h"]
[feature.dmr_privacy]
switch = "DMR_PRIVACY"
spec = "docs/spec/dmr-voice.md"
[feature.dmr_aes]
switch = "DMR_AES"
spec = "docs/spec/dmr-voice.md"
manual = "A receiver of another make with the same AES-256 key and key ID plays our over from key-up and when it joins after key-up, simplex and through a repeater (the missing-key refusal is test_dmr_aes.py)"
[feature.dmr_data_privacy]
requires = "DMR_PRIVACY"
# Packet data under a privacy key: the privacy header, the user data encrypted, or held back
spec = "docs/spec/dmr-data.md"
source = ["core/dmr/dmrData.c", "core/dmr/dmrDataService.c", "core/dmr/dmrPrivacy.c"]
[feature.dmr_talker_alias]
switch = "DMR_TALKER_ALIAS"
spec = "docs/spec/dmr-voice.md"
[feature.dmr_gps]
switch = "DMR_GPS"
spec = "docs/spec/dmr-voice.md"
[feature.dmr_emergency]
switch = "DMR_EMERGENCY"
spec = "docs/spec/dmr-emergency.md"
[feature.dmr_roaming]
switch = "DMR_ROAMING"
spec = "docs/spec/dmr-roaming.md"
[feature.dmr_trunk]
switch = "DMR_TRUNK"
spec = "docs/spec/dmr-trunking.md"
source = ["core/dmr/trunk", "core/radio/radio_trunk.c", "core/radio/radio_trunk.h", "core/debuglink/debuglink_t3.c"]
[feature.dmr_trunk_tx]
switch = "DMR_TRUNK_TX"
spec = "docs/spec/dmr-trunking.md"
source = ["core/dmr/trunk", "core/radio/radio_trunk.c", "core/radio/radio_trunk.h", "core/debuglink/debuglink_t3.c"]
[feature.dmr_trunk_supl]
switch = "DMR_TRUNK_SUPL"
spec = "docs/spec/dmr-trunking.md"
source = ["core/dmr/trunk", "core/radio/radio_trunk.c", "core/radio/radio_trunk.h", "core/debuglink/debuglink_t3.c"]
[feature.dmr_trunk_gw]
switch = "DMR_TRUNK_GW"
spec = "docs/spec/dmr-trunking.md"
source = ["core/dmr/trunk", "core/radio/radio_trunk.c", "core/radio/radio_trunk.h", "core/debuglink/debuglink_t3.c"]
[feature.voice_capture]
switch = "VOICE_CAPTURE"
spec = "docs/spec/debuglink.md"
[feature.dmr_signaling]
switch = "DMR_SIGNALING"
spec = "docs/spec/dmr-data.md"
[feature.vfo]
switch = "VFO"
spec = "docs/spec/dmr-voice.md"
[feature.vfo_fm]
switch = "VFO_FM"
spec = "docs/spec/dmr-voice.md"
[feature.vfo_dmr]
switch = "VFO_DMR"
spec = "docs/spec/dmr-voice.md"
[feature.channel_list]
switch = "CHANNEL_LIST"
spec = "docs/spec/ui.md"
[feature.channel_edit]
switch = "CHANNEL_EDIT"
spec = "docs/spec/ui.md"
[feature.zone_edit]
switch = "ZONE_EDIT"
spec = "docs/spec/ui.md"
[feature.contact_edit]
switch = "CONTACT_EDIT"
spec = "docs/spec/ui.md"
[feature.volume_bar]
switch = "VOLUME_BAR"
spec = "docs/spec/radio-features.md"
[feature.talkaround]
spec = "docs/spec/radio-features.md"
[feature.volume_lock]
spec = "docs/spec/radio-features.md"
[feature.key_assign]
switch = "KEY_ASSIGN"
spec = "docs/spec/ui.md"
[feature.scan]
switch = "SCAN"
spec = "docs/spec/radio-features.md"
[feature.dual_watch]
switch = "DUAL_WATCH"
spec = "docs/spec/radio-features.md"
[feature.beep]
switch = "BEEP"
spec = "docs/spec/radio-features.md"
[feature.signaling_tones]
switch = "SIG_TONES"
spec = "docs/spec/radio-features.md"
source = ["core/radio/sigtone.c", "core/radio/sigtone.h", "core/radio/beep.c", "core/radio/radio_sm.c"]
[feature.vibrate]
switch = "VIBRATE"
hardware = "a vibration motor"
spec = "docs/spec/radio-features.md"
[feature.gps]
switch = "GPS"
hardware = "a GPS receiver"
spec = "docs/spec/position.md"
source = ["hal/hal_gps.h", "drivers/gps", "platform/stm32f4/gps_uart", "platform/hrc7000/gps_hrc.c"]
[feature.satellite_tle]
switch = "SATELLITE_TLE"
spec = "docs/spec/satellite.md"
source = ["core/debuglink/debuglink_satellite.c", "core/debuglink/debuglink_view.c", "core/radio/radio_task.c",
"core/satellite", "core/ui/ui_satellite.c", "core/position/position.c",
"hal/hal_flash.h", "boards/db25d/flash_db25d.c", "boards/dm32/board.c",
"boards/dm1801pro/board.c", "boards/md380/flash_md380.c",
"boards/md9600/store_md9600.c", "boards/uv380_family/flash_uvf.c"]
# The status strip's GPS icon: none, off, searching, a fix (ui.md 3); part of GPS, no switch of its own
[feature.gps_icon]
requires = "GPS"
spec = "docs/spec/ui.md"
source = ["core/ui/ui_screens.c", "core/ui/ui_app.c"]
# The position service: built for GPS, APRS, DMR_LRRP or DMR_GPS, so it has no switch of its own
[feature.position]
spec = "docs/spec/position.md"
source = ["core/position", "core/debuglink/debuglink_position.c", "core/ui/ui_position.c"]
# ── DMR data ──
[feature.dmr_data_rx]
requires = "DMR"
spec = "docs/spec/dmr-data.md"
source = ["core/dmr/dmrData.c", "core/dmr/dmrDataService.c", "core/dmr/dmr_data_api.h"]
[feature.dmr_sms]
switch = "DMR_SMS"
spec = "docs/spec/dmr-data.md"
[feature.dmr_tms]
switch = "DMR_TMS"
spec = "docs/spec/dmr-data.md"
[feature.dmr_ars]
switch = "DMR_ARS"
spec = "docs/spec/dmr-data.md"
[feature.dmr_lrrp]
switch = "DMR_LRRP"
spec = "docs/spec/dmr-data.md"
[feature.dmr_udp_compress]
switch = "DMR_UDP_COMPRESS"
spec = "docs/spec/dmr-data.md"
[feature.dmr_confirmed]
spec = "docs/spec/dmr-data.md"
[feature.sfr]
switch = "SFR"
spec = "docs/spec/sfr.md"
[feature.sfr_dualpath_rx]
switch = "SFR_DUALPATH_RX"
spec = "docs/spec/sfr.md"
planned_tests = ["tests/hil/test_sfr_standalone.py::test_sfr_user_dualpath_rx"]
[feature.sfr_cwid]
switch = "SFR_CWID"
spec = "docs/spec/sfr.md"
[feature.aprs]
switch = "APRS"
spec = "docs/spec/aprs.md"
[feature.aprs_afsk]
switch = "APRS_AFSK"
spec = "docs/spec/aprs.md"
[feature.aprs_dmr]
switch = "APRS_DMR"
spec = "docs/spec/aprs.md"
[feature.aprs_rx]
switch = "APRS_RX"
hardware = "FM receive audio sampled by the processor (the AFSK input path)"
spec = "docs/spec/aprs.md"
[feature.aprs_mute]
requires = "APRS_RX"
spec = "docs/spec/aprs.md"
[feature.aprs_igate]
switch = "APRS_IGATE"
spec = "docs/spec/aprs.md"
[feature.gps_sky]
switch = "GPS_SKY"
hardware = "a GPS receiver"
spec = "docs/spec/position.md"
source = ["core/position/nmea_sky.c", "core/ui/ui_gps.c"]
# ── Host link and USB ──
[feature.usb]
switch = "USB"
spec = "docs/spec/usb-audio.md"
[feature.hostlink]
switch = "HOSTLINK"
spec = "docs/spec/debuglink.md"
[feature.hotspot]
switch = "HOTSPOT"
spec = "docs/spec/mmdvm-protocol.md"
source = ["core/hotspot", "core/hostlink", "docs/spec/mmdvm-protocol.md"]
[feature.split_duplex]
switch = "HOTSPOT_SPLIT"
spec = "docs/spec/split-duplex.md"
source = [
"core/dmr/bsOutbound.c",
"core/dmr/slotEpoch.c",
"core/hotspot",
"drivers/modem",
"hal/hal_dmr_modem.h",
"tools/split_duplex_host.py",
]
[feature.debuglink]
switch = "DEBUGLINK"
spec = "docs/spec/debuglink.md"
[feature.task_stacks]
switch = "TASK_STACKS"
spec = "docs/spec/debuglink.md"
[feature.cps_openfw]
switch = "CPS_OPENFW"
spec = "docs/spec/cps-protocol.md"
[feature.cps_fast]
switch = "CPS_FAST"
spec = "docs/spec/cps-fast.md"
[feature.stub_entry]
switch = "STUB_ENTRY"
spec = "docs/spec/stub-stm32f4.md"
[feature.crash_log]
switch = "CRASH_LOG"
spec = "docs/spec/crash-log.md"
[feature.crash_screen]
switch = "CRASH_SCREEN"
spec = "docs/spec/crash-log.md"
[feature.crash_report]
switch = "CRASH_REPORT"
spec = "docs/spec/crash-log.md"
[feature.watchdog]
switch = "WATCHDOG"
spec = "docs/spec/watchdog.md"
[feature.support_info]
switch = "SUPPORT_INFO"
spec = "docs/spec/support-info.md"
[feature.fault_trace]
switch = "FAULT_TRACE"
spec = "docs/spec/crash-log.md"
# ── Network ──
[feature.usb_network]
switch = "USB_NETWORK"
spec = "docs/spec/usb-network.md"
[feature.usb_serial_request]
switch = "USB_SERIAL_REQUEST"
spec = "docs/spec/usb-network.md"
[feature.dmr_ip_gateway]
switch = "DMR_IP_GATEWAY"
spec = "docs/spec/dmr-data.md"
[feature.dmr_tx_spacing]
requires = "DMR"
spec = "docs/spec/dmr-data.md"
source = ["core/dmr/dmrAirQueue.c", "core/dmr/dmrDataService.c"]
[feature.zone_share]
switch = "ZONE_SHARE"
spec = "docs/spec/zone-share.md"
[feature.dmr_control_station]
switch = "DMR_CONTROL_STATION"
spec = "docs/spec/usb-network.md"
[feature.net_tcp]
switch = "NET_TCP"
spec = "docs/spec/tcp-services.md"
[feature.net_kiss]
switch = "NET_KISS"
spec = "docs/spec/tcp-services.md"
[feature.net_http]
switch = "NET_HTTP"
spec = "docs/spec/tcp-services.md"
[feature.net_http_gzip]
switch = "NET_HTTP_GZIP"
spec = "docs/spec/tcp-services.md"
[feature.net_webctl]
switch = "NET_WEBCTL"
spec = "docs/spec/tcp-services.md"
planned_tests = ["tests/hil/test_webctl.py::test_webctl_keys_ptt_audio"]
[feature.net_rigctl]
switch = "NET_RIGCTL"
spec = "docs/spec/tcp-services.md"
[feature.net_usrp]
switch = "NET_USRP"
spec = "docs/spec/usb-audio.md"
[feature.net_aprsis]
switch = "NET_APRSIS"
spec = "docs/spec/aprs.md"
[feature.mdns]
switch = "MDNS"
spec = "docs/spec/mdns.md"
[feature.tftp]
switch = "TFTP"
spec = "docs/spec/tftp.md"
[feature.tftp_iddb]
switch = "TFTP_IDDB"
spec = "docs/spec/tftp.md"
[feature.dmr_iddb]
requires = "DMR"
# The DMR ID database a CPS writes (format N): the names the radio shows for IDs that aren't contacts
spec = "docs/spec/open-firmware-cps.md"
source = ["core/codeplug/dmr_iddb.c", "core/codeplug/dmr_iddb.h", "core/debuglink/debuglink_iddb.c"]
[feature.iddb_compact]
switch = "IDDB_COMPACT"
spec = "docs/spec/iddb-compact.md"
[feature.snmp]
switch = "SNMP"
spec = "docs/spec/snmp.md"
[feature.net_ppp]
switch = "NET_PPP"
spec = "docs/spec/ppp.md"
# ── User interface ──
[feature.ui_navigation]
spec = "docs/spec/ui.md"
source = ["core/ui", "core/input"]
# Locking the keys by hand (long QUICK, a side key set to key lock) and by auto lock, and PTT while locked
[feature.key_lock]
spec = "docs/spec/ui.md"
source = ["core/ui/ui_app.c"]
[feature.channel_knob]
spec = "docs/spec/ui.md"
source = ["drivers/input/quadrature"]
[feature.ui_settings]
switch = "UI_SETTINGS"
spec = "docs/spec/ui.md"
[feature.diag]
switch = "DIAG"
spec = "docs/spec/ui.md"
[feature.backlight_test]
switch = "BACKLIGHT_TEST"
spec = "docs/testing/backlight-curve.md"
[feature.ui_color]
switch = "UI_COLOR"
hardware = "a color display"
spec = "docs/spec/ui.md"
[feature.font_xl]
switch = "FONT_XL"
spec = "docs/spec/ui.md"
[feature.font_aa]
switch = "FONT_AA"
spec = "docs/spec/ui.md"
[feature.font_big]
switch = "FONT_BIG"
spec = "docs/spec/ui.md"
[feature.lang_es]
switch = "LANG_ES"
spec = "docs/spec/ui.md"
[feature.lang_it]
switch = "LANG_IT"
spec = "docs/spec/ui.md"
[feature.lang_fr]
switch = "LANG_FR"
spec = "docs/spec/ui.md"
[feature.lang_zh]
switch = "LANG_ZH"
spec = "docs/spec/ui.md"
[feature.cjk_glyphs]
switch = "CJK_GLYPHS"
spec = "docs/spec/ui.md"
source = ["core/ui/cjk_font.c", "core/ui/cjk_font_data.c"]
[feature.lang_default_es]
switch = "LANG_DEFAULT_ES"
spec = "docs/spec/ui.md"
[feature.lang_default_it]
switch = "LANG_DEFAULT_IT"
spec = "docs/spec/ui.md"
[feature.lang_default_fr]
switch = "LANG_DEFAULT_FR"
spec = "docs/spec/ui.md"
[feature.lang_default_zh]
switch = "LANG_DEFAULT_ZH"
spec = "docs/spec/ui.md"
# ── Radio core, storage and codec ──
[feature.radio_controls]
spec = "docs/spec/radio-features.md"
source = ["core/radio"]
[feature.settings_store]
spec = "docs/spec/settings-store.md"
source = ["core/settings", "core/storage"]
[feature.codeplug_foreign]
spec = "docs/spec/codeplug-native.md"
source = ["core/codeplug/codeplug.c"]
[feature.nand_storage]
switch = "NAND_STORAGE"
hardware = "SPI NAND data flash"
spec = "docs/spec/nand-sectors.md"
[feature.codec_check]
spec = "docs/spec/codec-placement.md"
source = ["tools/rfoundry/rfoundry"]
# ── Bench ──
[feature.air_raw]
switch = "AIR_RAW"
spec = "docs/spec/debuglink.md"
source = ["core/debuglink/debuglink_air.c", "core/debuglink/debuglink_air.h"]
[feature.debuglink_dmrip]
switch = "DEBUGLINK_DMRIP"
spec = "docs/spec/debuglink.md"
source = ["core/debuglink/debuglink_dmrip.c", "core/debuglink/dl_dmrip.c", "core/debuglink/dl_dmrip.h",
"tools/rfoundry/rfoundry/dmrip.py"]
[feature.audio_probe]
switch = "AUDIO_PROBE"
spec = "docs/spec/usb-audio.md"