From 804205a104bc65f3706c145c7d14e532af804dc7 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 26 Jan 2012 19:37:34 +0000 Subject: [PATCH] More USB composite device logic git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4340 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/Documentation/NuttX.html | 4 +- nuttx/Documentation/NuttxPortingGuide.html | 42 ++++ nuttx/configs/README.txt | 23 ++ nuttx/drivers/usbdev/cdcacm.c | 1 + nuttx/drivers/usbdev/composite.c | 72 +++++- nuttx/drivers/usbdev/composite.h | 28 +-- nuttx/drivers/usbdev/usbmsc.c | 1 + nuttx/include/nuttx/usb/cdcacm.h | 22 ++ nuttx/include/nuttx/usb/composite.h | 186 +++++++++++++++ nuttx/include/nuttx/usb/pl2303.h | 91 ++++++++ nuttx/include/nuttx/usb/usbdev.h | 157 +------------ nuttx/include/nuttx/usb/usbhost.h | 8 +- nuttx/include/nuttx/usb/usbmsc.h | 257 +++++++++++++++++++++ 13 files changed, 702 insertions(+), 190 deletions(-) create mode 100644 nuttx/include/nuttx/usb/composite.h create mode 100644 nuttx/include/nuttx/usb/pl2303.h create mode 100644 nuttx/include/nuttx/usb/usbmsc.h diff --git a/nuttx/Documentation/NuttX.html b/nuttx/Documentation/NuttX.html index 86ee51a755..bf0647b25f 100644 --- a/nuttx/Documentation/NuttX.html +++ b/nuttx/Documentation/NuttX.html @@ -8,7 +8,7 @@

NuttX RTOS

-

Last Updated: January 15, 2012

+

Last Updated: January 16, 2012

@@ -644,7 +644,7 @@

-

  • Device-dependent USB class drivers available for USB serial and for USB mass storage.
  • +
  • Device-dependent USB class drivers available for USB serial (CDC/ACM and a PL2303 emulation), for USB mass storage, and for a composite CDC/ACM and mass storage device.
  • diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index 676e6a2e89..941599b1ae 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -5026,6 +5026,48 @@ build +

    USB Composite Device Configuration

    + +

    USB Host-Side Support

    USB Host Controller Driver