mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
update usb host docs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3218 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
<h1><big><font color="#3c34ec">
|
<h1><big><font color="#3c34ec">
|
||||||
<i>NuttX RTOS Porting Guide</i>
|
<i>NuttX RTOS Porting Guide</i>
|
||||||
</font></big></h1>
|
</font></big></h1>
|
||||||
<p>Last Updated: December 4, 2010</p>
|
<p>Last Updated: December 22, 2010</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@@ -3213,6 +3213,17 @@ build
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</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>
|
<h2>Graphics related configuration settings</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -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 - Enables USB tracing for debug
|
||||||
CONFIG_USBDEV_TRACE_NRECORDS - Number of trace entries to remember
|
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
|
USB serial device class driver
|
||||||
CONFIG_USBSER
|
CONFIG_USBSER
|
||||||
Enable compilation of the USB serial driver
|
Enable compilation of the USB serial driver
|
||||||
|
|||||||
@@ -418,7 +418,7 @@ Nucleus 2G Configuration Options
|
|||||||
CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames.
|
CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames.
|
||||||
Automatically set if CONFIG_NET_IGMP is selected.
|
Automatically set if CONFIG_NET_IGMP is selected.
|
||||||
|
|
||||||
LPC17xx USB Configuration
|
LPC17xx USB Device Configuration
|
||||||
|
|
||||||
CONFIG_LPC17_USBDEV_FRAME_INTERRUPT
|
CONFIG_LPC17_USBDEV_FRAME_INTERRUPT
|
||||||
Handle USB Start-Of-Frame events.
|
Handle USB Start-Of-Frame events.
|
||||||
@@ -433,6 +433,18 @@ Nucleus 2G Configuration Options
|
|||||||
CONFIG_LPC17_USBDEV_DMA
|
CONFIG_LPC17_USBDEV_DMA
|
||||||
Enable lpc17xx-specific DMA support
|
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
|
USB Host Configuration
|
||||||
^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|||||||
@@ -664,7 +664,7 @@ Olimex LPC1766-STK Configuration Options
|
|||||||
CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames.
|
CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames.
|
||||||
Automatically set if CONFIG_NET_IGMP is selected.
|
Automatically set if CONFIG_NET_IGMP is selected.
|
||||||
|
|
||||||
LPC17xx USB Configuration
|
LPC17xx USB Device Configuration
|
||||||
|
|
||||||
CONFIG_LPC17_USBDEV_FRAME_INTERRUPT
|
CONFIG_LPC17_USBDEV_FRAME_INTERRUPT
|
||||||
Handle USB Start-Of-Frame events.
|
Handle USB Start-Of-Frame events.
|
||||||
@@ -679,6 +679,18 @@ Olimex LPC1766-STK Configuration Options
|
|||||||
CONFIG_LPC17_USBDEV_DMA
|
CONFIG_LPC17_USBDEV_DMA
|
||||||
Enable lpc17xx-specific DMA support
|
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
|
USB Host Configuration
|
||||||
^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user