From a780071d20d26ee308acda0e84096563f4f47f41 Mon Sep 17 00:00:00 2001 From: Chintalagiri Shashank Date: Fri, 8 Nov 2024 18:13:54 +0530 Subject: Add support for STM32H7RSxx --- src/portable/synopsys/dwc2/dwc2_stm32.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/portable/synopsys') diff --git a/src/portable/synopsys/dwc2/dwc2_stm32.h b/src/portable/synopsys/dwc2/dwc2_stm32.h index 8719c4820..c11c1eb05 100644 --- a/src/portable/synopsys/dwc2/dwc2_stm32.h +++ b/src/portable/synopsys/dwc2/dwc2_stm32.h @@ -69,6 +69,14 @@ extern "C" { #define OTG_FS_IRQn OTG_HS_IRQn #endif +#elif CFG_TUSB_MCU == OPT_MCU_STM32H7RS + #include "stm32h7rsxx.h" + #define EP_MAX_FS 6 + #define EP_FIFO_SIZE_FS 1280 + + #define EP_MAX_HS 9 + #define EP_FIFO_SIZE_HS 4096 + #elif CFG_TUSB_MCU == OPT_MCU_STM32F7 #include "stm32f7xx.h" #define EP_MAX_FS 6 -- cgit v1.3.1