This is an automated email from the ASF dual-hosted git repository.

casaroli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 21f8a719761c7bab26c40e6dbe48320228e28ca1
Author: wangshaoxin <[email protected]>
AuthorDate: Mon Nov 2 22:46:51 2026 +0800

    include/sys/boardctl.h: add BOARDIOC_SOFTRESETCAUSE_POWEROFF
    
    Add a soft reset subreason for a power off request, so that a remote
    core can be told that its peer is powering off rather than rebooting.
    
    Signed-off-by: wangshaoxin <[email protected]>
---
 include/sys/boardctl.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/sys/boardctl.h b/include/sys/boardctl.h
index d38e9bc2f9a..ede5c91c3cf 100644
--- a/include/sys/boardctl.h
+++ b/include/sys/boardctl.h
@@ -428,7 +428,8 @@ enum boardioc_softreset_subreason_e
   BOARDIOC_SOFTRESETCAUSE_ENTER_RECOVERY,
   BOARDIOC_SOFTRESETCAUSE_RESTORE_FACTORY,
   BOARDIOC_SOFTRESETCAUSE_RESTORE_FACTORY_INQUIRY,
-  BOARDIOC_SOFTRESETCAUSE_THERMAL
+  BOARDIOC_SOFTRESETCAUSE_THERMAL,
+  BOARDIOC_SOFTRESETCAUSE_POWEROFF
 };
 
 struct boardioc_reset_cause_s

Reply via email to