From d088a48da45f106a95827385f5fad92d9d7220e3 Mon Sep 17 00:00:00 2001 From: Ville Juven Date: Fri, 18 Nov 2022 13:43:20 +0200 Subject: [PATCH] mpfs/knsh: Enable SHM for MPFS kernel mode build --- boards/risc-v/mpfs/icicle/configs/knsh/defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/boards/risc-v/mpfs/icicle/configs/knsh/defconfig b/boards/risc-v/mpfs/icicle/configs/knsh/defconfig index e6e909be93..0993cf09c3 100644 --- a/boards/risc-v/mpfs/icicle/configs/knsh/defconfig +++ b/boards/risc-v/mpfs/icicle/configs/knsh/defconfig @@ -27,6 +27,8 @@ CONFIG_ARCH_PGPOOL_PBASE=0x80400000 CONFIG_ARCH_PGPOOL_SIZE=4194304 CONFIG_ARCH_PGPOOL_VBASE=0x80400000 CONFIG_ARCH_RISCV=y +CONFIG_ARCH_SHM_NPAGES=4096 +CONFIG_ARCH_SHM_VBASE=0xFF000000 CONFIG_ARCH_STACKDUMP=y CONFIG_ARCH_TEXT_NPAGES=0 CONFIG_ARCH_TEXT_VBASE=0x00000000 @@ -49,6 +51,7 @@ CONFIG_ELF_STACKSIZE=4096 CONFIG_EXAMPLES_HELLO=y CONFIG_EXPERIMENTAL=y CONFIG_FS_PROCFS=y +CONFIG_FS_PROCFS_EXCLUDE_ENVIRON=y CONFIG_FS_ROMFS=y CONFIG_HAVE_CXX=y CONFIG_IDLETHREAD_STACKSIZE=2048 @@ -65,6 +68,7 @@ CONFIG_LIBM=y CONFIG_MEMSET_64BIT=y CONFIG_MEMSET_OPTSPEED=y CONFIG_MM_PGALLOC=y +CONFIG_MM_SHM=y CONFIG_MPFS_ENABLE_DPFPU=y CONFIG_MPFS_ROMFS_MOUNT=y CONFIG_MPFS_UART1=y