From 8a7a7035b3cbfdc59091abdae70eaf8507de0522 Mon Sep 17 00:00:00 2001 From: wgzAIIT <820906721@qq.com> Date: Tue, 22 Mar 2022 17:11:31 +0800 Subject: [PATCH] set CONFIG_SCHED_WAITPID=y for disable the application is put into the background for execution --- .../Nuttx/aiit_board/imxrt1052-ok/configs/libcxxtest/defconfig | 1 + .../Nuttx/aiit_board/imxrt1052-ok/configs/netnsh/defconfig | 1 + Ubiquitous/Nuttx/aiit_board/imxrt1052-ok/configs/nsh/defconfig | 2 ++ 3 files changed, 4 insertions(+) diff --git a/Ubiquitous/Nuttx/aiit_board/imxrt1052-ok/configs/libcxxtest/defconfig b/Ubiquitous/Nuttx/aiit_board/imxrt1052-ok/configs/libcxxtest/defconfig index a417efe5d..9c24bd419 100644 --- a/Ubiquitous/Nuttx/aiit_board/imxrt1052-ok/configs/libcxxtest/defconfig +++ b/Ubiquitous/Nuttx/aiit_board/imxrt1052-ok/configs/libcxxtest/defconfig @@ -36,6 +36,7 @@ CONFIG_NSH_READLINE=y CONFIG_RAM_SIZE=536870912 CONFIG_RAM_START=0x20200000 CONFIG_SCHED_CPULOAD=y +CONFIG_SCHED_WAITPID=y CONFIG_START_DAY=14 CONFIG_START_MONTH=3 CONFIG_SYSTEM_NSH=y diff --git a/Ubiquitous/Nuttx/aiit_board/imxrt1052-ok/configs/netnsh/defconfig b/Ubiquitous/Nuttx/aiit_board/imxrt1052-ok/configs/netnsh/defconfig index b3998028a..b0986eb9d 100644 --- a/Ubiquitous/Nuttx/aiit_board/imxrt1052-ok/configs/netnsh/defconfig +++ b/Ubiquitous/Nuttx/aiit_board/imxrt1052-ok/configs/netnsh/defconfig @@ -56,6 +56,7 @@ CONFIG_NSH_READLINE=y CONFIG_RAM_SIZE=524288 CONFIG_RAM_START=0x20200000 CONFIG_SCHED_LPWORK=y +CONFIG_SCHED_WAITPID=y CONFIG_START_DAY=14 CONFIG_START_MONTH=3 CONFIG_SYSTEM_NSH=y diff --git a/Ubiquitous/Nuttx/aiit_board/imxrt1052-ok/configs/nsh/defconfig b/Ubiquitous/Nuttx/aiit_board/imxrt1052-ok/configs/nsh/defconfig index 3d682848c..001dbabd2 100644 --- a/Ubiquitous/Nuttx/aiit_board/imxrt1052-ok/configs/nsh/defconfig +++ b/Ubiquitous/Nuttx/aiit_board/imxrt1052-ok/configs/nsh/defconfig @@ -20,6 +20,7 @@ CONFIG_ARMV7M_USEBASEPRI=y CONFIG_BOARD_LOOPSPERMSEC=104926 CONFIG_BUILTIN=y CONFIG_CLOCK_MONOTONIC=y +CONFIG_EXAMPLES_HELLO=y CONFIG_FS_PROCFS=y CONFIG_IDLETHREAD_STACKSIZE=2048 CONFIG_IMXRT_LPUART1=y @@ -33,6 +34,7 @@ CONFIG_NSH_LINELEN=64 CONFIG_NSH_READLINE=y CONFIG_RAM_SIZE=524288 CONFIG_RAM_START=0x20200000 +CONFIG_SCHED_WAITPID=y CONFIG_START_DAY=14 CONFIG_START_MONTH=3 CONFIG_SYSTEM_NSH=y