Skip to content

Commit 94ffa9c

Browse files
FelipeMdeOxiaoxiang781216
authored andcommitted
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 <moura.fmo@gmail.com>
1 parent 5b0dd20 commit 94ffa9c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • boards/risc-v/esp32c3/esp32c3-devkit/configs/dropbear

boards/risc-v/esp32c3/esp32c3-devkit/configs/dropbear/defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ CONFIG_PSEUDOTERM_TXBUFSIZE=2048
7373
CONFIG_PTHREAD_MUTEX_TYPES=y
7474
CONFIG_RR_INTERVAL=200
7575
CONFIG_SCHED_BACKTRACE=y
76+
CONFIG_SCHED_HAVE_PARENT=y
7677
CONFIG_SCHED_LPWORK=y
7778
CONFIG_SCHED_WAITPID=y
7879
CONFIG_SIG_DEFAULT=y

0 commit comments

Comments
 (0)