Hi,
I am using CCS Version: 4.2.4.00033. I am getting variable corruption in a function when I change the compiler optimization level from blank to "0". All of the variables in the function are declared volatile. My stack size is at 1024 and should be large enough. This routine does use malloc. About 1/2 of the heap is used.
e.g. volatile UInt32 bytes, checksum, mask ,i;
Any suggestions? Are there in-line compiler optimization switches to override the global settings?
Regards
Paul