mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 00:34:10 +08:00
b7fd8a268d
Add support for handling non-maskable interrupts (NMI) on TriCore platforms. The NMI trap handler `tricore_nmitrap()` is provided as a weak function that prints diagnostic information and invokes a panic with register context. The main trap dispatcher will invoke `tricore_nmitrap` when an NMI trap class is detected. This change improves diagnostics when watchdog-induced NMIs or other non-maskable exceptions occur during runtime. Signed-off-by: yukangzhi <yukangzhi@xiaomi.com>