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.

TMS320F28388D: inline functions and optimizations

Part Number: TMS320F28388D


Dear sir,

I am developing  my own application based on the driverlib on 28388D. 

I found that the inline functions will not be inlined by the compiler if the --opt-level is turned off  in the file"TMS320C28x Optimizing C/C++ Compiler V20.8.0STS".

And the file said in section 2.11.4

As there are a lot of inline functions in the driverlib, so the optimization should be turned on, right?

And if so, which optimization level is better?