cancel
Showing results for 
Search instead for 
Did you mean: 

How to organize STM32CubeIDE in github for collaboration?

FBerg.1
Associate III

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.

2 REPLIES 2
Pavel A.
Evangelist III

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.  

 

BarryWhit
Lead II

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)

- If someone's post helped resolve your issue, please thank them by clicking "Accept as Solution".
- Please post an update with details once you've solved your issue. Your experience may help others.