We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi....I am writing code for STR710FZ2 using Keil compiler.when i checked the sizeof a structure which i defined i got the size as 12 eventhough the actual size is 10.Since arm is 32 bit i can only defines structure whose size is a multiply of 4...can anybody tell me a way to overcome this problem....
To overcome the problem use the __packed attribute. More info: http://www.keil.com/support/man/docs/armcc/armcc_cjajddhb.htm