How small can microPython get?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
microPyforMy
Posts: 7
Joined: Wed Mar 22, 2017 4:09 pm

How small can microPython get?

Post by microPyforMy » Fri Mar 24, 2017 4:41 am

Say I wanted to run C as my main code language and extend it with mpy to parse scripts.

Now say I wanted to turn almost everything off. All I need is basic math, bitwise ops, and to be able to read/write to ram, that's all. No big imports, no peripheral access, nothing special at all.

Am I still looking at 128Kb flash and 2Kb ram? Or could I knock it down some?

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

Re: How small can microPython get?

Post by dhylands » Fri Mar 24, 2017 5:39 am

The minimal target is the smallest target.

It seems to be about 150K

microPyforMy
Posts: 7
Joined: Wed Mar 22, 2017 4:09 pm

Re: How small can microPython get?

Post by microPyforMy » Fri Mar 24, 2017 2:13 pm

dhylands wrote:The minimal target is the smallest target.

It seems to be about 150K
Hmmm, I was hoping that by cutting things out I could reduce the size from there. For a whole environment on the right micro that's not bad but for just adding scripting that's really large.

Thanks for the info, I'll weigh options.

Post Reply