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.

CODECOMPOSER: V20.2.0 API Build targets not working correctly

Part Number: CODECOMPOSER


Tool/software:

Hi,

we are using the CCS API (software-dl.ti.com/.../ccs_project-command-line-full-api-guide.html) in order to build our hexfile via a CI/CD pipeline.

Our Project has an Debug and Release build target. The script we are using is the following:

ccs-server-cli.sh -noSplash \
        -workspace "$CI_PROJECT_DIR/workspace" \
        -application com.ti.ccs.apps.projectImport \
        -ccs.location "$CI_PROJECT_DIR" \
        -ccs.copyIntoWorkspace true \
        -ccs.autoBuild true \
        -ccs.configurations Release

The line  -ccs.configurations Release directs CCS to build the Release target. 

The problem is that it always defaults to the Debug build target. The only solution we found so far is the delete the Debug build in CCS.

We also tried to use -ccs.defaultConfiguration Release but with the same result. 

Can you please advise on how to select a specific target to build in a multi target project.

Thanks!

Best regards

Steffen