MicroPython: Python for microcontrollers
micropython.org
micropython.org
- inline assembler
- written in C99 ANSI C
- almost entire entire Py3 standard library.
nb: The original post url has 404'd, a link with this title is found at: https://mail.python.org/pipermail/python-list/2014-June/6857...
which is a wifi-ready microcontroller that can be found on eBay for a few bucks:
https://github.com/micropython/micropython/tree/master/esp82...
It based on eLua.
http://micropython.org/static/resources/pyconuk14-mpinternal...
The last Kickstarter campaign:
https://www.kickstarter.com/projects/wipy/the-wipy-the-inter...
Getting Python on something like an AVR or PIC18, that would be far more interesting...
For you reference, MicroPython can start up in as little as 2K of heap. Of course, one hardly can execute something more than a simple expression like "1+1" in that memory, but 2K also include memory required for interactive interpreter (and parsing into AST and compiling into bytecode).
- S60 https://en.wikipedia.org/wiki/Python_for_S60
- S60 http://www.onlamp.com/pub/a/python/2005/04/14/s60.html
- N73 https://rubayeet.wordpress.com/2009/01/30/installing-python-...
I never did see any real usage aside from one of the flickr devs using an N75 to upload/query flickr via Python.
https://www.kickstarter.com/projects/214379695/micro-python-...
Are you sure it would be more interesting? We have people asking (and working!) for more ARM, MIPS ports, but nobody ever asked about AVR port, so maybe it's not that interesting, even though ATmega2560 should be able to fit it. No ATtiny or PIC18 ports on the horizon, sorry ;-), but PIC24 port exists.
Anyway, if you'd like to see MicroPython run on smaller devices, please consider contributing to the project - we love optimization freaks ;-). Current minimal requirements are 128K flash (50K for your code), 8K RAM.