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.

MSP430FR5994: Getting code composer to inline functions

Part Number: MSP430FR5994

I have tried everything I can think of to get code composer to inline functions.  These efforts include:

  • Adding inline keyword to either declaration or definition of function
  • Adding #pragma FUNC_ALWAYS_INLINE to definition of function
  • Changing optimization level to both 3 (interprocedure) and 4 (whole program)
  • Varying opt-for-speed to 5
  • Changing language to C99 rather than C89

What other things should I try?  What is the best way to verify it is inlining correctly?

Other notes:

  • Using compiler version TI 20.2.5.LTS
  • Have a simple example I am happy to share

**Attention** This is a public forum