mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
835a2a8801
wdog_notifier() will be called in _assert to keep the crash scene as mush as possible, which is useful for debug. But once disable the watchdog, the hardware watchdog can not reboot the system too. If a crash happened in the _assert (e.g. the tcb sp has been corrupted, system will crash again in tack stack dump), system will crashing forever and can not reboot. So add a config to disable this feature by default and can be enable if anyone need it. Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>