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/TMS320F2806: Check optimization level in one file during compiling

Part Number: TMS320F2806


Tool/software: Code Composer Studio

Hi,

In my project I have to set the optimization level for one file off. I now this can be done for every file within its properties.

But sometimes to debug the code, I switch off optimization for all files and afterwards I set optimization on again. But if i forget to switch off optimization for the one specific file, my code is not running anymore.

Is there any way to check automatically the optimization level of a file during compiling to get a compiling error or warning?

Thanks for helping.

Regards,

Dani