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.

CCSv5: Documentation/Information about command line create/build projects

Other Parts Discussed in Thread: SYSBIOS, CCSTUDIO

Hi,

is there particular documentation on the different commands/options available for command line create/build of projects for CCSv5. I can only find this wiki page:

http://processors.wiki.ti.com/index.php/Projects_-_Command_Line_Build/Create

also mentioning the -ccs.help option, which shows me the different options but only with a small description. Is there a more comprehensive documentation on this somewhere?

Any hints/information is greatly appreciated.

Thank you and best regards,

GINNI

  • Hi Ginni, 

    The documentation generated by running the command line tool with -ccs.help option is most accurate at this point. We update the documentation when changes are made. There are no supplemental docs. Could you give me an idea as to which portions or options are unclear? 

    Thanks,

    Martin

  • Hi Martin,

    thank you very much for looking into this. My questions are the following:

    1. regarding -ccs.args <file>

    2. regarding -ccs.projectspec <file>

    What can I do/define with these two commands (1., 2.) and how does the file have to look like  --> any examples available

    3. I would like to create an RTSC example --> therefore I am using the following commands  -rtsc.enableRtsc; -rtsc.target; -rtsc.platform; -rtsc.buildProfile)

    The result is that IPC, grace, edma, etc. and other SW components are automatically included. How can I tell which software components should be included and which not  --> any examples available

    This is the include situation after creating the project:

    Your help is greatly appreciated.

    Thank you very much and best regards,

    GINNI

     

  • Hi All,

    any comments/hints on above questions?

    Thank you very much and best regards,

    GINNI

  • Hi Ginni, 

    We will be adding some clarifications to CCSv5.3. However, in the meantime:

    1. <file> is just a text file containing the same arguments list as if you passed them on the command line. Some users have very long list of options which causes problems with windows command line length issues, thus some or all commands can be placed in text file and passed in this argument. 

    2. projectspec: This is new feature in 5.2 that will allow to create new project based on project spec. The main purpose is to allow a mechanism to provide examples or projects that are somewhat CCS version agnostic. A CCS project today embeds some version specific information such as CGT version, SYS/BIOS version, etc. The goal of project spec is provide project specification that would allow to define a project but create it on the fly when a customer imports a project spec, using CGT version, SYS/BIOS that is part of their CCS installation, assuming there are no version specific dependencies in project sources. 

      Let me know if you need further details on this. 

    3. I believe you should be able to use this option

    ----

    -rtsc.products "<id>[:<version>][;<id>[:<version>]]*"
    List of RTSC products to enable (optional).

    ---

    To get the <id> argument is somewhat convoluted today. We need to add some way of getting these id's from command line. However, in the short term you could create a dummy project using New Project wizard, enabling products that you are interested in and then looking at .cproject file. Near the top there should be a line that looks like:

    <listOptionValue builtIn="false" value="RTSC_PRODUCTS=com.ti.rtsc.SYSBIOS:6.33.4.39;com.ti.rtsc.XDAIS:7.21.1.07;"/>

    <id>'s would be listed after RTSC_PRODUCTS=

    Martin

  • Hi Martin,

    thank you very much for the comprehensive information. That already helped me a lot. It would be great if you could provide more information on the point 2., since it seems to be a useful feature. Do you have a kind of example how this project spec has to look like, how to define/import/use this project spec?

    Many thanks again and best regards,

    GINNI

  • Hi Martin,

    do you have further information on the "projectspec" option? How to define the project, how the file have to look like, examples?

    Many thanks and best regards,

    GINNI

  • Hi Ginni,

    I've attached the latest version of the XML schema file for the new project-spec feature.  The schema file contains some basic information on the feature, and I will expand the documentation for CCSv5.3.  Let me know if you have any questions on this feature.

    In CCSv5.3, you'd be able to find the latest version of this schema file in <ccs>/ccsv5/eclipse/plugins/com.ti.ccstudio.project.templates_*/schema/ directory.

    Thanks,

    - Baltasar

  • Hi Baltasar,

    thank you very much!

    Best Regards,

    GINNI