boards/sim/windows: enable custom options
1. boards/sim: enable child status 2. boards/sim/windows: enable custom options 3. sim/windows: enable hostfs Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
parent
86609246e3
commit
415a09115d
1
Kconfig
1
Kconfig
@ -2004,6 +2004,7 @@ endchoice # Optimization Level
|
||||
|
||||
config DEBUG_OPTLEVEL
|
||||
string "Custom Optimization Level"
|
||||
default "/O2" if HOST_WINDOWS
|
||||
default "-O2"
|
||||
depends on DEBUG_CUSTOMOPT
|
||||
---help---
|
||||
|
@ -98,7 +98,7 @@ config ARCH_SIM
|
||||
select ARCH_HAVE_TICKLESS
|
||||
select ARCH_HAVE_POWEROFF
|
||||
select ARCH_HAVE_TESTSET
|
||||
select ARCH_HAVE_VFORK
|
||||
select ARCH_HAVE_VFORK if !HOST_WINDOWS
|
||||
select ARCH_HAVE_SETJMP
|
||||
select ARCH_HAVE_CUSTOMOPT
|
||||
select ARCH_SETJMP_H
|
||||
|
@ -12,12 +12,16 @@ CONFIG_ARCH_CHIP="sim"
|
||||
CONFIG_ARCH_FLOAT_H=y
|
||||
CONFIG_ARCH_SIM=y
|
||||
CONFIG_BOARDCTL_POWEROFF=y
|
||||
CONFIG_BOARD_LATE_INITIALIZE=y
|
||||
CONFIG_BUILTIN=y
|
||||
CONFIG_DEBUG_CUSTOMOPT=y
|
||||
CONFIG_DEV_LOOP=y
|
||||
CONFIG_DEV_ZERO=y
|
||||
CONFIG_EXAMPLES_HELLO=y
|
||||
CONFIG_FS_HOSTFS=y
|
||||
CONFIG_FS_PROCFS=y
|
||||
CONFIG_FS_TMPFS=y
|
||||
CONFIG_HOST_WINDOWS=y
|
||||
CONFIG_HOST_X86=y
|
||||
CONFIG_IDLETHREAD_STACKSIZE=4096
|
||||
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||
@ -39,8 +43,13 @@ CONFIG_NET_UDP_WRITE_BUFFERS=y
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
CONFIG_NSH_READLINE=y
|
||||
CONFIG_PREALLOC_CHILDSTATUS=2
|
||||
CONFIG_SCHED_CHILD_STATUS=y
|
||||
CONFIG_SCHED_HAVE_PARENT=y
|
||||
CONFIG_SCHED_HPWORK=y
|
||||
CONFIG_SCHED_LPWORK=y
|
||||
CONFIG_SCHED_WAITPID=y
|
||||
CONFIG_SIM_HOSTFS=y
|
||||
CONFIG_SIM_STACKSIZE_ADJUSTMENT=10240
|
||||
CONFIG_SYSTEM_NSH=y
|
||||
CONFIG_SYSTEM_PING=y
|
||||
|
Loading…
Reference in New Issue
Block a user