diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-16 19:28:00 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-04-16 19:28:00 +0000 |
commit | 1607d9c23e02c53c00bfd900fa061d2d5afd6950 (patch) | |
tree | 8588755165f0e60cf5406c1c8455ea0bb60c5915 /nuttx/configs/lpcxpresso-lpc1768/src | |
parent | 105a59fa90e7dd9f7cd2bea774d99e60c3562fa8 (diff) | |
download | px4-nuttx-1607d9c23e02c53c00bfd900fa061d2d5afd6950.tar.gz px4-nuttx-1607d9c23e02c53c00bfd900fa061d2d5afd6950.tar.bz2 px4-nuttx-1607d9c23e02c53c00bfd900fa061d2d5afd6950.zip |
Misc USB storage-related cleanup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3515 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/lpcxpresso-lpc1768/src')
-rwxr-xr-x | nuttx/configs/lpcxpresso-lpc1768/src/lpcxpresso_internal.h | 30 | ||||
-rwxr-xr-x | nuttx/configs/lpcxpresso-lpc1768/src/up_usbstrg.c | 2 |
2 files changed, 24 insertions, 8 deletions
diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/lpcxpresso_internal.h b/nuttx/configs/lpcxpresso-lpc1768/src/lpcxpresso_internal.h index dce63cdff..9d9eb3863 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/src/lpcxpresso_internal.h +++ b/nuttx/configs/lpcxpresso-lpc1768/src/lpcxpresso_internal.h @@ -154,13 +154,29 @@ # define LPCXPRESSO_SD_CD (GPIO_INPUT | GPIO_PULLUP | GPIO_PORT2 | GPIO_PIN11) #endif -/* Base-board J4/J6 LPC1768 - * Signal Pin Pin - * ------------------- ----- -------- - * PIO0_6-USB_CONNECT* 23 P0.21 - * USB_DM 36 USB_D- - * USB_DP 37 USB_D+ - * PIO0_3-VBUS_SENSE 39 P0.5 +/* USB: + * + * Base-board J4/J6 LPC1768 + * Signal Pin Pin + * ------------------- ----- -------- + * USB_DM 36 P0.30/USB-D- + * USB_DP 37 P0.29/USB-D+ + * N/C N/C P1.18/USB-UP-LED/PWM1.1/CAP1.0 + * PIO1_3 (not used) 19 P1.30/VBUS/AD0.4 + * N/C N/C P2.9/USB-CONNECT/RXD2 (See Notes) + * ------------------- ----- -------- + * PIO0_6-USB_CONNECT* 23 P0.21/RI1/RD1 + * PIO0_3-VBUS_SENSE 39 P0.5/I2SRX-WS/TD2/CAP2.1 + * + * Noes: + * - The standard USB CONNECT (P0.9) provides USB D+ pullup on board the + * LPCXpresso card; it should be un-necessary to use the based board + * version of the pullup. + * - J14 must be set to permit GPIO control of the base board USB connect + * pin + * - The standard VBUS (P1.30) is not connected. + * - J12 must be set to permit GPIO control of the USB vbus sense pin + * - The standard USB LED (P1.18) is not connected. */ #define LPCXPRESSO_USB_CONNECT (GPIO_OUTPUT | GPIO_VALUE_ONE | GPIO_PORT0 | GPIO_PIN21) diff --git a/nuttx/configs/lpcxpresso-lpc1768/src/up_usbstrg.c b/nuttx/configs/lpcxpresso-lpc1768/src/up_usbstrg.c index 1d0be18eb..04911d657 100755 --- a/nuttx/configs/lpcxpresso-lpc1768/src/up_usbstrg.c +++ b/nuttx/configs/lpcxpresso-lpc1768/src/up_usbstrg.c @@ -1,7 +1,7 @@ /**************************************************************************** * configs/lpcxpresso-lpc1768/src/up_usbstrg.c * - * Copyright (C) 2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Configure and register the LPC17xx MMC/SD SPI block driver. |