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.

LAUNCHXL-F280049C: Order of execution of GPIO and ERAD in O2 optimization

Part Number: LAUNCHXL-F280049C

I would like to use ERAD and GPIO for profiling. For ERAD, I would be following the procedure given in the example. For GPIO, I intend to set GPIO, call the function to be profiled, reset the GPIO and then observe the pulse on a DSO. In the case of O2 optimization, will there be any effect on the order of execution (as otherwise the profiling result will not be accurate)?