summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorJohn Cronin <[email protected]>2023-04-03 13:56:16 +0100
committerJohn Cronin <[email protected]>2023-04-03 13:56:16 +0100
commit718bcdb8bc3b9b522e9bad12ace2c7b62589cb4c (patch)
tree2a306e0e4c144ddbe805216e48d8ec7a4df4d4f4 /src/common
parent5add4c97fa834004e6a3b267345a13c6d3c9514a (diff)
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
//--------------------------------------------------------------------+