xiaoxiang781216 commented on code in PR #16303:
URL: https://github.com/apache/nuttx/pull/16303#discussion_r2072772987
##
arch/arm/src/sama5/sam_systemreset.c:
##
@@ -35,13 +35,63 @@
#include "arm_internal.h"
#include "hardware/sam_rstc.h"
+#include "sam_systemreset.h"
#i
TimJTi commented on code in PR #16303:
URL: https://github.com/apache/nuttx/pull/16303#discussion_r2072681120
##
arch/arm/src/sama5/sam_systemreset.c:
##
@@ -35,13 +35,63 @@
#include "arm_internal.h"
#include "hardware/sam_rstc.h"
+#include "sam_systemreset.h"
#ifdef CONF
TimJTi commented on code in PR #16303:
URL: https://github.com/apache/nuttx/pull/16303#discussion_r2072388141
##
arch/arm/src/sama5/sam_systemreset.c:
##
@@ -35,13 +35,63 @@
#include "arm_internal.h"
#include "hardware/sam_rstc.h"
+#include "sam_systemreset.h"
#ifdef CONF
TimJTi commented on code in PR #16303:
URL: https://github.com/apache/nuttx/pull/16303#discussion_r2072365026
##
arch/arm/src/sama5/sam_systemreset.c:
##
@@ -35,13 +35,63 @@
#include "arm_internal.h"
#include "hardware/sam_rstc.h"
+#include "sam_systemreset.h"
#ifdef CONF
xiaoxiang781216 commented on code in PR #16303:
URL: https://github.com/apache/nuttx/pull/16303#discussion_r2072301214
##
arch/arm/src/sama5/sam_systemreset.c:
##
@@ -35,13 +35,63 @@
#include "arm_internal.h"
#include "hardware/sam_rstc.h"
+#include "sam_systemreset.h"
#i
nuttxpr commented on PR #16303:
URL: https://github.com/apache/nuttx/pull/16303#issuecomment-2847202403
[**\[Experimental Bot, please feedback
here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues)
Yes, this PR appears to meet the basic NuttX requiremen
TimJTi opened a new pull request, #16303:
URL: https://github.com/apache/nuttx/pull/16303
## Summary
This adds the necessary code and function to allow a board to determine the
reason for a reset. This is useful in NXboot, for example.
## Impact
This function has not exi