diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/device/dcd_attr.h | 4 | ||||
| -rw-r--r-- | src/tusb_option.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/device/dcd_attr.h b/src/device/dcd_attr.h index 1d34b94ba..15d8ce204 100644 --- a/src/device/dcd_attr.h +++ b/src/device/dcd_attr.h @@ -188,6 +188,10 @@ #elif TU_CHECK_MCU(OPT_MCU_BCM2711) #define DCD_ATTR_ENDPOINT_MAX 8 +//------------- Broadcom -------------// +#elif TU_CHECK_MCU(OPT_MCU_XMC4000) + #define DCD_ATTR_ENDPOINT_MAX 8 + #else #warning "DCD_ATTR_ENDPOINT_MAX is not defined for this MCU, default to 8" #define DCD_ATTR_ENDPOINT_MAX 8 diff --git a/src/tusb_option.h b/src/tusb_option.h index c1fc8a71c..e33d5a057 100644 --- a/src/tusb_option.h +++ b/src/tusb_option.h @@ -130,6 +130,9 @@ // Broadcom #define OPT_MCU_BCM2711 1700 ///< Broadcom BCM2711 +// Infineon +#define OPT_MCU_XMC4000 1800 ///< Infineon XMC4000 + // Helper to check if configured MCU is one of listed // Apply _TU_CHECK_MCU with || as separator to list of input #define _TU_CHECK_MCU(_m) (CFG_TUSB_MCU == _m) |
