Yahoo Groups archive

Lpc2000

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

Message

RE: [lpc2000] Keil USBmem example doesn't work when GCC compiler is used

2006-01-02 by Joel Winarske

> I'm trying to recompile the USBmem example created by Keil for the
> LPC2148 using the GCC GNU compiler version 3.3.1
> 
> I introduced the __attribute__ ((__packed__)) in all structs and I
> replaced the Keil __packed attribute related to 2 WORD pointers with
> the related instructions, but again the code doesn't work.
> 
> Does anybody realize the porting of the USBmem example using the GCC
> compiler ?


Be sure USB_EndPoint0() is being called correctly or nothing will work.

Joel

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.