summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/device')
-rw-r--r--src/device/dcd_attr.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/device/dcd_attr.h b/src/device/dcd_attr.h
index 952a8b8c8..15d8ce204 100644
--- a/src/device/dcd_attr.h
+++ b/src/device/dcd_attr.h
@@ -119,6 +119,9 @@
#define DCD_ATTR_ENDPOINT_MAX 9
#define DCD_ATTR_DWC2_STM32
+#elif TU_CHECK_MCU(OPT_MCU_STM32G4)
+ #define DCD_ATTR_ENDPOINT_MAX 8
+
#elif TU_CHECK_MCU(OPT_MCU_STM32L0, OPT_MCU_STM32L1)
#define DCD_ATTR_ENDPOINT_MAX 8
@@ -185,6 +188,10 @@
#elif TU_CHECK_MCU(OPT_MCU_BCM2711)
#define DCD_ATTR_ENDPOINT_MAX 8
+//------------- Broadcom -------------//
+#elif TU_CHECK_MCU(OPT_MCU_XMC4000)
+ #define DCD_ATTR_ENDPOINT_MAX 8
+
#else
#warning "DCD_ATTR_ENDPOINT_MAX is not defined for this MCU, default to 8"
#define DCD_ATTR_ENDPOINT_MAX 8