Hi,
I have been developing a C application using an RT1170 for several months now and keep coming up against a problem when debugging: When I try to view the values of variables many appear as <optimized out>.
I have turned off optimization within the MCUXpresso IDE, trying both -O0 and -Og.
I have also tried declaring specific variables as 'volatile', which is one other suggestion I found, buy no luck.
Doe anyone have any other suggestions?
Is it really the case that some optimization cannot be turned off?
Thanks.