mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +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:
@@ -356,6 +356,10 @@ Detron Configuration Options
|
|||||||
Number of DMA descriptors to allocate in SRAM.
|
Number of DMA descriptors to allocate in SRAM.
|
||||||
CONFIG_LPC17_USBDEV_DMA
|
CONFIG_LPC17_USBDEV_DMA
|
||||||
Enable lpc17xx-specific DMA support
|
Enable lpc17xx-specific DMA support
|
||||||
|
CONFIG_LPC17_USBDEV_NOVBUS
|
||||||
|
Define if the hardware implementation does not support the VBUS signal
|
||||||
|
CONFIG_LPC17_USBDEV_NOLED
|
||||||
|
Define if the hardware implementation does not support the LED output
|
||||||
|
|
||||||
LPC17xx USB Host Configuration
|
LPC17xx USB Host Configuration
|
||||||
|
|
||||||
|
|||||||
@@ -615,7 +615,11 @@ LPCXpresso Configuration Options
|
|||||||
Number of DMA descriptors to allocate in SRAM.
|
Number of DMA descriptors to allocate in SRAM.
|
||||||
CONFIG_LPC17_USBDEV_DMA
|
CONFIG_LPC17_USBDEV_DMA
|
||||||
Enable lpc17xx-specific DMA support
|
Enable lpc17xx-specific DMA support
|
||||||
|
CONFIG_LPC17_USBDEV_NOVBUS
|
||||||
|
Define if the hardware implementation does not support the VBUS signal
|
||||||
|
CONFIG_LPC17_USBDEV_NOLED
|
||||||
|
Define if the hardware implementation does not support the LED output
|
||||||
|
|
||||||
LPC17xx USB Host Configuration (the LPCXpresso does not support USB Host)
|
LPC17xx USB Host Configuration (the LPCXpresso does not support USB Host)
|
||||||
|
|
||||||
CONFIG_USBHOST_OHCIRAM_SIZE
|
CONFIG_USBHOST_OHCIRAM_SIZE
|
||||||
@@ -653,7 +657,7 @@ Where <subdir> is one of the following:
|
|||||||
(but not passing tests as of this writing).
|
(but not passing tests as of this writing).
|
||||||
|
|
||||||
NOTE: At present, the value for the SD SPI frequency is too
|
NOTE: At present, the value for the SD SPI frequency is too
|
||||||
high and the SD will failing. Setting that frequency to 400000
|
high and the SD will fail. Setting that frequency to 400000
|
||||||
removes the problem. TODO: Tune this frequency to some optimal
|
removes the problem. TODO: Tune this frequency to some optimal
|
||||||
value.
|
value.
|
||||||
|
|
||||||
@@ -661,18 +665,6 @@ Where <subdir> is one of the following:
|
|||||||
This configuration directory, performs a simple OS test using
|
This configuration directory, performs a simple OS test using
|
||||||
apps/examples/ostest.
|
apps/examples/ostest.
|
||||||
|
|
||||||
NOTE: The OSTest runs on the LPCXpresso if it is not installed
|
|
||||||
on the base board (using an add-on MAX232 RS232 driver connected
|
|
||||||
to:
|
|
||||||
|
|
||||||
P0[0]/RD1/TXD3/SDA1 J6-9
|
|
||||||
P0[1]/TD1/RXD3/SCL J6-10
|
|
||||||
|
|
||||||
I suspect that this test does not run on with the base board
|
|
||||||
attached because OSTest blasts out a lot of serial data and
|
|
||||||
overruns the FTDI chip before it has a chance to establish the
|
|
||||||
connection with the host.
|
|
||||||
|
|
||||||
thttpd:
|
thttpd:
|
||||||
This builds the THTTPD web server example using the THTTPD and
|
This builds the THTTPD web server example using the THTTPD and
|
||||||
the apps/examples/thttpd application.
|
the apps/examples/thttpd application.
|
||||||
@@ -686,6 +678,6 @@ Where <subdir> is one of the following:
|
|||||||
for more information.
|
for more information.
|
||||||
|
|
||||||
NOTE: At present, the value for the SD SPI frequency is too
|
NOTE: At present, the value for the SD SPI frequency is too
|
||||||
high and the SD will failing. Setting that frequency to 400000
|
high and the SD will fail. Setting that frequency to 400000
|
||||||
removes the problem. TODO: Tune this frequency to some optimal
|
removes the problem. TODO: Tune this frequency to some optimal
|
||||||
value.
|
value.
|
||||||
|
|||||||
@@ -632,12 +632,18 @@ CONFIG_USBHOST_ISOC_DISABLE=y
|
|||||||
# Number of DMA descriptors to allocate in SRAM.
|
# Number of DMA descriptors to allocate in SRAM.
|
||||||
# CONFIG_LPC17_USBDEV_DMA
|
# CONFIG_LPC17_USBDEV_DMA
|
||||||
# Enable lpc17xx-specific DMA support
|
# Enable lpc17xx-specific DMA support
|
||||||
|
# CONFIG_LPC17_USBDEV_NOVBUS
|
||||||
|
# Define if the hardware implementation does not support the VBUS signal
|
||||||
|
# CONFIG_LPC17_USBDEV_NOLED
|
||||||
|
# Define if the hardware implementation does not support the LED output
|
||||||
#
|
#
|
||||||
CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n
|
CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n
|
||||||
CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n
|
CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n
|
||||||
CONFIG_LPC17_USBDEV_DMA=n
|
CONFIG_LPC17_USBDEV_DMA=n
|
||||||
CONFIG_LPC17_USBDEV_NDMADESCRIPTORS=0
|
CONFIG_LPC17_USBDEV_NDMADESCRIPTORS=0
|
||||||
CONFIG_LPC17_USBDEV_DMAINTMASK=0
|
CONFIG_LPC17_USBDEV_DMAINTMASK=0
|
||||||
|
CONFIG_LPC17_USBDEV_NOVBUS=y
|
||||||
|
CONFIG_LPC17_USBDEV_NOLED=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# LPC17xx USB Host Configuration
|
# LPC17xx USB Host Configuration
|
||||||
|
|||||||
@@ -600,12 +600,18 @@ CONFIG_USBDEV_TRACE_NRECORDS=128
|
|||||||
# Number of DMA descriptors to allocate in SRAM.
|
# Number of DMA descriptors to allocate in SRAM.
|
||||||
# CONFIG_LPC17_USBDEV_DMA
|
# CONFIG_LPC17_USBDEV_DMA
|
||||||
# Enable lpc17xx-specific DMA support
|
# Enable lpc17xx-specific DMA support
|
||||||
|
# CONFIG_LPC17_USBDEV_NOVBUS
|
||||||
|
# Define if the hardware implementation does not support the VBUS signal
|
||||||
|
# CONFIG_LPC17_USBDEV_NOLED
|
||||||
|
# Define if the hardware implementation does not support the LED output
|
||||||
#
|
#
|
||||||
CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n
|
CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n
|
||||||
CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n
|
CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n
|
||||||
CONFIG_LPC17_USBDEV_DMA=n
|
CONFIG_LPC17_USBDEV_DMA=n
|
||||||
CONFIG_LPC17_USBDEV_NDMADESCRIPTORS=0
|
CONFIG_LPC17_USBDEV_NDMADESCRIPTORS=0
|
||||||
CONFIG_LPC17_USBDEV_DMAINTMASK=0
|
CONFIG_LPC17_USBDEV_DMAINTMASK=0
|
||||||
|
CONFIG_LPC17_USBDEV_NOVBUS=y
|
||||||
|
CONFIG_LPC17_USBDEV_NOLED=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# USB Serial Device Configuration
|
# USB Serial Device Configuration
|
||||||
|
|||||||
@@ -621,12 +621,18 @@ CONFIG_USBDEV_TRACE_NRECORDS=128
|
|||||||
# Number of DMA descriptors to allocate in SRAM.
|
# Number of DMA descriptors to allocate in SRAM.
|
||||||
# CONFIG_LPC17_USBDEV_DMA
|
# CONFIG_LPC17_USBDEV_DMA
|
||||||
# Enable lpc17xx-specific DMA support
|
# Enable lpc17xx-specific DMA support
|
||||||
|
# CONFIG_LPC17_USBDEV_NOVBUS
|
||||||
|
# Define if the hardware implementation does not support the VBUS signal
|
||||||
|
# CONFIG_LPC17_USBDEV_NOLED
|
||||||
|
# Define if the hardware implementation does not support the LED output
|
||||||
#
|
#
|
||||||
CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n
|
CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n
|
||||||
CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n
|
CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n
|
||||||
CONFIG_LPC17_USBDEV_DMA=n
|
CONFIG_LPC17_USBDEV_DMA=n
|
||||||
CONFIG_LPC17_USBDEV_NDMADESCRIPTORS=0
|
CONFIG_LPC17_USBDEV_NDMADESCRIPTORS=0
|
||||||
CONFIG_LPC17_USBDEV_DMAINTMASK=0
|
CONFIG_LPC17_USBDEV_DMAINTMASK=0
|
||||||
|
CONFIG_LPC17_USBDEV_NOVBUS=y
|
||||||
|
CONFIG_LPC17_USBDEV_NOLED=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# USB Serial Device Configuration
|
# USB Serial Device Configuration
|
||||||
|
|||||||
@@ -601,12 +601,18 @@ CONFIG_USBDEV_TRACE_NRECORDS=128
|
|||||||
# Number of DMA descriptors to allocate in SRAM.
|
# Number of DMA descriptors to allocate in SRAM.
|
||||||
# CONFIG_LPC17_USBDEV_DMA
|
# CONFIG_LPC17_USBDEV_DMA
|
||||||
# Enable lpc17xx-specific DMA support
|
# Enable lpc17xx-specific DMA support
|
||||||
|
# CONFIG_LPC17_USBDEV_NOVBUS
|
||||||
|
# Define if the hardware implementation does not support the VBUS signal
|
||||||
|
# CONFIG_LPC17_USBDEV_NOLED
|
||||||
|
# Define if the hardware implementation does not support the LED output
|
||||||
#
|
#
|
||||||
CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n
|
CONFIG_LPC17_USBDEV_FRAME_INTERRUPT=n
|
||||||
CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n
|
CONFIG_LPC17_USBDEV_EPFAST_INTERRUPT=n
|
||||||
CONFIG_LPC17_USBDEV_DMA=n
|
CONFIG_LPC17_USBDEV_DMA=n
|
||||||
CONFIG_LPC17_USBDEV_NDMADESCRIPTORS=0
|
CONFIG_LPC17_USBDEV_NDMADESCRIPTORS=0
|
||||||
CONFIG_LPC17_USBDEV_DMAINTMASK=0
|
CONFIG_LPC17_USBDEV_DMAINTMASK=0
|
||||||
|
CONFIG_LPC17_USBDEV_NOVBUS=y
|
||||||
|
CONFIG_LPC17_USBDEV_NOLED=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# USB Serial Device Configuration
|
# USB Serial Device Configuration
|
||||||
|
|||||||
@@ -320,6 +320,10 @@ mbed Configuration Options
|
|||||||
Number of DMA descriptors to allocate in SRAM.
|
Number of DMA descriptors to allocate in SRAM.
|
||||||
CONFIG_LPC17_USBDEV_DMA
|
CONFIG_LPC17_USBDEV_DMA
|
||||||
Enable lpc17xx-specific DMA support
|
Enable lpc17xx-specific DMA support
|
||||||
|
CONFIG_LPC17_USBDEV_NOVBUS
|
||||||
|
Define if the hardware implementation does not support the VBUS signal
|
||||||
|
CONFIG_LPC17_USBDEV_NOLED
|
||||||
|
Define if the hardware implementation does not support the LED output
|
||||||
|
|
||||||
LPC17xx USB Host Configuration
|
LPC17xx USB Host Configuration
|
||||||
|
|
||||||
|
|||||||
@@ -432,6 +432,10 @@ Nucleus 2G Configuration Options
|
|||||||
Number of DMA descriptors to allocate in SRAM.
|
Number of DMA descriptors to allocate in SRAM.
|
||||||
CONFIG_LPC17_USBDEV_DMA
|
CONFIG_LPC17_USBDEV_DMA
|
||||||
Enable lpc17xx-specific DMA support
|
Enable lpc17xx-specific DMA support
|
||||||
|
CONFIG_LPC17_USBDEV_NOVBUS
|
||||||
|
Define if the hardware implementation does not support the VBUS signal
|
||||||
|
CONFIG_LPC17_USBDEV_NOLED
|
||||||
|
Define if the hardware implementation does not support the LED output
|
||||||
|
|
||||||
LPC17xx USB Host Configuration (the Nucleus2G does not support USB Host)
|
LPC17xx USB Host Configuration (the Nucleus2G does not support USB Host)
|
||||||
|
|
||||||
|
|||||||
@@ -715,6 +715,10 @@ Olimex LPC1766-STK Configuration Options
|
|||||||
Number of DMA descriptors to allocate in SRAM.
|
Number of DMA descriptors to allocate in SRAM.
|
||||||
CONFIG_LPC17_USBDEV_DMA
|
CONFIG_LPC17_USBDEV_DMA
|
||||||
Enable lpc17xx-specific DMA support
|
Enable lpc17xx-specific DMA support
|
||||||
|
CONFIG_LPC17_USBDEV_NOVBUS
|
||||||
|
Define if the hardware implementation does not support the VBUS signal
|
||||||
|
CONFIG_LPC17_USBDEV_NOLED
|
||||||
|
Define if the hardware implementation does not support the LED output
|
||||||
|
|
||||||
LPC17xx USB Host Configuration
|
LPC17xx USB Host Configuration
|
||||||
CONFIG_USBHOST_OHCIRAM_SIZE
|
CONFIG_USBHOST_OHCIRAM_SIZE
|
||||||
|
|||||||
Reference in New Issue
Block a user