Hi,
I have just started playing with CCE 3.0 and have a question regarding packing of C-language structures.With IAR we use the pragma below to pack a structure, what would the equivalent be using CCE? Without the default settings, CCE insert padding bytes before the 8-bit variables, I want to avoid this.
#ifdef __ICC430__
#pragma pack(1)
#endif
typedef struct {
uint8 packetLength;
uint16 frameControlField;
uint8 seqNumber;
uint16 panId;
uint16 destAddr;
uint16 srcAddr;
#ifdef SECURITY_CCM
uint8 securityControl;
uint32 frameCounter;
#endif
} basicRfPktHdr_t;
#ifdef __ICC430__
#pragma pack()
#endif