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: Can I create a .projectspec file from a project that has a .ccsproject/.cproject file?

Other Parts Discussed in Thread: MSPWARE, CONTROLSUITE

Tool/software: Code Composer Studio

I am using eclipsec from a command-line interface to run CCS project create and build commands from a script for testing. Many example projects that are shipped with CCS or other deliverables like MSPWare have .projectspec files associated with them that make it very easy to run a "create" command with eclipsec followed by a "build" command so that the project gets built via CCS from a command-line interface. However, other example projects have to be pre-built from inside the CCS GUI before they can be imported with an eclipsec command and then then built.

Is there a way to create a .projectspec file from an example project that has .ccsproject/.cproject/.project files?

Thanks,

Todd Snider

  • Todd,

    I don't think such utility exists. The only reference about ProjectSpec is shown in the wiki page below:

    processors.wiki.ti.com/.../ProjectSpecs_in_CCS

    As you mentioned, certain SDKs have a mix of example project types, but they should all be easily imported via the CLI provided their dependencies are met (check the reference below for help with import/build process). Which specific project you are seeing this is not happening successfully?
    processors.wiki.ti.com/.../Create

    Regards,
    Rafael
  • Hi Rafael,

    I downloaded the controlSUITE package and it has an example (<install area>/controlSUITE/device_support/F2837xD/v210/F2837xD_examples_Cpu1/can_loopback_bitfields/cpu01/ccs) that contains a .cproject file that requires the project be built using the C2000 v16.6.0 CGT, but I want to be able to import it and build it from eclipsec with any compiler that meets some minimal version requirement. However, when I try this I get an error telling me that I have to have v16.6.0 installed. Is there something in the .cproject file that makes the compiler version a hard requirement and not just a minimum version number?

    I have a question pending to some of the CCS guys in a separate e-mail about the .cproject file issue. Do you happen to know?

    Thanks,
    Todd
  • Todd,

    Sorry for the delay; I posted a reply but it seems the forum did not submit it.

    The brief answer is contained in the page below:
    processors.wiki.ti.com/.../Importing_CCS_Projects

    The .cproject contains the compiler version information and Eclipse tends to do a good job with compatibility keys, but the STS/LTS compiler streams render the ordinal flow of version numbers somewhat cumbersome - a STS version may or may not be "understood" by CCS (which is what is happening in your case) given it may have been released at a later time and therefore the CCS project manager tends to be conservative.

    Unfortunately in this case there is not much that can be done in the way of actually installing the original compiler.

    Does that help?
    Rafael