How to port Micropython to new Microcontroller

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.
User avatar
jimmo
Posts: 1435
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: How to port Micropython to new Microcontroller

Post by jimmo » Mon Jan 27, 2020 4:09 am

FYI if you're updating the tinyusb module, you're going to run into the same issue I described here:
https://github.com/micropython/micropython/pull/5558

(I can't tell if this is a git bug or limitation, but yeah looks like moving submodules inside submodules is a problem)

blipton
Posts: 8
Joined: Mon Dec 15, 2014 3:11 am

Re: How to port Micropython to new Microcontroller

Post by blipton » Mon Feb 10, 2020 12:14 am

I too would love to port to a nucleo board that's currently not listed in the official supported hardware (STM32H743).

I assume the NUCLEO-F401RE is the best starting point, but having trouble importing/creating an Stm32CubeIde project with it. Is it generally recommended to build strictly via the command-line, or is are most Stm32 ports using the IDE?

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

Re: How to port Micropython to new Microcontroller

Post by jimmo » Mon Feb 10, 2020 9:59 pm

All the ports (including stm32) build from the command line.

The H7 is quite different to the F401. ports/stm32/boards/NUCLEO_H743ZI would be a much better starting point (and possibly even exactly what you need??)

Post Reply