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.

CCSTUDIO: CCS 20.3: CLI build error after linked file is removed

Part Number: CCSTUDIO

Tool/software:

Hi,

I am trying to build my CSS 20.3 (theia) project with CLI using integrated ccs-server-cli tool.

I follow the instructions at https://software-dl.ti.com/ccs/esd/documents/users_guide_ccs_theia/ccs_project-command-line.html#build-a-ccs-project

In my project I removed linked files that I do not need or that I want to replace with own implementation.

In my case I take the BLE5 Stack SimplePeripheral example. E.g., if I remove rcosc_calibration.c/h link to the project, the project is building fine in CCS 20.3 IDE. But If I run the CLI it runs into an error:

gmake: *** No rule to make target 'Application/rcosc_calibration.o', needed by 'all'.
gmake: Target 'all' not remade because of errors.

Clean before build does not help. Option -ccs.autoImport does not help.

How can I build the project without errors?

Best regards,

Andreas