Hi LPC Community,
I am porting the New LPCOpen Library 18xx->43xx for Keil uVision.
I am using the LPC4330FBD144 as my device and will be coded on Keil uVision.
My code works fine on Optimization 0 and 1 with no warnings and build errors.
But when I tried Optimization 2-3, the program would hang up with no changes in the code.
Is the new LPCOpen DFP 3.02 tested with Optimization Level 3 on Keil uVision?
I already read the Application Note 202, 298 for MDK ARM compiler optimization and it is quite tedious to check for "volatile" on variables, applying __attribute__((used)) on functions to be skipped and we are not allowed to use #pragma on actual program deployment of the firmware to isolate the hanging part. Please advise if someone tested it with Optimization Level 3 and they succeeded with no hangup or faults.
Thanks and Good Day,
Leo Pestañas