From 92d9c36dbcfd933f872c91ad061e2e5ab184b020 Mon Sep 17 00:00:00 2001 From: hathach Date: Wed, 13 Nov 2013 12:40:11 +0700 Subject: able to build and run cdc device demo on lpc11uxx --- demos/device/device_os_none/.cproject | 86 +++---- demos/device/device_os_none/tusb_config.h | 12 +- tinyusb/class/hid_device.c | 4 +- tinyusb/class/msc_device.c | 17 +- tinyusb/class/msc_device.h | 2 + tinyusb/device/dcd_lpc13uxx.c | 400 ----------------------------- tinyusb/device/dcd_lpc13uxx.h | 60 ----- tinyusb/device/dcd_lpc_11uxx_13uxx.c | 414 ++++++++++++++++++++++++++++++ tinyusb/device/dcd_lpc_11uxx_13uxx.h | 60 +++++ tinyusb/device/usbd.c | 8 + tinyusb/hal/hal_lpc11uxx.c | 1 + tinyusb/hal/hal_lpc11uxx.h | 14 +- tinyusb/hal/hal_lpc13uxx.c | 3 - tinyusb/hal/hal_lpc43xx.c | 6 - tinyusb/mcu_capacity.h | 4 - tinyusb/tusb.c | 8 + tinyusb/tusb_option.h | 4 +- 17 files changed, 561 insertions(+), 542 deletions(-) delete mode 100644 tinyusb/device/dcd_lpc13uxx.c delete mode 100644 tinyusb/device/dcd_lpc13uxx.h create mode 100644 tinyusb/device/dcd_lpc_11uxx_13uxx.c create mode 100644 tinyusb/device/dcd_lpc_11uxx_13uxx.h diff --git a/demos/device/device_os_none/.cproject b/demos/device/device_os_none/.cproject index 18b8d5a27..9175e195e 100644 --- a/demos/device/device_os_none/.cproject +++ b/demos/device/device_os_none/.cproject @@ -30,7 +30,7 @@ - - -