MicroPython on PlatformIO!

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
eerimoq
Posts: 7
Joined: Mon Sep 26, 2016 5:44 pm

MicroPython on PlatformIO!

Postby eerimoq » Sat Dec 24, 2016 5:28 pm

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!

TravisT
Posts: 10
Joined: Sun Feb 23, 2014 2:31 pm

Re: MicroPython on PlatformIO!

Postby TravisT » Wed Jan 25, 2017 12:38 am

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

User avatar
Roberthh
Posts: 478
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: MicroPython on PlatformIO!

Postby Roberthh » Wed Jan 25, 2017 5:56 pm

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

TravisT
Posts: 10
Joined: Sun Feb 23, 2014 2:31 pm

Re: MicroPython on PlatformIO!

Postby TravisT » Thu Jan 26, 2017 10:56 am

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.


Return to “General Discussion and Questions”

Who is online

Users browsing this forum: No registered users and 1 guest