summaryrefslogtreecommitdiff
path: root/tinyusb/tusb_option.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-04-08 03:45:31 +0700
committerhathach <[email protected]>2013-04-08 03:45:31 +0700
commitef850984dae94b424959ebba5563aedeeeb3f52b (patch)
tree7033a2016df5b9bdc234f16d3ed1feba9b689740 /tinyusb/tusb_option.h
parent95df92055c355b8184675663a2d4c66ad6c21d51 (diff)
move MCU define to tusb_option.h, fix the ATTR with USB RAM
hack: add delay before the very first xfer when enumerating (finalize later after reading USB 2.0 specs)
Diffstat (limited to 'tinyusb/tusb_option.h')
-rw-r--r--tinyusb/tusb_option.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/tinyusb/tusb_option.h b/tinyusb/tusb_option.h
index 789e88028..4d20b3049 100644
--- a/tinyusb/tusb_option.h
+++ b/tinyusb/tusb_option.h
@@ -59,9 +59,16 @@
#define TUSB_VERSION_NAME "alpha"
#define TUSB_VERSION XSTRING_(TUSB_VERSION_YEAR) "." XSTRING_(TUSB_VERSION_MONTH)
+#define MCU_LPC13UXX 1
+#define MCU_LPC11UXX 2
+#define MCU_LPC43XX 3
+#define MCU_LPC18XX 4
+#define MCU_LPC175X_6X 5
+#define MCU_LPC177X_8X 6
+
/// define this symbol will make tinyusb look for external configure file
-#include "tusb_config.h"
#include "mcu_capacity.h"
+#include "tusb_config.h"
//--------------------------------------------------------------------+
// CONTROLLER