summaryrefslogtreecommitdiff
path: root/nuttx/Documentation/NuttxPortingGuide.html
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-26 23:14:27 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-26 23:14:27 +0000
commit8f6700143c5b021a5a1bd3e21a8c20f177e8e9f2 (patch)
tree4bd1111e23d7cdb1b43685aa7f699c694f7c8d7f /nuttx/Documentation/NuttxPortingGuide.html
parentc1f3ba20b6959401b4e259c13c80d9fbd4a50f2c (diff)
downloadpx4-nuttx-8f6700143c5b021a5a1bd3e21a8c20f177e8e9f2.tar.gz
px4-nuttx-8f6700143c5b021a5a1bd3e21a8c20f177e8e9f2.tar.bz2
px4-nuttx-8f6700143c5b021a5a1bd3e21a8c20f177e8e9f2.zip
Add a text for the new composite USB device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4341 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation/NuttxPortingGuide.html')
-rw-r--r--nuttx/Documentation/NuttxPortingGuide.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html
index 941599b1a..d69a85a11 100644
--- a/nuttx/Documentation/NuttxPortingGuide.html
+++ b/nuttx/Documentation/NuttxPortingGuide.html
@@ -4934,6 +4934,13 @@ build
(only if <code>CONFIG_USBDEV_COMPOSITE</code> is also defined)
</li>
<li>
+ <code>CONFIG_CDCACM_IFNOBASE</code>:
+ If the CDC driver is part of a composite device, then this may need to
+ be defined to offset the CDC/ACM interface numbers so that they are
+ unique and contiguous. When used with the Mass Storage driver, the
+ correct value for this offset is zero.
+ </li>
+ <li>
<code>CONFIG_CDCACM_EP0MAXPACKET</code>: Endpoint 0 max packet size. Default 64.
</li>
<li>
@@ -4994,6 +5001,15 @@ build
<code>CONFIG_USBMSC_COMPOSITE</code>:
Configure the mass storage driver as part of a composite driver
(only if <code>CONFIG_USBDEV_COMPOSITE</code> is also defined)
+ </li>
+ <li>
+ <code>CONFIG_USBMSC_IFNOBASE</code>:
+ If the CDC driver is part of a composite device, then this may need to
+ be defined to offset the mass storage interface number so that it is
+ unique and contiguous. When used with the CDC/ACM driver, the
+ correct value for this offset is two (because of the two CDC/ACM
+ interfaces that will precede it).
+ </li>
<li>
<code>CONFIG_USBMSC_EP0MAXPACKET</code>:
Max packet size for endpoint 0