ebreuilly wrote: > I download the virtualcom.zip file from keil and I try to compile it > with IAR with LPC2148 IAR board. There are many difference between Keil > and IAR source (ex __irq doesn't exist in IAR) so I can't compile this > correctly. > > Do anyone have already compile this example with IAR ? > > Thank you for your help, > Lo\ufffdc CHEVALIER > Well to get you started, add this chunk of code to the USB_Init function in the "usbhw.c" file after the initializing of the PCONP setting. This will turn on the USB connect transistor on the LPC-2148-E board, that isn't present with the keil board. This will allow you to build the software with Keil's evaluation version and get you started on development. For the moment there is no direct port to IAR. " /* Addes IAR LPC2148-E compatibility */ #define P0_23 (1<<14) /* Enable Vbus */ #define P0_31 (2<<30) /* Enable USB Connect */ PINSEL1 = (P0_23 | P0_31); /* Enable Vbus and USB Connect */ " Regards, */Robert Nelson/*// Applications Engineer robert.nelson@...
Message
Re: [lpc2000] Virtual Com with IAR
2006-04-10 by Robert Nelson
Attachments
- No local attachments were found for this message.