slorquet commented on code in PR #9303:
URL: https://github.com/apache/nuttx/pull/9303#discussion_r1196133083


##########
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:
   Followup: I did that and that 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.



##########
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:
   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.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to