Re: [PR] SAMA5 Add code to report the reset reason [nuttx]

2025-05-04 Thread via GitHub
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

Re: [PR] SAMA5 Add code to report the reset reason [nuttx]

2025-05-04 Thread via GitHub
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

Re: [PR] SAMA5 Add code to report the reset reason [nuttx]

2025-05-03 Thread via GitHub
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

Re: [PR] SAMA5 Add code to report the reset reason [nuttx]

2025-05-03 Thread via GitHub
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

Re: [PR] SAMA5 Add code to report the reset reason [nuttx]

2025-05-02 Thread via GitHub
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

Re: [PR] SAMA5 Add code to report the reset reason [nuttx]

2025-05-02 Thread via GitHub
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

[PR] SAMA5 Add code to report the reset reason [nuttx]

2025-05-02 Thread via GitHub
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