summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2022-10-10 20:18:01 +0700
committerGitHub <[email protected]>2022-10-10 20:18:01 +0700
commita95fb36f72730dc22cb73be379f8e2dacb2b4e75 (patch)
treec31dcb6981cd1b98a9dca8d989cb2fa13e9bb1ac /src/common
parentb75d44c3ae04fa3b00c960d73953329dab6185f1 (diff)
parent8096afc6dea975e95e0b50dc4b55926236b90b62 (diff)
Merge pull request #1623 from SudoMaker/master
Initial PIC32MM/MX & PIC24 support
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_mcu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index baa82fc14..514ffcd4d 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -111,6 +111,11 @@
#define TUP_DCD_ENDPOINT_MAX 8
#define TUP_DCD_ENDPOINT_EXCLUSIVE_NUMBER
+#elif TU_CHECK_MCU(OPT_MCU_PIC32MX, OPT_MCU_PIC32MM, OPT_MCU_PIC32MK) || \
+ TU_CHECK_MCU(OPT_MCU_PIC24, OPT_MCU_DSPIC33)
+ #define TUP_DCD_ENDPOINT_MAX 16
+ #define TUP_DCD_ENDPOINT_EXCLUSIVE_NUMBER
+
//------------- ST -------------//
#elif TU_CHECK_MCU(OPT_MCU_STM32F0)
#define TUP_DCD_ENDPOINT_MAX 8