Skip to content

Commit a95fb36

Browse files
authored
Merge pull request hathach#1623 from SudoMaker/master
Initial PIC32MM/MX & PIC24 support
2 parents b75d44c + 8096afc commit a95fb36

File tree

3 files changed

+796
-0
lines changed

3 files changed

+796
-0
lines changed

src/common/tusb_mcu.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@
111111
#define TUP_DCD_ENDPOINT_MAX 8
112112
#define TUP_DCD_ENDPOINT_EXCLUSIVE_NUMBER
113113

114+
#elif TU_CHECK_MCU(OPT_MCU_PIC32MX, OPT_MCU_PIC32MM, OPT_MCU_PIC32MK) || \
115+
TU_CHECK_MCU(OPT_MCU_PIC24, OPT_MCU_DSPIC33)
116+
#define TUP_DCD_ENDPOINT_MAX 16
117+
#define TUP_DCD_ENDPOINT_EXCLUSIVE_NUMBER
118+
114119
//------------- ST -------------//
115120
#elif TU_CHECK_MCU(OPT_MCU_STM32F0)
116121
#define TUP_DCD_ENDPOINT_MAX 8

0 commit comments

Comments
 (0)