diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-12-23 02:06:23 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-12-23 02:06:23 +0000 |
commit | 385d1a99193d597ee2a17e6d8df4c14f14c5fb5c (patch) | |
tree | edefc00afbe13c83bb33c24fdd053a99f91726c4 /nuttx | |
parent | a23dbb35fd4ef9392d8d54415065c7aa5257f43f (diff) | |
download | px4-nuttx-385d1a99193d597ee2a17e6d8df4c14f14c5fb5c.tar.gz px4-nuttx-385d1a99193d597ee2a17e6d8df4c14f14c5fb5c.tar.bz2 px4-nuttx-385d1a99193d597ee2a17e6d8df4c14f14c5fb5c.zip |
update usb host docs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3218 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/Documentation/NuttxPortingGuide.html | 13 | ||||
-rw-r--r-- | nuttx/configs/README.txt | 6 | ||||
-rwxr-xr-x | nuttx/configs/nucleus2g/README.txt | 14 | ||||
-rwxr-xr-x | nuttx/configs/olimex-lpc1766stk/README.txt | 14 |
4 files changed, 44 insertions, 3 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index 2755078fe..cdc4db1d3 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -12,7 +12,7 @@ <h1><big><font color="#3c34ec"> <i>NuttX RTOS Porting Guide</i> </font></big></h1> - <p>Last Updated: December 4, 2010</p> + <p>Last Updated: December 22, 2010</p> </td> </tr> </table> @@ -3213,6 +3213,17 @@ build </li> </ul> +<h2>USB Host-Side Support</h2> +<h3>USB Host Controller Driver</h3> +<ul> + <li> + <code>CONFIG_USBHOST</code>: Enables USB host support + </li> + <li> + <code>CONFIG_USBHOST_NPREALLOC</code>: Number of pre-allocated class instances + </li> +</ul> + <h2>Graphics related configuration settings</h3> <ul> <li> diff --git a/nuttx/configs/README.txt b/nuttx/configs/README.txt index 1d0eb0f8e..e2b725c90 100644 --- a/nuttx/configs/README.txt +++ b/nuttx/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/nuttx/configs/nucleus2g/README.txt b/nuttx/configs/nucleus2g/README.txt index 8e75cbedc..21b04a08f 100755 --- a/nuttx/configs/nucleus2g/README.txt +++ b/nuttx/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/nuttx/configs/olimex-lpc1766stk/README.txt b/nuttx/configs/olimex-lpc1766stk/README.txt index 822ae98bb..cd7a1ca49 100755 --- a/nuttx/configs/olimex-lpc1766stk/README.txt +++ b/nuttx/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
^^^^^^^^^^^^^^^^^^^^^^
|