boards: stm32h7: nucleo-h743zi2: add watchdog#9303
Conversation
| #ifdef CONFIG_STM32_IWDG | ||
| /* Initialize the watchdog timer */ | ||
|
|
||
| stm32_iwdginitialize("/dev/watchdog0", STM32_LSI_FREQUENCY); |
There was a problem hiding this comment.
@slorquet you can try the built-in watchdog monitor instead:
https://github.com/apache/nuttx/blob/master/drivers/timers/Kconfig#L395-L464
There was a problem hiding this comment.
Why do so? I need to control which task resets the watchdog.
There was a problem hiding this comment.
Followup: I did that and it works.
However, it ENTIRELY masks why I got stack corruption at context switch when trying to create a kthread like I wanted to contribute. This is still worrying.
|
Contributing to nuttx is painful, specifically because of all these board tests that test canned config and miss new features. |
I tend to agree. Things are not as much fun as the old days. But with so many committers and personal with absolute authority, I think we as a group of 50 or contributors need the discipline of strict process to keep things from degenerating into chaos. |
|
Surely there are reasonable reasons for this. It will limit me to critical contributions I can't avoid. Because I dont have spoons to spend beautifying pull requests when a workaround has been found. |
Summary
Add a config to test the stm32h7 watchdog
Impact
None
Testing
Builds and run