Part Number: TMS320F280039C
Is there any way in CCS to force the expansion of inline functions when the priority is OFF?
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.
Part Number: TMS320F280039C
Is there any way in CCS to force the expansion of inline functions when the priority is OFF?
Is there any way in CCS to force the expansion of inline functions when the priority is OFF?
The compiler option for selecting the level of optimization is --opt_level. I presume you mean to ask whether it is possible to inline a function when no --opt_level option is used, which is the same as explicitly using --opt_level=off. The answer is no. For any inlining to occur, --opt_level=0 or higher must be used. For further details, please search the C28x compiler manual for the sub-chapter titled Using Inline Function Expansion.
Thanks and regards,
-George