Port to STM32 F1 MCUs

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
BrendanSimon
Posts: 33
Joined: Wed Sep 07, 2016 10:46 am

Port to STM32 F1 MCUs

Post by BrendanSimon » Wed Sep 07, 2016 12:07 pm

I notice that there aren't any ports to the STM32 F1 family of MCUs. I have a board which has an STM32F103VE MCU (80MHz, 512KB Flash, 64KB RAM) and I would like to run MicroPython on it as an experiment.

Is there any technical reason why MP wouldn't run on an STM32 F1 series processor ??

I don't know of any technical reason and presume it's just because nobody has had the need to create an F1 port.

The STM32F1 HAL is fairly similar to the STM32F4 HAL (from what I can tell) so I presume the port wouldn't be too difficult.

Are there any pointers from MP gurus in porting to STM32 F1 MCUs ??

Thanks, Brendan.

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: Port to STM32 F1 MCUs

Post by dhylands » Wed Sep 07, 2016 3:39 pm

I think it all boils down to how similar the STM32F1 HAL is to the STM32F4 HAL (at the API layer). There have been several discussions about this already on the forum (maybe not about the F1 specifically, but about porting).

I'd recommend finding those and reading through them.

@deshipu just posted a link today to an article about adding modules. You'll definitely want to know that inside out before attempting a port.
http://forum.micropython.org/viewtopic.php?f=3&t=2370

Post Reply