mirror of
https://github.com/apache/nuttx.git
synced 2026-10-03 04:07:55 +00:00
fdcan_dumpregs() printed the Rx FIFO 0 and Tx buffer configuration registers (RXF0C, TXBC) but not their live status counterparts (RXF0S, TXFQS), and did not print the Rx FIFO 1 configuration or status registers (RXF1C, RXF1S) at all. Add the missing RXF1C configuration line and the RXF0S, RXF1S, and TXFQS status lines so every configured FIFO/buffer's fill-level state is visible alongside its configuration, matching the existing dump grouping. Convert fdcan_dumpregs() from printf() to ninfo(), matching the logging convention already used elsewhere in this file (ninfo/nerr), per upstream review feedback. Compile-tested: boards/arm/stm32h7/nucleo-h743zi2/configs/socketcan with CONFIG_STM32_FDCAN_REGDEBUG=y, CONFIG_DEBUG_INFO=y. Assisted-by: Claude:claude-sonnet-4.5 Signed-off-by: jsanchez-2g <jsanchez@2g-eng.com> |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| CMakeLists.txt | ||
| Kconfig | ||