[NUCLEO-STM32H7A3] stm32lib port

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
User avatar
abenragel
Posts: 6
Joined: Wed May 17, 2017 1:11 pm

[NUCLEO-STM32H7A3] stm32lib port

Post by abenragel » Tue Mar 10, 2020 7:37 am

Hi,

just received my NUCLEO-STM32H7A3 board ( https://www.st.com/en/evaluation-tools/ ... 3zi-q.html )
and tried to build MicroPython for it.
I used the board config NUCLEO_H743ZI as a starting point but soon had to find out that the H7A3 is still missing in the current cubeHAL of the stm32lib.

So I started out to update the H7 cubeHAL, following the instructions in README.md under lib/stm32lib.

After considering to just insert the files directly required for the H7A3 I thought I might aswell update the complete H7 cubeHAL.
So I downloaded the STM32Cube_FW_H7_V1.7.0, extracted CMSIS files and HAL drivers, applied the cleanup script as described in the readme. I then checked out the vendor branch of the submodule stm32lib and copied in the prepared files.

Right now I am re-applying the commits of branch remotes/origin/work-F0-1.9.0+F4-1.16.0+F7-1.7.0+H7-1.4.0+L0-1.11.2+L4-1.8.1+WB-1.1.1

Can anybody confirm whether this procedure is correct so far ?

Thanks in advance,
Jan

User avatar
jimmo
Posts: 1900
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: [NUCLEO-STM32H7A3] stm32lib port

Post by jimmo » Mon Mar 16, 2020 5:23 am

That sounds about right!

You'll just have to update the branch name to ...+H7-1.7.0+... and looks like you'll be all done.

Post Reply