summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-11-18 15:48:31 +0700
committerGitHub <[email protected]>2024-11-18 15:48:31 +0700
commitb3efa8eb6ae1a45591c9a3883d27470dc9f757d8 (patch)
tree32df735623910e1358741340080969889db86f70 /src/common
parentfee5ee6f0a64c3f4318940fe8b46eb7ea1add374 (diff)
parentc291b831e80f572a68553edddc5e65799ce3551d (diff)
Merge pull request #2871 from ebs-universe/master
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_mcu.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index 41f552d33..2a517f7a7 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -299,6 +299,16 @@
#define TUP_USBIP_FSDEV_STM32
#define TUP_DCD_ENDPOINT_MAX 8
+#elif TU_CHECK_MCU(OPT_MCU_STM32H7RS)
+ #define TUP_USBIP_DWC2
+ #define TUP_USBIP_DWC2_STM32
+
+ // FS has 6, HS has 9
+ #define TUP_DCD_ENDPOINT_MAX 9
+
+ // MCU with on-chip HS Phy
+ #define TUP_RHPORT_HIGHSPEED 1
+
//--------------------------------------------------------------------+
// Sony
//--------------------------------------------------------------------+