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.

28335 - Pragma for not optimizing a function away



Hello,

I'm using 28335, I defined a function which is not directly called (in the program i jump to the specific address). Therefore the compiler is optimizing the function away. Can I somehow say the compiler to not optimize away this certain function? Is there a #pragma I can use?

Many thanks,

Claudia