diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-10-22 22:03:47 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-10-22 22:03:47 +0000 |
commit | 11e4e4b3af8fe6e2ff902a06713adba3182513a6 (patch) | |
tree | d9fd8d82d5413b803486df63d9cef569bf351626 /nuttx/Documentation | |
parent | bfe0e68fe759271533fe2a28f8bc7acde4711d4e (diff) | |
download | px4-nuttx-11e4e4b3af8fe6e2ff902a06713adba3182513a6.tar.gz px4-nuttx-11e4e4b3af8fe6e2ff902a06713adba3182513a6.tar.bz2 px4-nuttx-11e4e4b3af8fe6e2ff902a06713adba3182513a6.zip |
USB bulk storage configuration settings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1064 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation')
-rw-r--r-- | nuttx/Documentation/NuttxPortingGuide.html | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index 091afedba..c8eaa532e 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -16,7 +16,7 @@ </b></big></h1> <p><small>by</small></p> <p>Gregory Nutt</p> - <p><small>Last Update: October 9, 2008</small></p> + <p><small>Last Update: October 22, 2008</small></p> </center> <center><h1>Table of Contents</h1></center> @@ -1678,6 +1678,40 @@ The system can be re-made subsequently by just typing <code>make</code>. </li> </ul> +<h3>USB Storage Device Configuration</h3> +<ul> + <li> + <code>CONFIG_USBSTRG_EP0MAXPACKET</code>: + Max packet size for endpoint 0 + </li> + <li> + <code>CONFIG_USBSTRGEPBULKOUT</code> and <code>CONFIG_USBSTRG_EPBULKIN</code>: + The logical 7-bit address of a hardware endpoints that support bulk OUT and IN operations + </li> + <li> + <code>CONFIG_USBSTRG_NWRREQS</code> and <code>CONFIG_USBSTRG_NRDREQS</code>: + The number of write/read requests that can be in flight + </li> + <li> + <code>CONFIG_USBSTRG_BULKINREQLEN</code> and <code>CONFIG_USBSTRG_BULKOUTREQLEN</code>: + The size of the buffer in each write/read request. + This value needs to be at least as large as the endpoint maxpacket and + ideally as large as a block device sector. + </li> + <li> + <code>CONFIG_USBSTRG_VENDORID</code> and <code>CONFIG_USBSTRG_VENDORSTR</code>: + The vendor ID code/string + </li> + <li> + <code>CONFIG_USBSTRG_PRODUCTID</code> and <code>CONFIG_USBSTRG_PRODUCTSTR</code>: + The product ID code/string + </li> + <li> + <code>CONFIG_USBSTRG_REMOVABLE</code>: + Select if the media is removable + </li> +</ul> + <h2>Stack and heap information</h2> <ul> |