summaryrefslogtreecommitdiff
path: root/src/device/dcd_attr.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-10-26 23:43:35 +0700
committerhathach <[email protected]>2021-10-26 23:43:35 +0700
commit07829510e7fe14efca735401d3cd2cfdd4f30066 (patch)
treeda30a6e18c48c30e23958e65361cc11e74abf9cd /src/device/dcd_attr.h
parent9f1cd1a753400327072973cbf2437f6c51bd5509 (diff)
parent2ef200003d06f8e3f19e713cfbc38f474491d4d8 (diff)
Merge branch 'tannewt-rpi' into generalize-synopsys-dwc2
Diffstat (limited to 'src/device/dcd_attr.h')
-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 54627eaa0..61f31e38a 100644
--- a/src/device/dcd_attr.h
+++ b/src/device/dcd_attr.h
@@ -180,6 +180,10 @@
#elif TU_CHECK_MCU(OPT_MCU_GD32VF103)
#define DCD_ATTR_ENDPOINT_MAX 4
+//------------- Broadcom -------------//
+#elif TU_CHECK_MCU(BCM2711)
+ #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