Skip to content

Commit

Permalink
Merge pull request #1623 from SudoMaker/master
Browse files Browse the repository at this point in the history
Initial PIC32MM/MX & PIC24 support
  • Loading branch information
hathach authored Oct 10, 2022
2 parents b75d44c + 8096afc commit a95fb36
Show file tree
Hide file tree
Showing 3 changed files with 796 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/common/tusb_mcu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit a95fb36

Please sign in to comment.