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: How to Turn off Linker Script Autogeneration?

Part Number: CODECOMPOSER


Tool/software:

I was recommended in a different thread to modify the linker script. This works in the project file that was attached to the thread, but I can't get it to work in my other CCS projects.  

Specifically, if I drag the `device_linker.cmd` file out of the Debug directory, the linker will generate a new `device_linker.cmd` file, then process both of the files and throw an error.

How can I set CCS to stop autogenerating the linker file?

  • Hello,

    You can disable the option to include the cmd file to the build. While this will still have the cmd file generated, it will put it in a subfolder of files to be excluded from the build so that it will only use the cmd that you have elsewhere.

    Thanks

    ki