From 6ac3d377deefb0c5a78d68a8bccd870776466085 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 23 Dec 2010 02:06:23 +0000 Subject: [PATCH] update usb host docs git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3218 42af7a65-404d-4744-a932-0658087f49c3 --- configs/README.txt | 6 ++++++ configs/nucleus2g/README.txt | 14 +++++++++++++- configs/olimex-lpc1766stk/README.txt | 14 +++++++++++++- 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/configs/README.txt b/configs/README.txt index 1d0eb0f8e9..e2b725c908 100644 --- a/configs/README.txt +++ b/configs/README.txt @@ -703,6 +703,12 @@ defconfig -- This is a configuration file similar to the Linux CONFIG_USBDEV_TRACE - Enables USB tracing for debug CONFIG_USBDEV_TRACE_NRECORDS - Number of trace entries to remember + USB host controller driver + CONFIG_USBHOST + Enables USB host support + CONFIG_USBHOST_NPREALLOC + Number of pre-allocated class instances + USB serial device class driver CONFIG_USBSER Enable compilation of the USB serial driver diff --git a/configs/nucleus2g/README.txt b/configs/nucleus2g/README.txt index 8e75cbedca..21b04a08fb 100755 --- a/configs/nucleus2g/README.txt +++ b/configs/nucleus2g/README.txt @@ -418,7 +418,7 @@ Nucleus 2G Configuration Options CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. Automatically set if CONFIG_NET_IGMP is selected. - LPC17xx USB Configuration + LPC17xx USB Device Configuration CONFIG_LPC17_USBDEV_FRAME_INTERRUPT Handle USB Start-Of-Frame events. @@ -433,6 +433,18 @@ Nucleus 2G Configuration Options CONFIG_LPC17_USBDEV_DMA Enable lpc17xx-specific DMA support + LPC17xx USB Host Configuration + CONFIG_USBHOST_OHCIRAM_SIZE + Total size of OHCI RAM (in AHB SRAM Bank 1) + CONFIG_USBHOST_NEDS + Number of endpoint descriptors + CONFIG_USBHOST_TDBUFFERS + Number of transfer descriptor buffers + CONFIG_USBHOST_TDBUFSIZE + Size of one transfer descriptor buffer + CONFIG_USBHOST_IOBUFSIZE + Size of one end-user I/O buffer + USB Host Configuration ^^^^^^^^^^^^^^^^^^^^^^ diff --git a/configs/olimex-lpc1766stk/README.txt b/configs/olimex-lpc1766stk/README.txt index 822ae98bb7..cd7a1ca493 100755 --- a/configs/olimex-lpc1766stk/README.txt +++ b/configs/olimex-lpc1766stk/README.txt @@ -664,7 +664,7 @@ Olimex LPC1766-STK Configuration Options CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. Automatically set if CONFIG_NET_IGMP is selected. - LPC17xx USB Configuration + LPC17xx USB Device Configuration CONFIG_LPC17_USBDEV_FRAME_INTERRUPT Handle USB Start-Of-Frame events. @@ -679,6 +679,18 @@ Olimex LPC1766-STK Configuration Options CONFIG_LPC17_USBDEV_DMA Enable lpc17xx-specific DMA support + LPC17xx USB Host Configuration + CONFIG_USBHOST_OHCIRAM_SIZE + Total size of OHCI RAM (in AHB SRAM Bank 1) + CONFIG_USBHOST_NEDS + Number of endpoint descriptors + CONFIG_USBHOST_TDBUFFERS + Number of transfer descriptor buffers + CONFIG_USBHOST_TDBUFSIZE + Size of one transfer descriptor buffer + CONFIG_USBHOST_IOBUFSIZE + Size of one end-user I/O buffer + USB Host Configuration ^^^^^^^^^^^^^^^^^^^^^^