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.

MSP430FR5969: Optimization Level Risk

Part Number: MSP430FR5969

Hello,

How much risk is there related to setting the optimization level to the max for my C++ project? Is it worth it to go with opt-level 4 or is leaving it at 3 or 2 enough. I wrote a Gpio library using constexpr and inlining to generate the minimal GPIO machine code which works at opt level 2 so I dont think I want to go lower than that.

**Attention** This is a public forum