add semaphore for control xfer for > 64 support for some mcu such as lpc11u/lpc17xx

This commit is contained in:
hathach
2013-11-15 16:47:26 +07:00
parent d4a260c090
commit 6e463caec0
4 changed files with 73 additions and 44 deletions

View File

@@ -85,9 +85,8 @@
#define TUSB_CFG_DEVICE_HID_MOUSE 1
#define TUSB_CFG_DEVICE_HID_GENERIC 0
#define TUSB_CFG_DEVICE_MSC 0
#define TUSB_CFG_DEVICE_CDC 0
#define TUSB_CFG_DEVICE_CDC 1
// TODO LPC11UXX seems not able to DMA > 64 bytes control transfer while LPC13uxx has no problem with that
//--------------------------------------------------------------------+
// COMMON CONFIGURATION