When optimizations are disabled more RAM is used and we get a stack
overflow on CONFIG_LOG_PROCESS_THREAD_STACK_SIZE. To rectify this,
increase the stack size when CONFIG_NO_OPTIMIZATIONS.
This does not scale well, and will have to be replaced by a a more
general solution eventually, but in the mean time it follows the
existing best practice established by the GCOV infrastructure in
commit
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.template.log_config | ||
| log_backend_native_posix.c | ||
| log_backend_net.c | ||
| log_backend_rtt.c | ||
| log_backend_swo.c | ||
| log_backend_uart.c | ||
| log_cmds.c | ||
| log_core.c | ||
| log_list.c | ||
| log_list.h | ||
| log_msg.c | ||
| log_output.c | ||
| sys_log_net.c | ||
| sys_log.c | ||