zephyr: app: increase log thread stack size to 4096

Set the logging thread stack size explicitly for SOF builds
and use a safe default of 4096 bytes. Individual board overlays
can override this default to save stack space.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
This commit is contained in:
Kai Vehmanen 2022-10-05 12:19:27 +03:00 committed by Kai Vehmanen
parent 529d593454
commit 0654a66664
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@ CONFIG_LOG_PROCESS_THREAD_SLEEP_MS=100
# Frontend buffer must be large enough to cover all # Frontend buffer must be large enough to cover all
# typical bursts of log messages. # typical bursts of log messages.
CONFIG_LOG_BUFFER_SIZE=4096 CONFIG_LOG_BUFFER_SIZE=4096
# Use stack that is sufficient for SOF backends
CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=4096
# Requires heap_info() be implemented, but no Zephyr wrapper # Requires heap_info() be implemented, but no Zephyr wrapper
CONFIG_DEBUG_MEMORY_USAGE_SCAN=n CONFIG_DEBUG_MEMORY_USAGE_SCAN=n