diff options
| author | Zhihong Chen <[email protected]> | 2025-12-08 13:59:21 +0800 |
|---|---|---|
| committer | Zhihong Chen <[email protected]> | 2025-12-16 13:08:30 +0800 |
| commit | ba3319d90d546143d169b398166b457082ad21d4 (patch) | |
| tree | 4a8f5323f2cb3e940f3935309eeecae2d608b6d1 /src/common | |
| parent | 77fcf62f9fba99a0344ba95d78130a5c0c921e56 (diff) | |
support hpmicro chips
Signed-off-by: Zhihong Chen <[email protected]>
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 //--------------------------------------------------------------------+ |
