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.git

commit 54213a13b340eb73aa15ef52ad2a48e03ce94c4d
Author: raul_chen <[email protected]>
AuthorDate: Thu Jul 16 15:01:57 2026 +0800

    boards/arm/ameba: enable CONFIG_SCHED_WAITPID in nsh defconfigs
    
    Without SCHED_WAITPID, NSH cannot waitpid() on a spawned builtin 
application,
    so every foreground builtin (e.g. wapi) is run in the background and NSH 
echoes
    "<cmd> [pid:priority]" instead of blocking until it finishes.  Enable
    CONFIG_SCHED_WAITPID (the setting used by the large majority of nsh 
defconfigs)
    so foreground builtins run synchronously with a correct exit status and no
    spurious [pid:priority] echo.
    
    Assisted-by: Claude Code:claude-opus-4-8
    Signed-off-by: raul_chen <[email protected]>
---
 boards/arm/rtl8720f/rtl8720f_evb/configs/nsh/defconfig | 1 +
 boards/arm/rtl8721dx/pke8721daf/configs/nsh/defconfig  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/boards/arm/rtl8720f/rtl8720f_evb/configs/nsh/defconfig 
b/boards/arm/rtl8720f/rtl8720f_evb/configs/nsh/defconfig
index f5a19d5f619..6b05e3fe9a4 100644
--- a/boards/arm/rtl8720f/rtl8720f_evb/configs/nsh/defconfig
+++ b/boards/arm/rtl8720f/rtl8720f_evb/configs/nsh/defconfig
@@ -73,6 +73,7 @@ CONFIG_RTL8720F_WIFI=y
 CONFIG_SCHED_HPWORK=y
 CONFIG_SCHED_HPWORKPRIORITY=192
 CONFIG_SCHED_LPWORK=y
+CONFIG_SCHED_WAITPID=y
 CONFIG_STACK_COLORATION=y
 CONFIG_START_DAY=16
 CONFIG_START_MONTH=6
diff --git a/boards/arm/rtl8721dx/pke8721daf/configs/nsh/defconfig 
b/boards/arm/rtl8721dx/pke8721daf/configs/nsh/defconfig
index 7ff53c25adb..34a2bafc439 100644
--- a/boards/arm/rtl8721dx/pke8721daf/configs/nsh/defconfig
+++ b/boards/arm/rtl8721dx/pke8721daf/configs/nsh/defconfig
@@ -73,6 +73,7 @@ CONFIG_RTL8721DX_WIFI=y
 CONFIG_SCHED_HPWORK=y
 CONFIG_SCHED_HPWORKPRIORITY=192
 CONFIG_SCHED_LPWORK=y
+CONFIG_SCHED_WAITPID=y
 CONFIG_STACK_COLORATION=y
 CONFIG_START_DAY=16
 CONFIG_START_MONTH=6

Reply via email to