mpfs/knsh: Add C++ support

Increase the kernel stack size to 2K because it overflows when executing
dtors.
This commit is contained in:
Ville Juven 2022-05-24 13:49:58 +03:00 committed by Alan Carvalho de Assis
parent 864f43b562
commit 5782fc46f5
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,7 @@ CONFIG_ARCH_DATA_VBASE=0xC0000000
CONFIG_ARCH_HEAP_NPAGES=0
CONFIG_ARCH_HEAP_VBASE=0x00000000
CONFIG_ARCH_INTERRUPTSTACK=2048
CONFIG_ARCH_KERNEL_STACKSIZE=2048
CONFIG_ARCH_PGPOOL_MAPPING=y
CONFIG_ARCH_PGPOOL_PBASE=0x80200000
CONFIG_ARCH_PGPOOL_SIZE=4194304
@ -49,6 +50,7 @@ CONFIG_EXAMPLES_HELLO=y
CONFIG_EXPERIMENTAL=y
CONFIG_FS_PROCFS=y
CONFIG_FS_ROMFS=y
CONFIG_HAVE_CXX=y
CONFIG_IDLETHREAD_STACKSIZE=2048
CONFIG_INIT_STACKSIZE=3072
CONFIG_INTELHEX_BINARY=y
@ -91,4 +93,5 @@ CONFIG_SYSTEM_CLE_CMD_HISTORY=y
CONFIG_SYSTEM_NSH=y
CONFIG_SYSTEM_NSH_PROGNAME="init"
CONFIG_SYSTEM_TIME64=y
CONFIG_TESTING_CXXTEST=y
CONFIG_UART1_SERIAL_CONSOLE=y