Tool/software: Code Composer Studio
Hi All,
I found the info on how to clone an existing GitHub repo for use in a CCS project, but in my case, I am starting up my GitHub repo, and want to take some existing MSP430 code that I have and put it into a new project. I'm kicking off this thread to try to capture the best practices, with the hopes that once it is vetted, it could also be added to the TI processors wiki for everyone's benefit.
Here is what I think the process is, please provide feedback!
- Install GitHub for Windows as described.
- Create your repo (ex: MSP430-Project) either via the GitHub web client or windows client.
- In GitHub for Windows, clone the repo
- In Code Composer Studio, select your project in the Project Explorer, and go to Files->Export. Select "General->File System".
- In the dialog box, confirm that the correct project is selected. Deselect any subfolders that are unwanted, such as Debug.
- To the right of the "To directory:" text box, click Browse, and find the directory that corresponds to the cloned repo.
- Click the Finish button
- Go back to GitHub for windows and review the changes that are detected. Select any files that are unwanted, right click, and click "Ignore" or "Ignore all ..." to add these files to the repo's .gitignore file.
- Add a commit summary and description of the initial commit, then hit the "Commit to master" button.
I am realtively new to both GitHub and CCS, although I have done other work with version control and embedded software long in the past. Please provide any feedback you can to strengthen this how-to.
Thanks,
Paul