This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new f2e9924b6 testing/ostest: set STACKSIZE for the standalone ELF build
f2e9924b6 is described below
commit f2e9924b6a79cb597afcd917c3be9ae4b0acb088
Author: raiden00pl <[email protected]>
AuthorDate: Tue Aug 4 21:37:03 2026 +0200
testing/ostest: set STACKSIZE for the standalone ELF build
The CMake build passed no STACKSIZE, so kernel-mode ELF loading fell
back to CONFIG_ELF_STACKSIZE, which may exceed the initial user heap.
Use CONFIG_DEFAULT_TASK_STACKSIZE as the Makefile does.
Signed-off-by: raiden00pl <[email protected]>
Assisted-by: Claude Code
---
testing/ostest/CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/testing/ostest/CMakeLists.txt b/testing/ostest/CMakeLists.txt
index 180d7090a..a76b2447c 100644
--- a/testing/ostest/CMakeLists.txt
+++ b/testing/ostest/CMakeLists.txt
@@ -176,6 +176,7 @@ if(CONFIG_TESTING_OSTEST)
endif()
set(OSTEST_SRCS ostest_main.c ${SRCS})
- nuttx_add_application(NAME ostest SRCS ${OSTEST_SRCS})
+ nuttx_add_application(NAME ostest SRCS ${OSTEST_SRCS} STACKSIZE
+ ${CONFIG_DEFAULT_TASK_STACKSIZE})
endif()