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.
The project had set the optimization level as 1.
But I had some functions code that donot want optimization, it there the key words can help with this?
To decrease the optimization of one function in a file, use #pragma FUNCTION_OPTIONS. Please search for in the C28x compiler manual. You'll see that you cannot lower optimization below --opt_level=0. To do that, you have to isolate the function into its own source file, then use the CCS feature for file specific options to set --opt_level=off.
Thanks and regards,
-George