summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-11-08 16:41:08 +0700
committerhathach <[email protected]>2021-11-08 16:41:29 +0700
commit6fea50f735d00dff23d958eec8cf4a386282c193 (patch)
treee90af676f1f0e8e9f4321cc9aba2991a32842ac0 /src/device
parent91646d039c7dac8e16042c42c2d7197034111aeb (diff)
musb work well with tm4c123
Diffstat (limited to 'src/device')
-rw-r--r--src/device/dcd_attr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/device/dcd_attr.h b/src/device/dcd_attr.h
index 1befa89b6..7254f3362 100644
--- a/src/device/dcd_attr.h
+++ b/src/device/dcd_attr.h
@@ -143,7 +143,10 @@
#define DCD_ATTR_ENDPOINT_EXCLUSIVE_NUMBER
//------------- TI -------------//
-#elif TU_CHECK_MCU(OPT_MCU_MSP430x5xx, OPT_MCU_MSP432E4xx)
+#elif TU_CHECK_MCU(OPT_MCU_MSP430x5xx)
+ #define DCD_ATTR_ENDPOINT_MAX 8
+
+#elif TU_CHECK_MCU(OPT_MCU_MSP432E4xx, OPT_MCU_TM4C123, OPT_MCU_TM4C129)
#define DCD_ATTR_ENDPOINT_MAX 8
//------------- ValentyUSB -------------//