diff options
| author | Damien George <damien@micropython.org> | 2023-03-22 16:38:49 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-06-15 11:09:20 +1000 |
| commit | 61339aa5062577ca1c75cb2443c78e5b5965c30b (patch) | |
| tree | 037c0081d35ee4ac14614ec777b7d16828f5677f /ports/stm32/usb.c | |
| parent | bd7196e1233a7c36fbd8be8fea71eaaad4fb62fa (diff) | |
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>
Diffstat (limited to 'ports/stm32/usb.c')
| -rw-r--r-- | ports/stm32/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/usb.c b/ports/stm32/usb.c index c9c29cc50..94d62f762 100644 --- a/ports/stm32/usb.c +++ b/ports/stm32/usb.c @@ -59,7 +59,7 @@ #endif // Maximum number of endpoints (excluding EP0) -#if defined(STM32G0) || defined(STM32G4) || defined(STM32L0) || defined(STM32WB) +#if defined(STM32G0) || defined(STM32G4) || defined(STM32H5) || defined(STM32L0) || defined(STM32WB) #define MAX_ENDPOINT(dev_id) (7) #elif defined(STM32L4) #define MAX_ENDPOINT(dev_id) (5) |
