add support for STM32N6
Description
Seek to add support for STM32N6,Because it's coming out soon
Code Size
Seek to add support for STM32N6,Because it's coming out soon
Implementation
I hope the MicroPython maintainers or community will implement this feature, I intend to implement this feature and would submit a Pull Request if desirable
Code of Conduct
Yes, I agree
stm32: Add support for STM32N6xx MCUs and two N6 boards
Summary
This PR adds preliminary support for ST's new STM32N6xx MCUs.
Supported features of this MCU so far are:
- basic clock tree initialisation, running at 800MHz
- fully working USB
- mboot support (required, because there's no internal flash)
- XSPI in memory-mapped mode
machine.Pinmachine.UART- SD card
- filesystem
- ROMFS
- WiFi and BLE via cyw43-driver (SDIO and UART backend)
Supported boards:
- NUCLEO_N657X0
STM32N6570_DKEdit: this board is no longer supported, can be added later if needed- OPENMV_N6
Note that the N6 does not have internal flash, and has some tricky boot sequence, so using a custom bootloader (mboot) is almost a necessity.
The ST CMSIS and HAL files are added verbatim here, but will eventually be moved into Edit: N6 CMSIS and HAL files are now in stm32lib.stm32lib.
OpenMV have generously sponsored the development of this port.
Testing
This PR has been tested on the two N6 boards that are added here.