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 headless build: Verify compiler version

Other Parts Discussed in Thread: CCSTUDIO

I'm currently trying to set up headless building for CCS projects with GitLab CI. This works great, however there's an important feature I'm still missing: When building in CCS with a compiler version which is not installed (i.e. CCS automatically picks a newer version), I get a warning: "This project was created using a version of compiler that is not currently installed: 4.4.5 [MSP430]. Another version of the compiler will be used during build: 4.4.3. ..." However, when doing a headless build, a different compiler is used, and I get no warning about it at all. Is there some way I can validate this in an automated way? The only way I could think of so far is parsing the .cproject XML and checking this myself, but that'd be a lot of error-prone effort.
  • Hi,

    This warning is fully generated by the IDE itself and not from the compiler tools; thus the headless build does not throw an error at build time.

    One way to do this is to use the "inspect" application and compare the compiler tool used by the project and the one installed in CCS.

    For example, you would issue the following to inspect the project:
    C:\ti\ccsv6\eclipse>eclipsec -noSplash -data C:\Users\user\workspace_v6_1 -application com.ti.ccstudio.apps.inspect -ccs.preferences -ccs.projects my_project

    Then you could compare to the product itself:
    C:\ti\ccsv6\eclipse>eclipsec -noSplash -data C:\Users\user\workspace_v6_1_2 -application com.ti.ccstudio.apps.inspect -ccs.product

    Additional details at:
    processors.wiki.ti.com/.../Create

    Otherwise I couldn't find a way to directly get this diagnostics out.

    Would that help for you?

    Regards,
    Rafael