You can connect with Thonny and pull the .py files, modify and push back to the device.
Posts made by ScottKnight
RE: i have pre flashed m5stackdc how can i read the program and modify
RE: [M5Core] empty UIFlow firmware
I would give this all the thumbs-up. Right now, I am jumping between editing with Thonny (annoying to walk all over the house plugging into devices) and just pasting my code into a single enormous execute block in UIFlow to push. The UIFlow editor is great for generating snippits related to the M5 hardware, but impossible for doing any substantial amount of coding.
I got the same error, it was due to python command doesn't was valid.
I had to install "python-is-python3" package (sudo apt-get install python-is-python3) because the app tries using python and not python3.
I hope it works.
(making ln to python from python3 should work)
Thank you @vlad29 this is another of those python/python3 issues caused by badly setup python3 installs.
You need to look up how to set the enviromental variables in you operating system to stop the os running python 2 commands instead of python3 commands.
In the Chromebook Crostini shell (Ubuntu-based VM), I was getting the exact error in this thread. There is no python-is-python3 package available, but the symlink solved it perfectly:
ln -s /usr/bin/python3 /usr/bin/python
RE: Separate firmware from M5burner
Yes what i did is i used my wife Windows machine to install M5Burner and i downloded all the firmwares for all devices then went to the directory and copied them to an sd card to have on my Chromebook.
I did something very similar. The M5Burner program had no problem downloading the firmware when running from the Crostini shell on the Chromebook, but threw a weird error while trying to flash the firmware on every device I own. After fiddling around with it way too long, I finally gave up and just flashed the firmware using the esptool. They get downloaded into a pretty handy directory structure from whereever you run the M5Flasher from. Here are a few from my projects: