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/CCSTUDIO: List of command line args for the CCS executable?

Part Number: CCSTUDIO


Tool/software: Code Composer Studio

The docs for CCS state that " ccstudio(.exe) can be called with some command line arguments. One of them is -clean." I cannot find any documentation on what other command line arguments are available. I am looking for a way to specify the workspace from the CLI, rather than using the GUI to select it after it has been launched. I am running CCSv10 on Fedora 33, by the way. 

  • Mark Ditsworth1 said:
    I am looking for a way to specify the workspace from the CLI, rather than using the GUI to select it after it has been launched.

    From a quick search I can't find the available command line options for ccstudio.

    However, FAQ How do I run Eclipse? contains:

    You can manually specify the workspace location on the command line, using the -data <workspace-path> command-line argument.

    I tried that with CCS 10 under Ubuntu, and it works to select the workspace to open bypassing the dialog asking which workspace to open. E.g:

    % ~/ti/ccs1011/ccs/eclipse/ccstudio -data ~/E2E_example_projects/
    $ ~/ti/ccs1011/ccs/eclipse/ccstudio -data ~/workspace_v10/

    Causes CCS 10 to open the requested workspace.

  • Mark Ditsworth1 said:
    I cannot find any documentation on what other command line arguments are available.

    The full list of commands can be found in the Eclipse documentation:

    https://help.eclipse.org/2020-12/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fruntime-options.html

    Note that this refers to the supported commands/options by standard Eclipse. While CCS supports many of these commands/options, there are some that are specific to Eclipse/CDT (for example the headless project commands as mentioned in this warning).

    Thanks

    ki