From a8ee3f1c220e66c63be9097994a02dbaff0da63e Mon Sep 17 00:00:00 2001 From: richardbarry Date: Fri, 7 Aug 2009 14:35:24 +0000 Subject: [PATCH] Add a basic USB CDC example using LPCUSB. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@834 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Demo/CORTEX_LPC1768_GCC_RedSuite/.cproject | 5 +- .../src/FreeRTOSConfig.h | 8 +- .../src/LPCUSB/USB_CDC.c | 459 ++++++++++++++ .../src/LPCUSB/type.h | 38 ++ .../src/LPCUSB/usbapi.h | 118 ++++ .../src/LPCUSB/usbcontrol.c | 246 ++++++++ .../src/LPCUSB/usbdebug.h | 41 ++ .../src/LPCUSB/usbhw_lpc.c | 582 ++++++++++++++++++ .../src/LPCUSB/usbhw_lpc.h | 149 +++++ .../src/LPCUSB/usbinit.c | 82 +++ .../src/LPCUSB/usbstdreq.c | 430 +++++++++++++ .../src/LPCUSB/usbstruct.h | 119 ++++ Demo/CORTEX_LPC1768_GCC_RedSuite/src/main.c | 118 ++-- .../src/rtosdemo_rdb1768_Debug.ld | 4 +- Demo/CORTEX_LPC1768_GCC_RedSuite/usbser.inf | 45 ++ 15 files changed, 2403 insertions(+), 41 deletions(-) create mode 100644 Demo/CORTEX_LPC1768_GCC_RedSuite/src/LPCUSB/USB_CDC.c create mode 100644 Demo/CORTEX_LPC1768_GCC_RedSuite/src/LPCUSB/type.h create mode 100644 Demo/CORTEX_LPC1768_GCC_RedSuite/src/LPCUSB/usbapi.h create mode 100644 Demo/CORTEX_LPC1768_GCC_RedSuite/src/LPCUSB/usbcontrol.c create mode 100644 Demo/CORTEX_LPC1768_GCC_RedSuite/src/LPCUSB/usbdebug.h create mode 100644 Demo/CORTEX_LPC1768_GCC_RedSuite/src/LPCUSB/usbhw_lpc.c create mode 100644 Demo/CORTEX_LPC1768_GCC_RedSuite/src/LPCUSB/usbhw_lpc.h create mode 100644 Demo/CORTEX_LPC1768_GCC_RedSuite/src/LPCUSB/usbinit.c create mode 100644 Demo/CORTEX_LPC1768_GCC_RedSuite/src/LPCUSB/usbstdreq.c create mode 100644 Demo/CORTEX_LPC1768_GCC_RedSuite/src/LPCUSB/usbstruct.h create mode 100644 Demo/CORTEX_LPC1768_GCC_RedSuite/usbser.inf diff --git a/Demo/CORTEX_LPC1768_GCC_RedSuite/.cproject b/Demo/CORTEX_LPC1768_GCC_RedSuite/.cproject index b0c8bf1f0..8da0d6d22 100644 --- a/Demo/CORTEX_LPC1768_GCC_RedSuite/.cproject +++ b/Demo/CORTEX_LPC1768_GCC_RedSuite/.cproject @@ -37,6 +37,7 @@