diff options
| author | hathach <[email protected]> | 2021-11-05 11:40:53 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-11-05 11:57:36 +0700 |
| commit | a3fc107d94f5126667a51f82b7997a3c629972c4 (patch) | |
| tree | 3b8ddf1980a9f472e97ef64b7a9dc614f99094d5 /src | |
| parent | 310f287f4476d22f126c9fc2995f6be7e2b64662 (diff) | |
xmc4500 led blinky, button ok
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) |
