2026-03-18 6:59 AM
Create a FreeRTOS project, keeping all settings at default configuration. Use CMake for building. The steps for creating the project are as follows:
When the first task is initiated, a large number of recursive functions will appear in the function call stack.
2026-03-18 1:23 PM
How much memory is allocated to your defaultTask in the <Tasks and Queues> tab?
Increase that number.
You are calling osDelay, that is going to put stuff on the stack. You can check the remaining stack allocation by calling uxTaskGetStackHighWaterMark(NULL).
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.