summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorChintalagiri Shashank <[email protected]>2024-11-08 18:13:54 +0530
committerChintalagiri Shashank <[email protected]>2024-11-16 12:32:26 +0530
commita780071d20d26ee308acda0e84096563f4f47f41 (patch)
tree927265e5440a89c4210d48e44d655935ab468ab1 /src/common
parent0569188aed17d19d5954f1e1b911e989814ec93d (diff)
Add support for STM32H7RSxx
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_mcu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index 41f552d33..0264da89e 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -299,6 +299,13 @@
#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
+
//--------------------------------------------------------------------+
// Sony
//--------------------------------------------------------------------+