From f082cce1402ee97d35247930d50d8cd26e7f9544 Mon Sep 17 00:00:00 2001 From: Tiago Medicci Serrano Date: Thu, 12 Dec 2024 11:55:01 -0300 Subject: [PATCH] rv-virt/citest: Increase init task stack size to 3072 After https://github.com/apache/nuttx/pull/15075, the size of the stack size has decreased 8 bytes and the init stack size for the rv-virt:citest defconfig was near its full capacity, which lead to crashing the `ps` command. The init stack size for this defconfig was increased from 2048 to 3072 to avoid stack overflow. --- boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig b/boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig index 5a067f6ef65da..04343e51f541e 100644 --- a/boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig +++ b/boards/risc-v/qemu-rv/rv-virt/configs/citest/defconfig @@ -70,6 +70,7 @@ CONFIG_FS_TMPFS=y CONFIG_HAVE_CXX=y CONFIG_IDLETHREAD_STACKSIZE=2048 CONFIG_INIT_ENTRYPOINT="nsh_main" +CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_IOB_NBUFFERS=128 CONFIG_IOB_NCHAINS=4