Hello,
I am using the F28335 in my application. I currently have a problem with the compiler:
I noticed during a debugging session some bad behaviours from some of my globals. In fact, the value these globals had during debug were impossible.
Later, I checked the .MAP file of my project, and I observed something weird:
The compiler actually allocated these globals, which were declared as INT, in a 1 byte memory space. For example:
int a1;
int b1,b2,b3;
And in the MAP file I see:
00a040 _a1
00a041 _b1
00a042 _b2
00a043 _b3
I am sure that it's the reason of these weird behaviours.
But I'm asking myself how the compiler could have done this.
For information , in the build options I disabled all the optimization options.
These variables are not declared as external char in an other file...
Can someone help me ?