Hello,
I'm running the flashctl_dynamic_memory_protection example, and one of the key variables failType is optimized out because we by default set our optimization level to 2 in all our examples.
While the example may be functionally "correct" this example is supposed to be one where you step through and observe the values of the function return codes to understand how dynamic write protection works and having optimization on isn't helpful for this since some of the variables like failType get optimized out and there is some out of order execution that happens.
Can we please make sure in places where optimization is not essential to actually leave it off? Or there's a debug configuration for all these projects and they should actually be "debug" code where optimization is off and then release turns optimization back on.
Munan