mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user