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.

TMS320F280025C: What is included in the project configuration file '.cproject'

Part Number: TMS320F280025C
Other Parts Discussed in Thread: CCSTUDIO

There is many configurations included in this file, but i don't understand what does the numbers meaning. For example, in the picture shown below, if I want to use a python script to change some configuration items of the project in bulk (such as the compiler version in the diagram, etc.), I can directly replace the specified compiler version string part, but how can I ensure that the number string at the end matches the configuration I changed

  • Hello,

    For example, in the picture shown below, if I want to use a python script to change some configuration items of the project in bulk (such as the compiler version in the diagram, etc.), I can directly replace the specified compiler version string part, but how can I ensure that the number string at the end matches the configuration I changed

    You didn't attach a screenshot, but I get the basic idea what you're asking. Why do you need to script something like this? In CCS if you go to the Project Properties and save the change it will automatically update the file so the project uses the chosen version of the compiler.

    For more information about the CCS project files, refer to this page.

  • Sorry, i don't know why the screenshot didn't show, but i can give you the key string is something like this: '<tool id="com.ti.ccstudio.buildDefinitions.C2000_18.12.exe.linkerDebug.1937482281" '

    In this configuration, i could get what does 'C2000_18.12' means, but i could not get the meaning of number '1937482281', so i didn't know how to match this number string with another version of compiler for my  change

    And for the reason of my attention to change the configurations using python script, just because there is too many projects need to do this, manually change spend too much times, and also difficult  to locate any incorrect change.

  • Hello,

    In this configuration, i could get what does 'C2000_18.12' means, but i could not get the meaning of number '1937482281', so i didn't know how to match this number string with another version of compiler for my  change

    It is a random number ID generated by the project system when the project is created. This ID is then referred internally by the project system for project management. It is not meant to ever reference or use these IDs directly.

    See: https://stackoverflow.com/questions/53297971/seemingly-random-numbers-in-eclipse-project-files

    Thansk

    ki

  • Hello,

    I see this, so, it seems like one solution to avoid some conflicts, which means it's just fine if i keep this numbers same for all my projects?

    And after my operations for those projects in CCS, those numbers could be changed to another different one? 

  • which means it's just fine if i keep this numbers same for all my projects?

    I'm not sure what you mean by this. I believe these IDs need to be unique across all projects in the workspace. Also, these IDs are generated by the project system and should not be be manually modified in any way.

  • Sorry for so lately reply, i've got what you means, and already ran some test on this IDs, thank you!