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.

CCS/CC2650: Compiler optimization level for BLE application and stack

Guru 16800 points
Part Number: CC2650


Tool/software: Code Composer Studio

Hello,

We have a question of compiler optimization level for BLE application and stack.
BLE SDK is v2.2.1 for CC2650 and we use SimpleBLEBroadcaster to implement Beacon.

The default optimization level is 4 (-O4 option); however, this makes a difficulty to do software debug (e.g. step execution).
So, my customer wants to change the optimization level.
However, as a result, sometimes exception occurs.

- Can we change the optimization level and should it work correctly?
  If there are any recommended CCS version, ARM compiler version and compiler option, please let me know.

Best Regards,

Nomo