Global variable on LPC1113

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by maxmel on Thu Jan 06 09:06:53 MST 2011
[FONT=Verdana][SIZE=2]Hi, [/SIZE][/FONT]
[FONT=Verdana][SIZE=2]I have got a question on the placement on the global variables :[/SIZE][/FONT]
[FONT=Verdana][SIZE=2]the unsigned char and unsigned  int  are not located in the file .map in the order of their declarations [/SIZE][/FONT]
[FONT=Verdana][SIZE=2]there is no optimization selected[/SIZE][/FONT]
[FONT=Verdana][SIZE=2] [/SIZE][/FONT]
[FONT=Verdana][SIZE=2]What is the reason?  How to fix their addresses?[/SIZE][/FONT]
[FONT=Verdana][SIZE=2]Thank you[/SIZE][/FONT]