STM32CubeIDE project setup for collaboration with version control
What is the recommended way to organize a project in STM32CubeIDE so that multiple teammates to share their work via git without thrashing the settings and paths that are user-specific?
It seems like we need to eliminate all user-specific and absolute paths and only use relative paths.
We'd prefer to use the "Add necessary library files as reference in the toolchain project configuration file" setting in "Code Generator Options" to minimize bloat. This works if we make a symlink to the STM32Cube/Repository/ in the same relative location for all of us. But then we get absolute paths in .cproject. Is there a way to have the IDE to use something like ${Firmware_Repo} for these paths?
The "Copy only the necessary library files" setting spares us the git-incompatible paths, and we can dedup these across similar projects by extracting those to a common directory and linking to that, but those are a lot of hoops to jump through.
Does anyone have tips to share on project structure for a nice git workflow that's also compatible with re-running code generation from .ioc files?
