Flash python code without mblock


#1

Hey people,

I wrote a simple command-line tool to flash python code to Codey and you can find more details here: https://github.com/ernestoferro/flash-codey-rocky.

The main motivation was that I much rather use Vim and get my stdout output in my terminal than use the mblock 5 ide. I couldn’t find a tool to do this so I wrote one. It’s quite minimal and low-effort, but if you are like me you’ll love this.

UPDATE:
I only tried this on Linux. It should work on Windows but you’ll have to change the serial port file from /dev/ttyUSB0 to COM1 (or similar).
I also found that there is a similar tool after all. It’s mentioned here: https://makeblock-micropython-api.readthedocs.io/en/latest/tutorial/add_files.html. I haven’t tried it but it looks like it should work as well.


#2

Hi:

Thank you for your sharing


#3

Indeed, thanks for sharing. Yeah, the other appears to be found at https://github.com/YanMinge/firefly_upload