How to organize STM32CubeIDE in github for collaboration?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-11 1:49 AM
Is there a guide of how to share a STM32CubeIDE project in github for collaboration?
I tried this for a modified version of the STM32 demo program "FatFs_USBDisk" - to extend/enhance it in a team.
When I adopt the base demo program in github, and someone else clones it, then it can't be compiled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-11 2:04 AM
After you clone your project repo on other computer, check that all paths exist on that computer. One possible reason is that the "Cube repository" (where some example projects come from) is located by default in user's private directory. So on another machine, with a different user, this path becomes invalid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-11 8:02 AM - edited ‎2024-08-11 8:24 AM
Exactly - "Path Hygiene". And good practice is to have all project paths relative to project root. If that's a problem, you should take a look at how you organize your projects (because this indicates that after a few years, your company's projects will encounter build rotting issues)
- Please post an update with details once you've solved your issue. Your experience may help others.
