summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-04-04 16:30:47 +0700
committerGitHub <[email protected]>2023-04-04 16:30:47 +0700
commitf7aa716a61db0b951c8632939f1b5d5625d2c191 (patch)
tree4a0ec834e73a4f7ee4b1ce1d173216d4e88684b3 /src/common
parent4c5104f6d6dc9c12675b751cdeb40ede9dce8019 (diff)
parent718bcdb8bc3b9b522e9bad12ace2c7b62589cb4c (diff)
Merge pull request #2000 from jncronin/stm32l5
Add STM32L5 support - no OTG similar to some L4s
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_mcu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h
index b903abeca..ba8976a8c 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -229,6 +229,12 @@
#define TUP_USBIP_DWC2_STM32
#define TUP_DCD_ENDPOINT_MAX 6
+#elif TU_CHECK_MCU(OPT_MCU_STM32L5)
+ #define TUP_USBIP_FSDEV
+ #define TUP_USBIP_FSDEV_STM32
+ #define TUP_DCD_ENDPOINT_MAX 8
+
+
//--------------------------------------------------------------------+
// Sony
//--------------------------------------------------------------------+