stm32: Add initial support for H5 MCUs.

This commit adds initial support for STM32H5xx MCUs.  The following
features have been confirmed to be working on an STM32H573:
- UART over REPL and USB CDC
- USB CDC and MSC
- internal flash filesystem
- machine.Pin
- machine.SPI transfers with DMA
- machine.ADC
- machine.RTC
- pyb.LED
- pyb.Switch
- pyb.rng
- mboot

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2023-03-22 16:38:49 +11:00
parent bd7196e123
commit 61339aa506
33 changed files with 624 additions and 115 deletions

View File

@@ -52,7 +52,7 @@
#if !MICROPY_HW_USB_IS_MULTI_OTG
#define USE_USB_CNTR_SOFM (1)
#if defined(STM32G0)
#if defined(STM32G0) || defined(STM32H5)
#define USB USB_DRD_FS
#endif
#else