Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

MCU R7F12477 - ARM GCC embedded 4.9 : Compilator set bad address on structure declaration

$
0
0

Hello everybody,

I have declared a structure and sometimes when the variable type changed, there is bad memory adressing.

For instance (see the image below), currentGain variable is a uInt8 variable stored at "0x20001300" adress.

So, the next variable "Volume" should be place at "0x20001301" instead of "0x20001302" , no ??

Thanks for the help,

Best regards,

Mathieu


Viewing all articles
Browse latest Browse all 5781

Trending Articles