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/MSP432E401Y: excluding a routine from the general optimization level

Part Number: MSP432E401Y

Tool/software: Code Composer Studio

Hi.

I have some routines in my code that I want to avoid any optimization being applied to them, though i want to keep the rest of the project optimized.

is there a way to tell the CCS not to optimize a certain routine / code (something like a pragma that tell the compiler to stop optimizing and then at the end of the required section to continue optimizing?