Skip to main content
Associate
Question

What do you keep in version control for a CubeIDE project, and what do you leave out?

I am starting a small STM32 project with a couple of other people and we will share it through version control. I am not sure what belongs in the repository and what should stay local. Do you commit the CubeMX .ioc file and the generated code, or regenerate it on each machine? What about .project and .cproject, the Debug and Release folders, and the launch configurations? I have had settings drift between machines before, so I would like to keep the shared setup as tidy as possible without committing files that change on every build. Any practical advice on what you include and what you ignore would be appreciated.