summaryrefslogtreecommitdiffstats
path: root/nuttx/Documentation
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2008-10-22 22:03:47 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2008-10-22 22:03:47 +0000
commitfa16fb6a64a3b740f1ba9c86adb7304d28326842 (patch)
treed9fd8d82d5413b803486df63d9cef569bf351626 /nuttx/Documentation
parentbf15cd98eb436bf905e4c7bf35287f70b5793b33 (diff)
USB bulk storage configuration settings
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@1064 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/Documentation')
-rw-r--r--nuttx/Documentation/NuttxPortingGuide.html36
1 files changed, 35 insertions, 1 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html
index 091afedba9..c8eaa532e9 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>