Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Pack single struct in C6748

$
0
0

Hi,

I'm using the C6748 on the OMAP138 and I've read in http://www.ti.com/lit/ug/spru187u/spru187u.pdf that the C6000 compiler has support for packing sturctures, but what is the syntax for it. I have severel structures in my code but I only want one of them to be packed while the rest should be aligned.

Should I use __attribute__((__packed__)) or #pragma pack and do I need to change any settings for the compiler?

Regard,
Abebe


Viewing all articles
Browse latest Browse all 262198

Trending Articles