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.

target config in source control?



Is it recommended to add the targetConfigs folder or files of a CCS project to source control?

The CCS source control wiki page doe not mention either way.

To date I have not been adding them as they are generated files. But then without it if someone that doesn't already have a config relating to a project wanted to build a project, they would have to go through the process of selecting the target settings for the project - which adds starting time and may introduce error.

thanks, T

  • Hi Toby,
    If you configured the project to "Manage the project's target-configuration automatically" and you did not change the default settings in the generated ccxml file, then I suppose it is optional to check it in (it will get auto-regenerated if missing). But if you are managing the ccxml file manually, or you made modifications to the default settings in the generated one, then I'd check it in.

    Thanks
    ki
  • Ki,

    Thank you for the info.

    While I'm on the topic I wonder, does TI have a comprehensive .gitignore (or equivalent) that you use with CCS projects?

    I am contributing a CCS gitignore to the GitHub gitignore project but I only have CCS setup for C2000 & MSP 430 at the moment so do not have info on files in other types of projects in this regard.

    Any input on the pull request or contributions to the file would be very welcome!

    Ta, T