diff --git a/samples/subsys/zbus/benchmark/sample.yaml b/samples/subsys/zbus/benchmark/sample.yaml index 45d4bbde5d4a0..f371d2c06ccfc 100644 --- a/samples/subsys/zbus/benchmark/sample.yaml +++ b/samples/subsys/zbus/benchmark/sample.yaml @@ -19,6 +19,8 @@ tests: - CONFIG_BM_ONE_TO=8 - CONFIG_BM_MESSAGE_SIZE=256 - CONFIG_BM_ASYNC=y + - arch:nios2:CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000 + - CONFIG_IDLE_STACK_SIZE=1024 sample.zbus.benchmark_sync: tags: zbus min_ram: 16 @@ -37,3 +39,5 @@ tests: - CONFIG_BM_ONE_TO=8 - CONFIG_BM_MESSAGE_SIZE=256 - CONFIG_BM_ASYNC=n + - arch:nios2:CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000 + - CONFIG_IDLE_STACK_SIZE=1024 diff --git a/samples/subsys/zbus/hello_world/src/main.c b/samples/subsys/zbus/hello_world/src/main.c index 64e33e878a4f1..d97eed3654930 100644 --- a/samples/subsys/zbus/hello_world/src/main.c +++ b/samples/subsys/zbus/hello_world/src/main.c @@ -89,7 +89,8 @@ static void subscriber_task(void) } } -K_THREAD_DEFINE(subscriber_task_id, 512, subscriber_task, NULL, NULL, NULL, 3, 0, 0); +K_THREAD_DEFINE(subscriber_task_id, CONFIG_MAIN_STACK_SIZE, + subscriber_task, NULL, NULL, NULL, 3, 0, 0); #if defined(CONFIG_ZBUS_STRUCTS_ITERABLE_ACCESS) static int count; diff --git a/tests/kernel/context/testcase.yaml b/tests/kernel/context/testcase.yaml index 7eeda47e488fb..8d973af7126aa 100644 --- a/tests/kernel/context/testcase.yaml +++ b/tests/kernel/context/testcase.yaml @@ -1,8 +1,11 @@ tests: kernel.context: tags: kernel + extra_configs: + - CONFIG_TEST_EXTRA_STACK_SIZE=1024 kernel.context.linker_generator: platform_allow: qemu_cortex_m3 tags: kernel linker_generator extra_configs: - CONFIG_CMAKE_LINKER_GENERATOR=y + - CONFIG_TEST_EXTRA_STACK_SIZE=1024 diff --git a/tests/subsys/logging/log_core_additional/log_sync.conf b/tests/subsys/logging/log_core_additional/log_sync.conf index f0685b5b2bfd0..c9894d82dd752 100644 --- a/tests/subsys/logging/log_core_additional/log_sync.conf +++ b/tests/subsys/logging/log_core_additional/log_sync.conf @@ -6,3 +6,4 @@ CONFIG_LOG=y CONFIG_LOG_OUTPUT=y CONFIG_LOG_BACKEND_UART=y CONFIG_LOG_MODE_IMMEDIATE=y +CONFIG_MAIN_STACK_SIZE=4096 diff --git a/tests/subsys/logging/log_core_additional/log_user.conf b/tests/subsys/logging/log_core_additional/log_user.conf index 6ed18a2106319..4922dfbb411b0 100644 --- a/tests/subsys/logging/log_core_additional/log_user.conf +++ b/tests/subsys/logging/log_core_additional/log_user.conf @@ -11,4 +11,4 @@ CONFIG_LOG_PROCESS_TRIGGER_THRESHOLD=1 CONFIG_THREAD_MONITOR=y CONFIG_LOG_PRINTK=y CONFIG_LOG_BLOCK_IN_THREAD=y -CONFIG_MAIN_STACK_SIZE=1024 +CONFIG_MAIN_STACK_SIZE=4096 diff --git a/tests/subsys/logging/log_core_additional/prj.conf b/tests/subsys/logging/log_core_additional/prj.conf index 7368ba16e73ad..a2bacab3cf500 100644 --- a/tests/subsys/logging/log_core_additional/prj.conf +++ b/tests/subsys/logging/log_core_additional/prj.conf @@ -11,6 +11,7 @@ CONFIG_CBPRINTF_FP_SUPPORT=y CONFIG_CBPRINTF_LIBC_SUBSTS=y CONFIG_ZTEST_STACK_SIZE=4096 CONFIG_LOG_PROCESS_THREAD=n +CONFIG_MAIN_STACK_SIZE=4096 CONFIG_MPSC_CLEAR_ALLOCATED=y CONFIG_LOG_BACKEND_UART=y