summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-07-22 00:28:37 +0700
committerhathach <[email protected]>2021-07-22 00:28:37 +0700
commitaff7b100ca87482e9e1d29f7e854d77cadbd6b98 (patch)
tree2b29ee375b0502bf04b62a89ad8c15681bfaf552
parent8ee1141a70dd40063c667ea2b117590a174d9ea6 (diff)
update dcd attr for samx7x
-rw-r--r--src/device/dcd_attr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/device/dcd_attr.h b/src/device/dcd_attr.h
index 544b0a75b..306335642 100644
--- a/src/device/dcd_attr.h
+++ b/src/device/dcd_attr.h
@@ -77,6 +77,10 @@
#define DCD_ATTR_ENDPOINT_MAX 6
#define DCD_ATTR_ENDPOINT_EXCLUSIVE_NUMBER
+#elif TU_CHECK_MCU(SAMX7X)
+ #define DCD_ATTR_ENDPOINT_MAX 10
+ #define DCD_ATTR_ENDPOINT_EXCLUSIVE_NUMBER
+
//------------- ST -------------//
#elif TU_CHECK_MCU(STM32F0) || TU_CHECK_MCU(STM32F1) || TU_CHECK_MCU(STM32F3) || \
TU_CHECK_MCU(STM32L0) || TU_CHECK_MCU(STM32L1) || TU_CHECK_MCU(STM32L4)