Page 1 of 1

MicroPython on PlatformIO!

Posted: Sat Dec 24, 2016 5:28 pm
by eerimoq
Hello,

a new framework called Pumbaa has been added to PlatformIO. Pumbaa is MicroPython on top of Simba OS. This makes it very easy to configure, compile and link a MicroPython application from source code. The toolchains and uploader tools are all automatically installed on your machine by PlatformIO. Very neat!

For Python script develpoers, all .py files in your PlatformIO project src/ folder will be uploaded to the board as part of the application binary (as frozen MicroPython modules). One of those files must be called main.py. This file is the entry point for the application.

The Pumbaa blink example: https://github.com/platformio/platformi ... mbaa/blink

For now, only ESP32 (Nano32 board) is supported. There are ports for Arduino Due and ESP8266 as well, but those are not yet part of PlatformIO.

Pumbaa project: https://github.com/eerimoq/pumbaa
Simba project: https://github.com/eerimoq/simba
PlatformIO: http://platformio.org/

I hope you'll find it useful!

Re: MicroPython on PlatformIO!

Posted: Wed Jan 25, 2017 12:38 am
by TravisT
Hello, I wanted to add to this topic.

I was chatting with Ivan over at PlatformIO about adding support for Micropython more directly. Ivan was interested in this and depending on funding and support would work on adding this.

I pointed out that using Dave's awesome rshell (https://github.com/dhylands/rshell), or using a similar approach, would allow the widest coverage of Microptyhon support.

For me it would be nice to have rshell like features integrated into an IDE like Atom (which is what PlatformIO IDE is based on). The ability to work on some code, sync the files, and then interact on the REPL would be amazing.

If you are interested in supporting or giving feedback Ivan suggested posting on the github issue for this.
https://github.com/platformio/platformi ... issues/728

Re: MicroPython on PlatformIO!

Posted: Wed Jan 25, 2017 5:56 pm
by Roberthh
For me it would be nice to have rshell like features integrated into an IDE like Atom (which is what PlatformIO IDE is based on). The ability to work on some code, sync the files, and then interact on the REPL would be amazing.
Without wanting to advertise - that's what Pycom's Pymakr is offering. Just look for it a www.pycom.io

Re: MicroPython on PlatformIO!

Posted: Thu Jan 26, 2017 10:56 am
by TravisT
Yes, and I use their products. But they are targeted, as far as I know, only on their boards and not for general micropython use. I could easily be wrong.

One of my reasoning is that I use Atom for several workflows and it is nice to have one app to do many things instead of a IDE for each application. But I could just be picky.