firmware: debug/test build profiles with real behavioural differences

This commit is contained in:
Lars Nolden
2026-09-01 11:23:28 +02:00
parent 31c7aa7d02
commit c835c62172
9 changed files with 133 additions and 13 deletions
+27
View File
@@ -0,0 +1,27 @@
menu "wM-Bus repeater"
config WMBUS_VERBOSE_DEFAULT
bool "Verbose diagnostics enabled at boot"
default n
help
Emit dropped-frame reasons, suppressed duplicates, rx_ready timing
and unexpected-IRQ events by default. Can always be toggled at
runtime with "set verbose 0|1".
config WMBUS_TX_DIAG_ALWAYS
bool "Always emit tx_diag after every transmission"
default n
help
Logs polled IRQ state, DIO1 level, chip mode and device errors for
every TX. Useful when bringing up a new board revision; adds one
serial line per repeat, which perturbs timing measurements.
config WMBUS_LOG_RAW_FRAMES
bool "Include raw frame hex in wmbus_rx / wmbus_tx events"
default y
help
Required by the HIL correlator to compare bytes against the SDR.
Disable only for a quiet production-style build; doing so makes
hil/correlate.py unable to match frames.
endmenu