porting micropython on ARM9 microcontroller

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
ashok449
Posts: 3
Joined: Wed Oct 22, 2014 6:20 am

porting micropython on ARM9 microcontroller

Post by ashok449 » Wed Nov 19, 2014 11:51 am

Hello All,

I tried micropython with STM324F Discovery board and I see only one instance running on it. Can I port micropython on one my ARM9 controller? If yes any link to porting guide will help me.

I see threads are not supported in STM32 dicovery board, how can I add thread support ?
how to add any library to micropython ? any example code or link ?

Thanks for your support
Ashok

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

Re: porting micropython on ARM9 microcontroller

Post by dhylands » Wed Nov 19, 2014 9:37 pm

To support preemptive threads probably requires a substantial rewrite of the garbage collector.

You can still do threads (aka co-operative multi-threading) by using generators (discussed elsewhere in the forum).

Post Reply