diff options
| author | Ha Thach <[email protected]> | 2023-01-12 17:51:56 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-01-12 17:51:56 +0700 |
| commit | fa9d19027be7caa8dda2ab81ce8fda8b7f586a58 (patch) | |
| tree | c08f1ffd212b92088968f430b81f69327f452b2e /src/common | |
| parent | 4ee4c6f594587e8bc7763ea7585d826118b0eaed (diff) | |
| parent | b1021d53f3617491656c50f6a1cb2c21da029f6a (diff) | |
Merge pull request #1405 from gregdavill/ch32v307
Add WCH CH32V307 port
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_mcu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h index bb4225ad5..0b10c5118 100644 --- a/src/common/tusb_mcu.h +++ b/src/common/tusb_mcu.h @@ -275,6 +275,10 @@ #elif TU_CHECK_MCU(OPT_MCU_F1C100S) #define TUP_DCD_ENDPOINT_MAX 4 +//------------- WCH -------------// +#elif TU_CHECK_MCU(OPT_MCU_CH32V307) + #define TUP_DCD_ENDPOINT_MAX 16 + #define TUP_RHPORT_HIGHSPEED 1 #endif //--------------------------------------------------------------------+ |
