2023-07-22 04:21 AM
The STM32CubeIDE does not always correctly generate/regenerate the Multi-Threaded support code and ThreadSafe folder.
I noticed this when converting an existing project to use FreeRTOS. After experimenting, it seems that if the project contains virtual folders to linked resources, the ThreadSafe folder will not be generated. If the virtual folders are removed, such that the ThreadSafe folder is generated, it will not be modified if the selected strategy is changed once the virtual folders are reinstated.
2023-07-23 05:49 AM
And even better question for ST is why that "ThreadSafe" folder with it's files is available only for CubeMX. Why isn't it available as a normal software component in firmware packages and GitHub in the "Utilities" directory?