(CW7.1.2 patch build 11)
How do I get my string alignment to stop adding extra bytes in the following example?
volatile uchar ID1 = "123456789";
volatile uchar ID2 = "987654321";
} > my_NVM
10060026 0000000C .data ID1(nvm.c)
10060034 0000000C .data ID2(nvm.c)
The map file shows ID2 at 0x10060034 instead of 0x10060032. If I change ID1 array to ID1, ID2 array is still at 10060034. Single byte varibles, 2 byte varibles are fine, its just arrays as far as i can tell.
What do I need to do to fix this issue?