-
So not sure if this is an issue, or bad use of my part, but anyway: I'm testing some simple things and among them, instead of calling printk, is using the logging functions LOG_INF, LOG_WRN, and so on. Basically when using a STM32 board (STM32F411RE), enabling USB and redirecting the LOG output to the USB UART, calling the log functions from the starting main thread, it works fine until a thread is created and from the created Thread the LOG_* functions are called. When this happens, Zephyr crashes. My example: prj.conf
The overlay file to enable the console over USB:
And the code main.c:
So any idea why this happens? Zephyr kernel versions tested:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For future reference: My problem. Stack was too small (256 bytes). Increasing the stack, solved the issue. |
Beta Was this translation helpful? Give feedback.
For future reference: My problem. Stack was too small (256 bytes). Increasing the stack, solved the issue.