Skip to content

Commit 305068a

Browse files
keith-packardcarlescufi
authored andcommitted
tests/logging: Give picolibc lots of margin for now
We're not quite sure how much extra stack space picolibc will use, so give it plenty of space for now. Signed-off-by: Keith Packard <[email protected]>
1 parent bc234fb commit 305068a

File tree

1 file changed

+4
-0
lines changed
  • tests/subsys/logging/log_stack/src

1 file changed

+4
-0
lines changed

tests/subsys/logging/log_stack/src/main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ static size_t hexdump_usage;
2626
static size_t more_args_usage;
2727

2828
/* Stack increase margin. */
29+
#ifdef CONFIG_PICOLIBC
30+
#define STACK_USAGE_MARGIN 128
31+
#else
2932
#define STACK_USAGE_MARGIN 16
33+
#endif
3034

3135
static void after(void *data)
3236
{

0 commit comments

Comments
 (0)