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 94ffa9c9234 boards/esp32c3-devkit/dropbear: enable SCHED_HAVE_PARENT
94ffa9c9234 is described below

commit 94ffa9c9234c8b671aceeba03765df5505741431
Author: Felipe Moura <[email protected]>
AuthorDate: Sat Jul 18 14:46:27 2026 -0300

    boards/esp32c3-devkit/dropbear: enable SCHED_HAVE_PARENT
    
    Dropbear's NSH PTY session reaps the child task with waitpid() and needs
    CONFIG_SCHED_CHILD_STATUS, which depends on SCHED_HAVE_PARENT.  The
    netutils/dropbear Kconfig now depends on SCHED_HAVE_PARENT and selects
    SCHED_CHILD_STATUS (apache/nuttx-apps#3648); set SCHED_HAVE_PARENT here so
    the dropbear defconfig stays consistent and the session no longer fails
    with ECHILD after authentication.
    
    Signed-off-by: Felipe Moura <[email protected]>
---
 boards/risc-v/esp32c3/esp32c3-devkit/configs/dropbear/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/configs/dropbear/defconfig 
b/boards/risc-v/esp32c3/esp32c3-devkit/configs/dropbear/defconfig
index f6df7341487..f6be9e8628f 100644
--- a/boards/risc-v/esp32c3/esp32c3-devkit/configs/dropbear/defconfig
+++ b/boards/risc-v/esp32c3/esp32c3-devkit/configs/dropbear/defconfig
@@ -73,6 +73,7 @@ CONFIG_PSEUDOTERM_TXBUFSIZE=2048
 CONFIG_PTHREAD_MUTEX_TYPES=y
 CONFIG_RR_INTERVAL=200
 CONFIG_SCHED_BACKTRACE=y
+CONFIG_SCHED_HAVE_PARENT=y
 CONFIG_SCHED_LPWORK=y
 CONFIG_SCHED_WAITPID=y
 CONFIG_SIG_DEFAULT=y

Reply via email to