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.

Choosing "Connection" while creating CCS project using Projectspec

Other Parts Discussed in Thread: CC2650, CCSTUDIO

Hi,

When I create a project from CCS GUI using "New CCS Project" command, I can choose a target device and a connection. Based on chosen connection, it creates a .ccxml file in "targetConfigs" directory.

How do I choose a connection and get a .ccxml file created when I create a project using projectspec ?


Best regards,

Arunabha.

  • Arunabha Ghose said:
    How do I choose a connection and get a .ccxml file created when I create a project using projectspec ?

    There is a “connection” attribute on the <project> element. The value is expected to be the name of the connection XML file (as found in the /ccsv6/ccs_base/common/targetdb/connections/ directory).

    So as an example, something like this:

    <projectSpec>
    <project
             title="CC2650 Example"
             name="CC2650DK_Example"
             device = “CC2650F128”
             connection="TIXDS110_Connection.xml"
    </project>
    </projectSpec>

    Hope this helps!

  • Thank you. It worked.

    I had checked the XML schema file for projectspec located at 
    "<ccs_install_dir>\ccsv6\eclipse\plugins\com.ti.ccstudio.project.templates_<version>\schema\projectSpec.xsd" in the CCS installation on my machine. But, it does not specify the "connection" attribute. Is the schema file out of date ?

    Best regards,

    Arunabha.

  • Arunabha Ghose said:
    Is the schema file out of date ?

    Yes the file in CCS 6.2 was not updated with the "connection" attribute, but the developer was going to make the update, so it should be updated in the next release.