Add DWC2 Test Mode SUpport

This commit is contained in:
Rocky04
2024-01-15 12:47:13 +00:00
parent 1fdf29075d
commit 1755bba509
4 changed files with 107 additions and 6 deletions

View File

@@ -195,6 +195,7 @@
#elif TU_CHECK_MCU(OPT_MCU_STM32F7)
#define TUP_USBIP_DWC2
#define TUP_USBIP_DWC2_STM32
#define TUP_USBIP_DWC2_TEST_MODE_SUPPORT
// FS has 6, HS has 9
#define TUP_DCD_ENDPOINT_MAX 9
@@ -262,6 +263,7 @@
#define TUP_USBIP_DWC2
#define TUP_USBIP_DWC2_STM32
#define TUP_DCD_ENDPOINT_MAX 6
#define TUP_USBIP_DWC2_TEST_MODE_SUPPORT
#elif TU_CHECK_MCU(OPT_MCU_STM32L5)
#define TUP_USBIP_FSDEV