2025-06-04 6:02 AM
I have some other third party utilities and code I would like to populate under the /Middlewares/Third_Party folder.
I have the freertos component selected in STM32CubeMX .ioc file and I noticed every time I regenerate code it wipes out the Third_Party folder and repopulates with its's CMSIS and FreeRTOS stuff. ... but also deleting my other sources. Is there a way of preventing this?
2025-06-04 6:40 AM
Don't put your stuff under folders managed by STM32CubeMX.
2025-06-10 3:47 AM
Hello @dvescovi,
To prevent STM32CubeMX from deleting your third party utilities, under Project Manager, uncheck Generate Under Root then in Code Generator, select Copy all used libraries into the project folder.
Best regards,
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.