add CH32V20x USB OTG/FS driver

This commit is contained in:
Matthew Tran
2023-11-19 18:26:40 -08:00
committed by hathach
parent cf532d1479
commit db60fa1c63
28 changed files with 2215 additions and 5 deletions

View File

@@ -410,6 +410,10 @@
#elif TU_CHECK_MCU(OPT_MCU_CH32F20X)
#define TUP_DCD_ENDPOINT_MAX 16
#define TUP_RHPORT_HIGHSPEED 1
#elif TU_CHECK_MCU(OPT_MCU_CH32V20X)
#define TUP_DCD_ENDPOINT_MAX 8
#endif