subsys/logging: Increase logging stack size for assert or spin_validate
These two options significantly increase the amount of stack space used by the logging thread as these generate both additional logging and generate deep stacks themselves. This fixes running the tests/subsys/logging/log_core_additional/logging.add.log1 test on riscv32 with THREAD_LOCAL_STORAGE enabled. Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
7ec1fb632b
commit
2c310d431f
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ config LOG_PROCESS_THREAD_STACK_SIZE
|
|||
default 1152 if LOG_BACKEND_NET
|
||||
default 4096 if NO_OPTIMIZATIONS
|
||||
default 1024 if XTENSA
|
||||
default 2048 if ASSERT || SPIN_VALIDATE
|
||||
default 768
|
||||
help
|
||||
Set the internal stack size for log processing thread.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue