LPCXpresso USB device works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3516 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
79969811d9
commit
84b6335212
@ -3176,9 +3176,13 @@ void up_usbinitialize(void)
|
||||
/* Step 3: Configure I/O pins */
|
||||
|
||||
usbdev_dumpgpio();
|
||||
#ifndef CONFIG_LPC17_USBDEV_NOVBUS
|
||||
lpc17_configgpio(GPIO_USB_VBUS); /* VBUS status input */
|
||||
#endif
|
||||
lpc17_configgpio(GPIO_USB_CONNECT); /* SoftConnect control signal */
|
||||
#ifndef CONFIG_LPC17_USBDEV_NOLED
|
||||
lpc17_configgpio(GPIO_USB_UPLED); /* GoodLink LED control signal */
|
||||
#endif
|
||||
lpc17_configgpio(GPIO_USB_DP); /* Positive differential data */
|
||||
lpc17_configgpio(GPIO_USB_DM); /* Negative differential data */
|
||||
usbdev_dumpgpio();
|
||||
|
Loading…
Reference in New Issue
Block a user