Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/kernel/mem_protect/userspace/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1046,9 +1046,9 @@ void kernel_only_thread_entry(void *p1, void *p2, void *p3)
}

#ifdef CONFIG_MMU
#define KERNEL_ONLY_THREAD_STACK_SIZE (ROUND_UP(512, CONFIG_MMU_PAGE_SIZE))
#define KERNEL_ONLY_THREAD_STACK_SIZE (ROUND_UP(1024, CONFIG_MMU_PAGE_SIZE))
#else
#define KERNEL_ONLY_THREAD_STACK_SIZE (512)
#define KERNEL_ONLY_THREAD_STACK_SIZE (1024)
Comment on lines +1049 to +1051
Copy link
Member

@dcpleung dcpleung May 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm... the thread is a very simple. It "shouldn't" need much stack space.

#endif

static K_KERNEL_THREAD_DEFINE(kernel_only_thread,
Expand Down
1 change: 1 addition & 0 deletions tests/lib/sprintf/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ CONFIG_FPU=y
CONFIG_TEST_USERSPACE=y
CONFIG_ZTEST_FATAL_HOOK=y
CONFIG_PICOLIBC_IO_FLOAT=y
CONFIG_ZTEST_STACK_SIZE=2048
1 change: 1 addition & 0 deletions tests/lib/sprintf/prj_new.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ CONFIG_ZTEST_NEW_API=y
CONFIG_FPU=y
CONFIG_TEST_USERSPACE=y
CONFIG_ZTEST_FATAL_HOOK=y
CONFIG_ZTEST_STACK_SIZE=2048