Massive name change USB STRG -> USB MSC

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4334 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2012-01-25 20:17:59 +00:00
parent 422cdf7e26
commit 16c2867705

View File

@ -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: January 24, 2011</p> <p>Last Updated: January 25, 2011</p>
</td> </td>
</tr> </tr>
</table> </table>
@ -4987,41 +4987,41 @@ build
<h3>USB Storage Device Configuration</h3> <h3>USB Storage Device Configuration</h3>
<ul> <ul>
<li> <li>
<code>CONFIG_USBSTRG</code>: <code>CONFIG_USBMSC</code>:
Enable compilation of the USB storage driver Enable compilation of the USB storage driver
</li> </li>
<li> <li>
<code>CONFIG_USBSTRG_COMPOSITE</code>: <code>CONFIG_USBMSC_COMPOSITE</code>:
Configure the mass storage driver as part of a composite driver Configure the mass storage driver as part of a composite driver
(only if <code>CONFIG_USBDEV_COMPOSITE</code> is also defined) (only if <code>CONFIG_USBDEV_COMPOSITE</code> is also defined)
<li> <li>
<code>CONFIG_USBSTRG_EP0MAXPACKET</code>: <code>CONFIG_USBMSC_EP0MAXPACKET</code>:
Max packet size for endpoint 0 Max packet size for endpoint 0
</li> </li>
<li> <li>
<code>CONFIG_USBSTRGEPBULKOUT</code> and <code>CONFIG_USBSTRG_EPBULKIN</code>: <code>CONFIG_USBMSCEPBULKOUT</code> and <code>CONFIG_USBMSC_EPBULKIN</code>:
The logical 7-bit address of a hardware endpoints that support bulk OUT and IN operations The logical 7-bit address of a hardware endpoints that support bulk OUT and IN operations
</li> </li>
<li> <li>
<code>CONFIG_USBSTRG_NWRREQS</code> and <code>CONFIG_USBSTRG_NRDREQS</code>: <code>CONFIG_USBMSC_NWRREQS</code> and <code>CONFIG_USBMSC_NRDREQS</code>:
The number of write/read requests that can be in flight The number of write/read requests that can be in flight
</li> </li>
<li> <li>
<code>CONFIG_USBSTRG_BULKINREQLEN</code> and <code>CONFIG_USBSTRG_BULKOUTREQLEN</code>: <code>CONFIG_USBMSC_BULKINREQLEN</code> and <code>CONFIG_USBMSC_BULKOUTREQLEN</code>:
The size of the buffer in each write/read request. The size of the buffer in each write/read request.
This value needs to be at least as large as the endpoint maxpacket and This value needs to be at least as large as the endpoint maxpacket and
ideally as large as a block device sector. ideally as large as a block device sector.
</li> </li>
<li> <li>
<code>CONFIG_USBSTRG_VENDORID</code> and <code>CONFIG_USBSTRG_VENDORSTR</code>: <code>CONFIG_USBMSC_VENDORID</code> and <code>CONFIG_USBMSC_VENDORSTR</code>:
The vendor ID code/string The vendor ID code/string
</li> </li>
<li> <li>
<code>CONFIG_USBSTRG_PRODUCTID</code> and <code>CONFIG_USBSTRG_PRODUCTSTR</code>: <code>CONFIG_USBMSC_PRODUCTID</code> and <code>CONFIG_USBMSC_PRODUCTSTR</code>:
The product ID code/string The product ID code/string
</li> </li>
<li> <li>
<code>CONFIG_USBSTRG_REMOVABLE</code>: <code>CONFIG_USBMSC_REMOVABLE</code>:
Select if the media is removable Select if the media is removable
</li> </li>
</ul> </ul>