summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
author沈玴興 <[email protected]>2023-12-28 00:29:41 +0800
committerGitHub <[email protected]>2023-12-28 00:29:41 +0800
commit149b50a2fafd9320bc84a03c8197fbd58c59318c (patch)
tree4cc8ba1ffdc897d635a022134bc8514b930721ba /src/common
parent9a1559a35653e34c2fc8b4dccdc9f40ad476913c (diff)
parentae364b1460b91153cd94b4b0303eeda6419ff1d1 (diff)
Merge branch 'hathach:master' into master
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_mcu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index 6fab190ea..e589c4c86 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -210,6 +210,11 @@
#define TUP_DCD_ENDPOINT_MAX 9
+#elif TU_CHECK_MCU(OPT_MCU_STM32H5)
+ #define TUP_USBIP_FSDEV
+ #define TUP_USBIP_FSDEV_STM32
+ #define TUP_DCD_ENDPOINT_MAX 8
+
#elif TU_CHECK_MCU(OPT_MCU_STM32G4)
// Device controller
#define TUP_USBIP_FSDEV