From 4acba7bfa1b6a4e89653862fff470da51252bab3 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 26 Jan 2012 23:14:27 +0000 Subject: [PATCH] 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 --- Documentation/NuttxPortingGuide.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index 941599b1ae..d69a85a11b 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -4933,6 +4933,13 @@ build Configure the CDC serial driver as part of a composite driver (only if CONFIG_USBDEV_COMPOSITE is also defined) +
  • + CONFIG_CDCACM_IFNOBASE: + 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. +
  • CONFIG_CDCACM_EP0MAXPACKET: Endpoint 0 max packet size. Default 64.
  • @@ -4994,6 +5001,15 @@ build CONFIG_USBMSC_COMPOSITE: Configure the mass storage driver as part of a composite driver (only if CONFIG_USBDEV_COMPOSITE is also defined) + +
  • + CONFIG_USBMSC_IFNOBASE: + 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). +
  • CONFIG_USBMSC_EP0MAXPACKET: Max packet size for endpoint 0