summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorRocky04 <[email protected]>2024-01-15 12:47:13 +0000
committerRocky04 <[email protected]>2024-01-15 12:47:13 +0000
commit1755bba509edf2d5bc49cadecb6e956497732b37 (patch)
tree1205e0b008dc2ecf6672a0708b80ccdc163d5776 /src/common
parent1fdf29075d4e613eacfa881166015263797db0f6 (diff)
Add DWC2 Test Mode SUpport
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_mcu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index 35f94efbc..146accabf 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -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