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/AM5728: Combined release and debug mode

Part Number: AM5728


Tool/software: Code Composer Studio

Dear TI,

     Is it possible to compile some files in a project in release mode, and some in debug mode?  Right now it appears to be a global switch, I can either compile everything as release or everything as debug.  Is it possible to specify which files are compiled in which mode?

  • Hi Rob,
    You are correct, it is a global switch. I assume what you are looking to do is have some of the files use the build options from another configuration. While that is not supported, what you can do is use file-specific options on some files to specify different build options that would override the top level project configuration one. If you have many files, you can add all the files to a (virtual) subfolder and apply the options on the folder (which would propagate down).

    Thanks
    ki