summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhenneboi <[email protected]>2023-12-08 13:34:42 +0100
committerhenneboi <[email protected]>2023-12-12 16:04:21 +0100
commit93c40b6966db53ce70f4bea6b8a72bf2986ac180 (patch)
treeb3689ff0bd3dce1a64dc1cb70bc12d35e8273bff /src/common
parent59ecdb78fed4221c3e623d7ea9a9e69c3cd87aae (diff)
Add Support stm32h5 for stm32h573i based on stm32_fsdev G0 implementation Tested on Windows with IAR and gcc toolchain ( via cubeide) Tested only with audio examples, but sould be ok for other examples Cmake pacthed : but not tested Linux build : not tested Added a temporary workaround in make file to support H5 HAL repo ( ARMCC_VERSION=0)
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 6fab190ea..9c4083031 100644
--- a/src/common/tusb_mcu.h
+++ b/src/common/tusb_mcu.h
@@ -210,6 +210,12 @@
#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