diff options
| author | zhiqiang-ch <[email protected]> | 2025-12-30 10:44:03 +0800 |
|---|---|---|
| committer | zhiqiang-ch <[email protected]> | 2025-12-30 10:44:03 +0800 |
| commit | 239e20ba7399fc026325c4cd8c98c08a160a9773 (patch) | |
| tree | 6cc029d84232bea3f1898193cd62eaebc09ffe57 /src/portable | |
| parent | b209b177ecc41ca733a4420c60fb7c1170be2342 (diff) | |
support for the AT32F45X series
Diffstat (limited to 'src/portable')
| -rw-r--r-- | src/portable/synopsys/dwc2/dwc2_at32.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/portable/synopsys/dwc2/dwc2_at32.h b/src/portable/synopsys/dwc2/dwc2_at32.h index 513495eb1..10824ae92 100644 --- a/src/portable/synopsys/dwc2/dwc2_at32.h +++ b/src/portable/synopsys/dwc2/dwc2_at32.h @@ -61,6 +61,11 @@ #define OTG1_FIFO_SIZE 1280 #define OTG1_IRQn OTGFS1_IRQn #define DWC2_OTG1_REG_BASE 0x50000000UL +#elif CFG_TUSB_MCU == OPT_MCU_AT32F45X + #include <at32f45x.h> + #define OTG1_FIFO_SIZE 1280 + #define OTG1_IRQn OTGFS1_IRQn + #define DWC2_OTG1_REG_BASE 0x50000000UL #endif #ifdef __cplusplus |
