FreeRTOS build fails on STM32MP157F-DK2 (Cortex-M4) via STM32CubeIDE
- June 2, 2025
- 1 reply
- 1255 views
Hi,
During the integration of FreeRTOS using STM32CubeMX on the STM32MP157F-DK2 platform, the initial compilation fails. In my experience with other ST microcontrollers, the initial build after adding FreeRTOS generally completes successfully without requiring manual intervention. However, this behavior is not consistent with the STM32MP157F-DK2.
The build process reports missing files such as cmsis_os2.h, freertos_mpool.h and freertos_os2.h. Even after manually adding these files, additional compilation errors continue to arise, indicating deeper integration issues.
I would appreciate any suggestions or insights into what might be going wrong in this process.
Software Version:
STM32CubeIDE ==> 1.18.0
STM32CubeMX ==> 6.14.0
Here are few screenshots suggesting the same.
