This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS: Which project files/folder to ignore using git

Tool/software: Code Composer Studio

Hey guys,

I am using CCS Version: 8.1.0.00011 on a Windows 10 system. I also started using git for better documentation and version handling. It basically works fine so far but I found this link which explains, which folder/files to ignore, e.g. launch-folder, config folder, debug/release, etc. My problem now is, that I am not sure which folders of my project represent the launch-folder and so on...

Here a picture of my project:

I assume, that the sensor_cc1310lp folder could be ignored? What about the "binaries"?

What are your thoughts on that?

kind regards

  • Stefan Weigl22 said:
    I assume, that the sensor_cc1310lp folder could be ignored? What about the "binaries"?

    You do not need to check in the sensor_cc1310lp folder as it is a folder generated at build time.

    "Binaries" is not actually a physical folder, it is just a reference to the executable file in your active build configuration sub-folder, and does not need to be checked in either.

  • Ok,

    I tried right click on the folder in ccs project-explorer Team->ignore. I didnt see any change in CCS but looking into the repository gitignore file I found the line
    /sensor_cc1310lp/

    And I added, which I found in the repository as well.
    /.launches/

    So I guess this is how it works?!
  • Yes, you could do it that way.

    There is also some more info about using Git with CCS in this page which may be helpful.