This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit 5341a2fc9207963f488d292d8f07383dd015f8c8 Author: Alan Carvalho de Assis <[email protected]> AuthorDate: Wed May 27 10:32:54 2026 -0300 system/nxinit: Add final event Add the final event option to the Kconfig Signed-off-by: Alan C. Assis <[email protected]> --- system/nxinit/Kconfig | 7 +++++++ system/nxinit/init.c | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/system/nxinit/Kconfig b/system/nxinit/Kconfig index b701124a3..382984371 100644 --- a/system/nxinit/Kconfig +++ b/system/nxinit/Kconfig @@ -73,6 +73,13 @@ config SYSTEM_NXINIT_ACTION_MANAGER_EVENT_MAX ... }; ``` +config SYSTEM_NXINIT_FINALINIT + bool "Enable NXInit final event" + default n + --help-- + Enable support to run the "final" event. Currently only "boot", + and "init" event are enabled by default, where "netinit" and + "final" are optional. comment "NXInit Service" diff --git a/system/nxinit/init.c b/system/nxinit/init.c index e7824a419..8a88c63d9 100644 --- a/system/nxinit/init.c +++ b/system/nxinit/init.c @@ -198,8 +198,7 @@ int main(int argc, FAR char *argv[]) init_action_add_event(&am, "netinit"); #endif -#ifdef CONFIG_BOARDCTL_FINALINIT - boardctl(BOARDIOC_FINALINIT, 0); +#ifdef CONFIG_SYSTEM_NXINIT_FINALINIT init_action_add_event(&am, "finalinit"); #endif
