STM32CubeMX project works after generation but fails after reopening
Hi everyone,
I’m working on an STM32 project using STM32CubeMX and STM32CubeIDE. Everything builds and runs correctly right after generating the project, but after closing and reopening the project I sometimes run into build errors related to generated files or missing libraries.
Regenerating the code usually fixes it, but I’m trying to understand why this happens in the first place.
Has anyone experienced something similar with CubeMX projects? Is there a recommended way to organize the project or CubeMX settings so that generated files and middleware remain consistent when reopening the project?
I’d appreciate any advice or best practices from people who work with STM32CubeMX regularly.
