summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-04-08 12:30:25 +0700
committerGitHub <[email protected]>2024-04-08 12:30:25 +0700
commitaf1346c74878aaec8549483ae6371614f550c863 (patch)
tree7cb60fe7130e66839019bc43bf7c7385f926c155 /src/common
parentffab7bf9dde0c0e960feeb5c1264823ca5a0ced7 (diff)
parentd6d8acad90c8a1578dcbd886154fbb3f2bd1a363 (diff)
Merge pull request #2466 from wavenumber-eng/MCX
TinyUSB stack ported to MCXA and MXCN freedom boards.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_mcu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index 308ee713c..688b9a352 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -100,6 +100,13 @@
#define TUP_DCD_ENDPOINT_MAX 8
#define TUP_RHPORT_HIGHSPEED 1
+#elif TU_CHECK_MCU(OPT_MCU_MCXA15)
+ // USB0 is chipidea FS
+ #define TUP_USBIP_CHIPIDEA_FS
+ #define TUP_USBIP_CHIPIDEA_FS_MCX
+
+ #define TUP_DCD_ENDPOINT_MAX 16
+
#elif TU_CHECK_MCU(OPT_MCU_MIMXRT1XXX)
#define TUP_USBIP_CHIPIDEA_HS
#define TUP_USBIP_EHCI