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 <anchao@lixiang.com>
This commit is contained in:
chao an 2024-11-29 14:30:22 +08:00 committed by Alin Jerpelea
parent d89f22eb98
commit fcd8236e24

View file

@ -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