icicle/configs: Update some configs

- Remove the annoying color terminal for nsh target
- Add SHMFS for nsh and pnsh
- Increase stack user and kernel sizes for kernel mode
This commit is contained in:
Ville Juven 2023-01-26 14:21:50 +02:00 committed by Xiang Xiao
parent 2466c07aa3
commit 0bebb94923
3 changed files with 7 additions and 10 deletions

View File

@ -21,7 +21,7 @@ CONFIG_ARCH_DATA_VBASE=0xC0000000
CONFIG_ARCH_HEAP_NPAGES=0 CONFIG_ARCH_HEAP_NPAGES=0
CONFIG_ARCH_HEAP_VBASE=0x00000000 CONFIG_ARCH_HEAP_VBASE=0x00000000
CONFIG_ARCH_INTERRUPTSTACK=2048 CONFIG_ARCH_INTERRUPTSTACK=2048
CONFIG_ARCH_KERNEL_STACKSIZE=2048 CONFIG_ARCH_KERNEL_STACKSIZE=4096
CONFIG_ARCH_PGPOOL_MAPPING=y CONFIG_ARCH_PGPOOL_MAPPING=y
CONFIG_ARCH_PGPOOL_PBASE=0x80400000 CONFIG_ARCH_PGPOOL_PBASE=0x80400000
CONFIG_ARCH_PGPOOL_SIZE=4194304 CONFIG_ARCH_PGPOOL_SIZE=4194304
@ -45,9 +45,9 @@ CONFIG_DEBUG_FULLOPT=y
CONFIG_DEBUG_INFO=y CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_SYMBOLS=y CONFIG_DEBUG_SYMBOLS=y
CONFIG_DEBUG_WARN=y CONFIG_DEBUG_WARN=y
CONFIG_DEFAULT_TASK_STACKSIZE=4096
CONFIG_DEV_ZERO=y CONFIG_DEV_ZERO=y
CONFIG_ELF=y CONFIG_ELF=y
CONFIG_ELF_STACKSIZE=4096
CONFIG_EXAMPLES_HELLO=y CONFIG_EXAMPLES_HELLO=y
CONFIG_EXPERIMENTAL=y CONFIG_EXPERIMENTAL=y
CONFIG_FS_PROCFS=y CONFIG_FS_PROCFS=y
@ -62,7 +62,7 @@ CONFIG_LIBCXX=y
CONFIG_LIBCXXABI=y CONFIG_LIBCXXABI=y
CONFIG_LIBC_EXECFUNCS=y CONFIG_LIBC_EXECFUNCS=y
CONFIG_LIBC_HOSTNAME="icicle" CONFIG_LIBC_HOSTNAME="icicle"
CONFIG_LIBC_MAX_EXITFUNS=2 CONFIG_LIBC_MAX_EXITFUNS=16
CONFIG_LIBC_PERROR_STDOUT=y CONFIG_LIBC_PERROR_STDOUT=y
CONFIG_LIBC_STRERROR=y CONFIG_LIBC_STRERROR=y
CONFIG_LIBM=y CONFIG_LIBM=y
@ -74,15 +74,11 @@ CONFIG_MPFS_ENABLE_DPFPU=y
CONFIG_MPFS_ROMFS_MOUNT=y CONFIG_MPFS_ROMFS_MOUNT=y
CONFIG_MPFS_UART1=y CONFIG_MPFS_UART1=y
CONFIG_NSH_ARCHINIT=y CONFIG_NSH_ARCHINIT=y
CONFIG_NSH_DISABLE_IFUPDOWN=y
CONFIG_NSH_DISABLE_MKDIR=y
CONFIG_NSH_DISABLE_RM=y
CONFIG_NSH_DISABLE_RMDIR=y
CONFIG_NSH_DISABLE_UMOUNT=y
CONFIG_NSH_FILE_APPS=y CONFIG_NSH_FILE_APPS=y
CONFIG_NSH_LINELEN=160 CONFIG_NSH_LINELEN=160
CONFIG_NSH_STRERROR=y CONFIG_NSH_STRERROR=y
CONFIG_PREALLOC_TIMERS=4 CONFIG_PREALLOC_TIMERS=4
CONFIG_PSEUDOFS_SOFTLINKS=y
CONFIG_RAM_SIZE=2097152 CONFIG_RAM_SIZE=2097152
CONFIG_RAM_START=0x80200000 CONFIG_RAM_START=0x80200000
CONFIG_RAW_BINARY=y CONFIG_RAW_BINARY=y

View File

@ -30,6 +30,7 @@ CONFIG_DEV_ZERO=y
CONFIG_EXPERIMENTAL=y CONFIG_EXPERIMENTAL=y
CONFIG_FS_PROCFS=y CONFIG_FS_PROCFS=y
CONFIG_FS_ROMFS=y CONFIG_FS_ROMFS=y
CONFIG_FS_SHMFS=y
CONFIG_IDLETHREAD_STACKSIZE=2048 CONFIG_IDLETHREAD_STACKSIZE=2048
CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INIT_ENTRYPOINT="nsh_main"
CONFIG_INIT_STACKSIZE=3072 CONFIG_INIT_STACKSIZE=3072
@ -64,9 +65,7 @@ CONFIG_SERIAL_NPOLLWAITERS=2
CONFIG_STACK_COLORATION=y CONFIG_STACK_COLORATION=y
CONFIG_START_MONTH=4 CONFIG_START_MONTH=4
CONFIG_START_YEAR=2021 CONFIG_START_YEAR=2021
CONFIG_SYSLOG_COLOR_OUTPUT=y
CONFIG_SYSTEM_CLE_CMD_HISTORY=y CONFIG_SYSTEM_CLE_CMD_HISTORY=y
CONFIG_SYSTEM_COLOR_CLE=y
CONFIG_SYSTEM_NSH=y CONFIG_SYSTEM_NSH=y
CONFIG_SYSTEM_TIME64=y CONFIG_SYSTEM_TIME64=y
CONFIG_TASK_NAME_SIZE=20 CONFIG_TASK_NAME_SIZE=20

View File

@ -34,6 +34,7 @@ CONFIG_EXAMPLES_HELLO=y
CONFIG_EXPERIMENTAL=y CONFIG_EXPERIMENTAL=y
CONFIG_FS_PROCFS=y CONFIG_FS_PROCFS=y
CONFIG_FS_ROMFS=y CONFIG_FS_ROMFS=y
CONFIG_FS_SHMFS=y
CONFIG_IDLETHREAD_STACKSIZE=2048 CONFIG_IDLETHREAD_STACKSIZE=2048
CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INIT_ENTRYPOINT="nsh_main"
CONFIG_INIT_STACKSIZE=3072 CONFIG_INIT_STACKSIZE=3072
@ -63,6 +64,7 @@ CONFIG_RAW_BINARY=y
CONFIG_READLINE_CMD_HISTORY=y CONFIG_READLINE_CMD_HISTORY=y
CONFIG_READLINE_TABCOMPLETION=y CONFIG_READLINE_TABCOMPLETION=y
CONFIG_RR_INTERVAL=200 CONFIG_RR_INTERVAL=200
CONFIG_SCHED_HAVE_PARENT=y
CONFIG_SCHED_HPWORK=y CONFIG_SCHED_HPWORK=y
CONFIG_SCHED_LPWORK=y CONFIG_SCHED_LPWORK=y
CONFIG_SCHED_WAITPID=y CONFIG_SCHED_WAITPID=y