From fcd8236e245740270d775df4037a5c221d988a15 Mon Sep 17 00:00:00 2001 From: chao an Date: Fri, 29 Nov 2024 14:30:22 +0800 Subject: [PATCH] sim/nsh: enable SIM_HOSTFS by default hostfs will allow developers to access the current execution directory. nsh> ls /: bin/ data/ dev/ etc/ proc/ tmp/ nsh> cd /data nsh> ls /data: README.md fs/ pass1/ cmake/ arch/ Signed-off-by: chao an --- boards/sim/sim/sim/configs/nsh/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boards/sim/sim/sim/configs/nsh/defconfig b/boards/sim/sim/sim/configs/nsh/defconfig index 891491ca46..cea8bd4d1e 100644 --- a/boards/sim/sim/sim/configs/nsh/defconfig +++ b/boards/sim/sim/sim/configs/nsh/defconfig @@ -31,6 +31,7 @@ CONFIG_FAT_LCNAMES=y CONFIG_FAT_LFN=y CONFIG_FS_BINFS=y CONFIG_FS_FAT=y +CONFIG_FS_HOSTFS=y CONFIG_FS_PROCFS=y CONFIG_FS_RAMMAP=y CONFIG_FS_ROMFS=y @@ -61,6 +62,7 @@ CONFIG_SCHED_BACKTRACE=y CONFIG_SCHED_EVENTS=y CONFIG_SCHED_HAVE_PARENT=y CONFIG_SCHED_WAITPID=y +CONFIG_SIM_HOSTFS=y CONFIG_SIM_WALLTIME_SIGNAL=y CONFIG_START_MONTH=6 CONFIG_START_YEAR=2008