-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
stm32: Add support for H5 MCUs #11138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Code size report:
|
Codecov Report
@@ Coverage Diff @@
## master #11138 +/- ##
=======================================
Coverage 98.40% 98.40%
=======================================
Files 155 155
Lines 20543 20543
=======================================
Hits 20215 20215
Misses 328 328 |
0d1582e
to
b517b9f
Compare
bddb4e8
to
8e6b2d8
Compare
Signed-off-by: Damien George <damien@micropython.org>
Needed for compiling gchelper_thumb2 on cortex-m33. Signed-off-by: Damien George <damien@micropython.org>
Signed-off-by: Damien George <damien@micropython.org>
For debugging purposes, to see output from other peripherals. Also reset the pyb_stdio_uart state at the end of soft reset, in case it points to a heap-allocated object. Signed-off-by: Damien George <damien@micropython.org>
The G0 USB peripheral behaves more like MICROPY_HW_USB_IS_MULTI_OTG=0 than that config =1. This fixes the configuration of the PMA FIFO buffers. Signed-off-by: Damien George <damien@micropython.org>
All MCUs can have 6-bit resolution; see adc_cr_to_bits_table. Signed-off-by: Damien George <damien@micropython.org>
Changes in this new library version are: - Add H5 HAL at v1.0.0. Signed-off-by: Damien George <damien@micropython.org>
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>
Signed-off-by: Damien George <damien@micropython.org>
It currently operates in 1-line (SPI) mode only. Signed-off-by: Damien George <damien@micropython.org>
Signed-off-by: Damien George <damien@micropython.org>
Signed-off-by: Damien George <damien@micropython.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds support for STM32H5xx MCUs. A board definition for the STM32H573I-DK is provided.
Current status:
Note thatstm32lib
is not yet updated with H5 support. So to build this PR you need to clone https://github.com/STMicroelectronics/STM32CubeH5 and then point to it using:Then build withmake BOARD=STM32H573I_DK
as usual.Edit:
stm32lib
now supports H5, so the build can proceed as usual.