ampy GUI

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
dork3nergy
Posts: 8
Joined: Thu Apr 09, 2020 7:19 pm

ampy GUI

Post by dork3nergy » Thu Apr 09, 2020 7:40 pm

Hi there.

I'm new to micropython so forgive me if this is completely useless but...

It seemed to me that 'ampy' is the easiest way to transfer files to my ESP32 but the CLI was a bit onerous. I thought a GUI might be useful so I wrote one. It's written in Python GTK and it seems to work fine on my debian based system. Probably works with other distros as well. I did implement the "run" function but it seems like ampy needs a local copy in the current directory for it to work. I don't get that but whatever. Also the run command will freeze the GUI if you execute a program that gets into an endless loop.

As a side note, although you can change the baud rate, I find that only 115200 seems to work. Not sure why. Probably not a big deal

Let me know if it shits the bed at any point and I'll try to fix it.

https://github.com/dork3nergy/ampy-gui

Image.

User avatar
rcolistete
Posts: 352
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

Re: ampy GUI

Post by rcolistete » Sun Apr 12, 2020 7:08 pm

Nice GUI, simple to run on Linux.

Suggestion : "Baud rate" with faster speeds than 115200, because for some MicroPython boards they work.
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

dork3nergy
Posts: 8
Joined: Thu Apr 09, 2020 7:19 pm

Re: ampy GUI

Post by dork3nergy » Thu Apr 16, 2020 2:24 pm

Thanks for the suggestion. I will add more baud rates.

palmtreefrb
Posts: 1
Joined: Wed Dec 19, 2018 3:48 pm

Re: ampy GUI

Post by palmtreefrb » Fri Jul 10, 2020 8:50 pm

What version of Python are you using. Seems in Python 3.6 "capture_output" parameter does not exist .
line: 380 output=subprocess.run(args,capture_output=True)

Here some discussion about it...
https://stackoverflow.com/questions/532 ... t/53209196

Post Reply