diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-13 19:04:13 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-13 19:04:13 +0000 |
commit | 18d4d71fbd502bffaaadacb4ab9087426cce7047 (patch) | |
tree | 8b5feff5e248672c6f5eb77960459e66ab05a85c /nuttx/Documentation/NuttxPortingGuide.html | |
parent | 911a1d2fafcd6eff4c99765b184a6e82f816b312 (diff) | |
download | px4-nuttx-18d4d71fbd502bffaaadacb4ab9087426cce7047.tar.gz px4-nuttx-18d4d71fbd502bffaaadacb4ab9087426cce7047.tar.bz2 px4-nuttx-18d4d71fbd502bffaaadacb4ab9087426cce7047.zip |
Add CDC ACM serial class device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3953 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation/NuttxPortingGuide.html')
-rw-r--r-- | nuttx/Documentation/NuttxPortingGuide.html | 55 |
1 files changed, 53 insertions, 2 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index e02e85cc5..de02f2519 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: September 4, 2011</p> + <p>Last Updated: September 13, 2011</p> </td> </tr> </table> @@ -4744,7 +4744,7 @@ build </li> </ul> -<h3>USB Serial Device Class Driver</h3> +<h3>USB Serial Device Class Driver (Prolific PL2303 Emulation)</h3> <ul> <li> <code>CONFIG_USBSER</code>: Enable compilation of the USB serial driver @@ -4772,6 +4772,57 @@ build </li> </ul> +<h3>USB serial device class driver (Standard CDC ACM class)</h3> +<ul> + <li> + <code>CONFIG_CDCSER</code>: Enable compilation of the USB serial driver + </li> + <li> + <code>CONFIG_CDCSER_EP0MAXPACKET</code>: Endpoint 0 max packet size. Default 8. + </li> + <li> + <code>CONFIG_CDCSER_EPINTIN</code>: The logical 7-bit address of a hardware endpoint that supports + interrupt IN operation. Default 2. + </li> + <li> + <code>CONFIG_CDCSER_EPINTIN_FSSIZE</code>: Max package size for the interrupt IN endpoint if full speed mode. Default 64. + </li> + <li> + <code>CONFIG_CDCSER_EPINTIN_HSSIZE</code>: Max package size for the interrupt IN endpoint if high speed mode. Default 512. + </li> + <li> + <code>CONFIG_CDCSER_EPBULKOUT</code>: The logical 7-bit address of a hardware endpoint that supports + bulk OUT operation. + </li> + <li> + <code>CONFIG_CDCSER_EPBULKOUT_FSSIZE</code>: Max package size for the bulk OUT endpoint if full speed mode. Default 64. + </li> + <li> + <code>CONFIG_CDCSER_EPBULKOUT_HSSIZE</code>: Max package size for the bulk OUT endpoint if high speed mode. Default 512. + </li> + <li> + <code>CONFIG_CDCSER_EPBULKIN</code>: The logical 7-bit address of a hardware endpoint that supports + bulk IN operation + </li> + <li> + <code>CONFIG_CDCSER_EPBULKIN_FSSIZE</code>: Max package size for the bulk IN endpoint if full speed mode. Default 64. + </li> + <li> + <code>CONFIG_CDCSER_EPBULKIN_HSSIZE</code>: Max package size for the bulk IN endpoint if high speed mode. Default 512. + </li> + <li> + <code>CONFIG_CDCSER_NWRREQS</code> and <code>CONFIG_CDCSER_NRDREQS</code>: The number of write/read requests that can be in flight. Default 4. + </li> + <li> + <code>CONFIG_CDCSER_VENDORID</code> and <code>CONFIG_CDCSER_VENDORSTR</code>: The vendor ID code/string. Default 0x03eb and "NuttX" + </li> + <li> + <code>CONFIG_CDCSER_PRODUCTID</code> and <code>CONFIG_CDCSER_PRODUCTSTR</code>: The product ID code/string. Default 0x204b and "CDC/ACM Serial" + </li> + <li> + <code>CONFIG_CDCSER_RXBUFSIZE</code> and <code>CONFIG_CDCSER_TXBUFSIZE</code>: Size of the serial receive/transmit buffers. Default 256. +</ul> + <h3>USB Storage Device Configuration</h3> <ul> <li> |