diff options
| author | LynnL4 <[email protected]> | 2022-10-13 17:37:28 +0800 |
|---|---|---|
| committer | LynnL4 <[email protected]> | 2022-10-13 17:39:42 +0800 |
| commit | 4238467b2d78fcb11ba63026daa525d1c09e17ac (patch) | |
| tree | d3ad2d7eea71f285f1715238cac4764316ec30cc /src/portable | |
| parent | 8a89365bb2b83f9d84e2308e7809ac7d6f94b4a1 (diff) | |
Add support for STM32U5 mcu
Diffstat (limited to 'src/portable')
| -rw-r--r-- | src/portable/synopsys/dwc2/dwc2_stm32.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/portable/synopsys/dwc2/dwc2_stm32.h b/src/portable/synopsys/dwc2/dwc2_stm32.h index 337f611d8..ea786362e 100644 --- a/src/portable/synopsys/dwc2/dwc2_stm32.h +++ b/src/portable/synopsys/dwc2/dwc2_stm32.h @@ -82,6 +82,12 @@ #define EP_MAX_FS 6 #define EP_FIFO_SIZE_FS 1280 +#elif CFG_TUSB_MCU == OPT_MCU_STM32U5 + #include "stm32u5xx.h" + #define USB_OTG_FS_PERIPH_BASE USB_OTG_FS_BASE + #define EP_MAX_FS 6 + #define EP_FIFO_SIZE_FS 1280 + #else #error "Unsupported MCUs" #endif |
