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.

CLA C compiler and compiler optimization

Hi everyone,

to me, a big advantage of coding a control law on a CLA in assembler is that the code stays the same. And doesn’t care about any compiler settings like optimizations etc. So the code stays the same.

The big advantage of C is the readability.
But if I write the CLA code in C, the code will be optimized depending on C2000 compiler optimization settings.

For my understanding the CLA compiler and the C28x compiler are different.
Is there a way set the CLA compiler optimization separately?
Or set the C28x compiler settings with no effect to the CLA C code?

Thank you