This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Version Control

Hi,

I am new to software development and had a query about software version control with the Keil IDE using git.

As a beginner, I simply copied an example project in the Nordic SDK  within the SDK example folder and went on to develop my software from there. It works perfectly well. However, I need to share my work with my team using git on bitbucket. I tried following this application note by uVision www.keil.com/.../apnt_279.pdfhttp://www.keil.com/appnotes/files/apnt_279.pdf

However, I do not quite understand how I could get all the selected library files and pathways to be shared this way. I also have some custom header files that I include under main.c.

I basically want to get to a point where a person can download the repository and correct the SDK version  and begin to work.

Thanks a lot.

K

Parents
  • The easiest thing to do is to copy an existing example, rename it, and then add the entire folder to git.

    For use with Keil: It's project file is just an xml who'll work great with git. I recommend you ignore Keils App Note 279 and use git with the bash shell the way it's intended to be used. The Keil git plugin sw looks horrible imho. Remember to save your Keil project file or else git will not see the change you make to it. 
     

    You then instruct your peers to clone your repo into f.ex SDK15.2/examples/peripheral or SDK15.2/examples/ble_peripheral depending on what example you chose. 

Reply
  • The easiest thing to do is to copy an existing example, rename it, and then add the entire folder to git.

    For use with Keil: It's project file is just an xml who'll work great with git. I recommend you ignore Keils App Note 279 and use git with the bash shell the way it's intended to be used. The Keil git plugin sw looks horrible imho. Remember to save your Keil project file or else git will not see the change you make to it. 
     

    You then instruct your peers to clone your repo into f.ex SDK15.2/examples/peripheral or SDK15.2/examples/ble_peripheral depending on what example you chose. 

Children
No Data
Related