Skip to main content
FBerg.1
Associate II
August 11, 2024
Question

How to organize STM32CubeIDE in github for collaboration?

  • August 11, 2024
  • 2 replies
  • 747 views

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

    Pavel A.
    Super User
    August 11, 2024

    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
    August 11, 2024

    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)