Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] lpc2148 usb + gcc

2006-02-07 by Dmitry Diky

Hi Bertrik,

> Making the examples work with GCC involved byte-packing all USB related
> structures and replacing compiler specific options with GCC equivalents.
Thanks a lot...

I looked into KEIL's examples and found __packed keyword which appeared in the 
from of 'long'. I'm puzzled there, for example:

char *a, *b;

*(__packed long *) a = *(long *)b;

how to interpret this???

Cheers,
Dmitry.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.