This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit b2085723be5cc8d205c61068489d35023b18f216 Author: Liam Howatt <[email protected]> AuthorDate: Mon Aug 17 12:36:14 2026 -0400 boards/stm32h5/nucleo-h563zi: initialize iwdg during bringup. Initialize IWDG at /dev/watchdog0 when CONFIG_STM32_IWDG. Signed-off-by: Liam Howatt <[email protected]> --- boards/arm/stm32h5/nucleo-h563zi/src/stm32_bringup.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/boards/arm/stm32h5/nucleo-h563zi/src/stm32_bringup.c b/boards/arm/stm32h5/nucleo-h563zi/src/stm32_bringup.c index 4139cb487f9..eb2cd7e53d4 100644 --- a/boards/arm/stm32h5/nucleo-h563zi/src/stm32_bringup.c +++ b/boards/arm/stm32h5/nucleo-h563zi/src/stm32_bringup.c @@ -38,6 +38,10 @@ #include <arch/board/board.h> +#ifdef CONFIG_STM32_IWDG +# include "stm32_wdg.h" +#endif + /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ @@ -61,6 +65,12 @@ int stm32_bringup(void) { int ret; +#ifdef CONFIG_STM32_IWDG + /* Initialize the watchdog timer */ + + stm32_iwdginitialize("/dev/watchdog0", STM32_LSI_FREQUENCY); +#endif + #ifdef CONFIG_FS_PROCFS /* Mount the procfs file system */
