mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user