Most USB Composite device debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4344 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
c5e006c8f0
commit
389e425268
@ -4940,6 +4940,15 @@ build
|
|||||||
unique and contiguous. When used with the Mass Storage driver, the
|
unique and contiguous. When used with the Mass Storage driver, the
|
||||||
correct value for this offset is zero.
|
correct value for this offset is zero.
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<code>CONFIG_CDCACM_STRBASE</code>:
|
||||||
|
If the CDC driver is part of a composite device, then this may need to
|
||||||
|
be defined to offset the CDC/ACM string numbers so that they are
|
||||||
|
unique and contiguous. When used with the Mass Storage driver, the
|
||||||
|
correct value for this offset is four (this value actuallly only needs
|
||||||
|
to be defined if names are provided for the Notification interface,
|
||||||
|
<code>CONFIG_CDCACM_NOTIFSTR</code>, or the data interface, <code>CONFIG_CDCACM_DATAIFSTR</code>).
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<code>CONFIG_CDCACM_EP0MAXPACKET</code>: Endpoint 0 max packet size. Default 64.
|
<code>CONFIG_CDCACM_EP0MAXPACKET</code>: Endpoint 0 max packet size. Default 64.
|
||||||
</li>
|
</li>
|
||||||
@ -5010,6 +5019,14 @@ build
|
|||||||
correct value for this offset is two (because of the two CDC/ACM
|
correct value for this offset is two (because of the two CDC/ACM
|
||||||
interfaces that will precede it).
|
interfaces that will precede it).
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<code>CONFIG_USBMSC_STRBASE</code>:
|
||||||
|
If the CDC driver is part of a composite device, then this may need to
|
||||||
|
be defined to offset the mass storage string numbers so that they are
|
||||||
|
unique and contiguous. When used with the CDC/ACM driver, the
|
||||||
|
correct value for this offset is four (or perhaps 5 or 6, depending
|
||||||
|
on if <code>CONFIG_CDCACM_NOTIFSTR</code> or <code>CONFIG_CDCACM_DATAIFSTR</code> are defined).
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<code>CONFIG_USBMSC_EP0MAXPACKET</code>:
|
<code>CONFIG_USBMSC_EP0MAXPACKET</code>:
|
||||||
Max packet size for endpoint 0
|
Max packet size for endpoint 0
|
||||||
|
Loading…
Reference in New Issue
Block a user