I started out using uPyCraft, but I'm finding many issues, and the project seems to be dead.
I have many choices for text editing Python. I need the tool to download the programs to the ESP32 and debug.
What are the best options at this time?
Recommended downloader/debugger for MicroPython on ESP32
- rcolistete
- Posts: 352
- Joined: Thu Dec 31, 2015 3:12 pm
- Location: Brazil
- Contact:
Re: Recommended downloader/debugger for MicroPython on ESP32
I recommend Thonny :
https://thonny.org/
https://thonny.org/
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).
Re: Recommended downloader/debugger for MicroPython on ESP32
Thanks - I've seen other references to Thonny. The install notes say that the package integrates Thonny and Python 3.7.
I already have Python 3.8 installed in Windows 10 64 bit.
There are some notes on using pip install but they start out with
Is there further guidance on how to avoid thorny issues with multiple versions and paths, etc.
I already have Python 3.8 installed in Windows 10 64 bit.
There are some notes on using pip install but they start out with
My Python 3.8 is not in the default location.Installing Thonny and Python separately
In the following I'm assuming that you want to install Thonny on Python 3.7 and Python is installed in the default location.
Is there further guidance on how to avoid thorny issues with multiple versions and paths, etc.
Re: Recommended downloader/debugger for MicroPython on ESP32
I went ahead and tried
It worked fine. It initially configured itself to use my Python 3.8 under Windows 10 64 bit.
Under Options I found "Interpreter", which has the option of MicroPython on ESP32. Below that, I could set the COM port, and then it recognized the ESP32 MicroPython v1.15, and was ready to go.
Code: Select all
pip install -U thonnyapp
Under Options I found "Interpreter", which has the option of MicroPython on ESP32. Below that, I could set the COM port, and then it recognized the ESP32 MicroPython v1.15, and was ready to go.
Re: Recommended downloader/debugger for MicroPython on ESP32
Thonny does have the ability to detect a source file was changed by an external editor. That's a big improvement.
But it seems to be missing the syntax checker.
Since I'm relatively new to Python, that is helpful to have. The MicroPython errors are much more terse than a full Python implementation. I see a plug-in facility. Is there a syntax checker plug-in for Thonny?
But it seems to be missing the syntax checker.
Since I'm relatively new to Python, that is helpful to have. The MicroPython errors are much more terse than a full Python implementation. I see a plug-in facility. Is there a syntax checker plug-in for Thonny?