This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 1e2204ce65b Documentation/nxinit: add shutdown and unknown
1e2204ce65b is described below
commit 1e2204ce65b99f053be44f4fa5914e1fa5daaa62
Author: wangjianyu3 <[email protected]>
AuthorDate: Thu Nov 5 10:32:30 2026 +0800
Documentation/nxinit: add shutdown and unknown
List "shutdown" for a power-off soft reset and "unknown" for an
unrecognized soft-reset subreason, matching NXInit's resetflag[] table.
Assisted-by: OpenCode:mimo-v2.6-pro
Signed-off-by: wangjianyu3 <[email protected]>
---
Documentation/applications/system/nxinit/index.rst | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/applications/system/nxinit/index.rst
b/Documentation/applications/system/nxinit/index.rst
index 1b7f4407c6f..0a270fc4935 100644
--- a/Documentation/applications/system/nxinit/index.rst
+++ b/Documentation/applications/system/nxinit/index.rst
@@ -167,7 +167,9 @@ NXInit sets the following built-in properties on its own:
2. A single soft-reset reason string, for software-triggered resets
(``BOARDIOC_RESETCAUSE_CPU_SOFT``): ``reboot``, ``assert``,
``kernel_panic``, ``bootloader``, ``recovery``, ``factory_reset``,
- ``factory_reset_inquiry``, ``thermal``.
+ ``factory_reset_inquiry``, ``thermal``, ``shutdown``, ``unknown``.
+ ``shutdown`` stands for a power-off soft reset, and ``unknown`` for
+ a subreason NXInit does not recognize.
Since the property is matched with ``fnmatch`` and alternatives can be
separated with ``|``, a trigger can match on the cause, the subreason, or