summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2022-01-17 13:18:30 +0700
committerGitHub <[email protected]>2022-01-17 13:18:30 +0700
commit61d392fad4c5f00f3541055017ef9254e936676d (patch)
tree507d0ab0042fe4d687da5024d8a6e3c50c645b28 /src/device
parent0780fd3d1e7f1a82da4c7cfb9a406b31ae862bd7 (diff)
parentefc29baead577185c577bf8e313f4c411f4eae9e (diff)
Merge pull request #1238 from ftdigdm/port-ft90x
Port ft90x
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 10656e85b..b40c2ad07 100644
--- a/src/device/dcd_attr.h
+++ b/src/device/dcd_attr.h
@@ -201,6 +201,13 @@
#elif TU_CHECK_MCU(OPT_MCU_XMC4000)
#define DCD_ATTR_ENDPOINT_MAX 8
+//------------- BridgeTek -------------//
+#elif TU_CHECK_MCU(OPT_MCU_FT90X)
+ #define DCD_ATTR_ENDPOINT_MAX 8
+
+#elif TU_CHECK_MCU(OPT_MCU_FT93X)
+ #define DCD_ATTR_ENDPOINT_MAX 16
+
#else
#warning "DCD_ATTR_ENDPOINT_MAX is not defined for this MCU, default to 8"
#define DCD_ATTR_ENDPOINT_MAX 8