You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "xiaoxiang781216 (via GitHub)" <gi...@apache.org> on 2023/05/17 02:23:22 UTC
[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #9303: Nucleo watchdog
xiaoxiang781216 commented on code in PR #9303:
URL: https://github.com/apache/nuttx/pull/9303#discussion_r1195859242
##########
boards/arm/stm32h7/nucleo-h743zi2/src/stm32_bringup.c:
##########
@@ -96,6 +96,21 @@ int stm32_bringup(void)
}
#endif
+#ifdef CONFIG_STM32_IWDG
+ /* Initialize the watchdog timer */
+
+ stm32_iwdginitialize("/dev/watchdog0", STM32_LSI_FREQUENCY);
Review Comment:
@slorquet you can try the built-in watchdog monitor instead:
https://github.com/apache/nuttx/blob/master/drivers/timers/Kconfig#L395-L464
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org