diff options
| author | Zixun LI <[email protected]> | 2025-12-16 20:18:40 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-16 20:18:40 +0100 |
| commit | 8a246db49f5ad52bd1c430e2796c0d363c4cdede (patch) | |
| tree | 1878cba0dd7a239424be31039b3c4fa3795f4989 /src/common | |
| parent | 77fcf62f9fba99a0344ba95d78130a5c0c921e56 (diff) | |
| parent | 5a7e5db78770d6fd37992b5812f910c3546f2a72 (diff) | |
Merge pull request #3398 from chenzhihong007/feature/support_hpmicro_chips
Feature/support hpmicro chips
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_mcu.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h index 1e773bf96..95fbc061f 100644 --- a/src/common/tusb_mcu.h +++ b/src/common/tusb_mcu.h @@ -653,6 +653,18 @@ #define TUP_USBIP_DWC2_AT32 #define TUP_DCD_ENDPOINT_MAX 8 +//--------------------------------------------------------------------+ +// HPMicro +//--------------------------------------------------------------------+ +#elif TU_CHECK_MCU(OPT_MCU_HPM) + #define TUP_USBIP_CHIPIDEA_HS + #define TUP_USBIP_EHCI + + #define TUP_DCD_ENDPOINT_MAX 16 + #define TUP_RHPORT_HIGHSPEED 1 + + #define TU_ATTR_FAST_FUNC __attribute__((section(".fast"))) + #endif //--------------------------------------------------------------------+ |
