8bit variabile

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by blasiis on Fri May 25 01:11:23 MST 2012
I use LPC1758
I have change the lpcxpresso from version .3.6.2 to 4.2.2
The problem is with scructure like this:

typedef struct
    uint8_t  var1;
    uint8_t  var2;
    uint8_t  var3;
    uint8_t  var4;        
    uint8_t  var5;        
This structure with LPCXPRESSO 3.6.2 is large 5 byte, with LPCXpresso 4.2.2 is large 8 byte !!!
I cannot find the linker option for packet this struct.
Where is ?