Skip to content

Commit 6eb4808

Browse files
carlocaioneioannisg
authored andcommitted
samples: logger: Fix test on stack hungry platforms
This test is failing on platforms requiring a bigger stack size. This issue is fixed by adding the missing CONFIG_TEST_EXTRA_STACKSIZE to tweak the thread stack size. Signed-off-by: Carlo Caione <[email protected]>
1 parent b329312 commit 6eb4808

File tree

1 file changed

+1
-1
lines changed
  • samples/subsys/logging/logger/src

1 file changed

+1
-1
lines changed

samples/subsys/logging/logger/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static struct k_mem_partition *app_parts[] = {
3030
#endif /* CONFIG_USERSPACE */
3131

3232
/* size of stack area used by each thread */
33-
#define STACKSIZE 1024
33+
#define STACKSIZE (1024 + CONFIG_TEST_EXTRA_STACKSIZE)
3434

3535
extern void sample_module_func(void);
3636

0 commit comments

Comments
 (0)