diff options
| author | Chintalagiri Shashank <[email protected]> | 2024-11-08 18:13:54 +0530 |
|---|---|---|
| committer | Chintalagiri Shashank <[email protected]> | 2024-11-16 12:32:26 +0530 |
| commit | a780071d20d26ee308acda0e84096563f4f47f41 (patch) | |
| tree | 927265e5440a89c4210d48e44d655935ab468ab1 /src/portable | |
| parent | 0569188aed17d19d5954f1e1b911e989814ec93d (diff) | |
Add support for STM32H7RSxx
Diffstat (limited to 'src/portable')
| -rw-r--r-- | src/portable/synopsys/dwc2/dwc2_stm32.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 |
