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!
MicroPython on PlatformIO!
Re: MicroPython on PlatformIO!
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
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
_______________
Travis Travelstead
Travis Travelstead
Re: MicroPython on PlatformIO!
Without wanting to advertise - that's what Pycom's Pymakr is offering. Just look for it a www.pycom.ioFor 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.
Re: MicroPython on PlatformIO!
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.
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.
_______________
Travis Travelstead
Travis Travelstead