ESPlorer fork with improved MicroPython support
Posted: Wed Jan 03, 2018 9:44 pm
Hello all,
Over the last few weeks I have been adding new functionality to ESPlorer to make it work better with MicroPython boards. I plan to submit these as a PR to the main repo, in order to faciliate testing infrequent I'll host a beta release on my fork as well. I was inspired by a friend to look into fixing and extending the MicroPython functions offered in ESPlorer. The main reason for doing so is that for new learners a GUI may be simpler to use than remembering the different text based syntaxes and idioms, and that I frequently found myself switching between 2 or 3 tools to accomplish simple tasks. Personally I prefer to have the choice between a text based and a GUI based IDE , so I can pick what works best for me, for a specific project.
I have made the following additions and fixes and a few changes to improve uPython support:
- ESP Firmware detection improvements (not perfect yet on ESP32)
- Add support for generic uPython, by using machine module in addition to pyb
- Updates to Options UI and Preferences
- Read GPIO input / output (uPython pyb and generic)
> the GPIO buttons use the machine module or the pyb module according to preferences.
> Update sample snippets to machine module
- Unified File-Managers between LUA and uPython to single file manager
> Fix list files in uPython
> Add PopUp Menu to uPython files (*.py, *.pyc)
> View file - View in Terminal
> Hexdump file - View in Terminal
> Remove file
> Rename File
- Fix line number alignment in Script and Snippet editor
- Script Editor:
> Save file to uPython (uses Hexlify to transfer contents with need for escaping)
> Send file to uPython ( Executes script interactivly)
> Run File
> Send Selected Block from editor to ESP
- Snippet Editor:
> Add Snippet names to buttons to simplify use
> Add Popup menu to the snippet editor:
> Send Line
> Send Selected Block
Source: https://github.com/Josverl/ESPlorer/tree/MT-Build
Beta Release: https://github.com/Josverl/ESPlorer/releases
My ask : Could you please give this a try on other platforms and other micropython boards or firmware versions, and report both successes and failures ?
Over the last few weeks I have been adding new functionality to ESPlorer to make it work better with MicroPython boards. I plan to submit these as a PR to the main repo, in order to faciliate testing infrequent I'll host a beta release on my fork as well. I was inspired by a friend to look into fixing and extending the MicroPython functions offered in ESPlorer. The main reason for doing so is that for new learners a GUI may be simpler to use than remembering the different text based syntaxes and idioms, and that I frequently found myself switching between 2 or 3 tools to accomplish simple tasks. Personally I prefer to have the choice between a text based and a GUI based IDE , so I can pick what works best for me, for a specific project.
I have made the following additions and fixes and a few changes to improve uPython support:
- ESP Firmware detection improvements (not perfect yet on ESP32)
- Add support for generic uPython, by using machine module in addition to pyb
- Updates to Options UI and Preferences
- Read GPIO input / output (uPython pyb and generic)
> the GPIO buttons use the machine module or the pyb module according to preferences.
> Update sample snippets to machine module
- Unified File-Managers between LUA and uPython to single file manager
> Fix list files in uPython
> Add PopUp Menu to uPython files (*.py, *.pyc)
> View file - View in Terminal
> Hexdump file - View in Terminal
> Remove file
> Rename File
- Fix line number alignment in Script and Snippet editor
- Script Editor:
> Save file to uPython (uses Hexlify to transfer contents with need for escaping)
> Send file to uPython ( Executes script interactivly)
> Run File
> Send Selected Block from editor to ESP
- Snippet Editor:
> Add Snippet names to buttons to simplify use
> Add Popup menu to the snippet editor:
> Send Line
> Send Selected Block
Source: https://github.com/Josverl/ESPlorer/tree/MT-Build
Beta Release: https://github.com/Josverl/ESPlorer/releases
My ask : Could you please give this a try on other platforms and other micropython boards or firmware versions, and report both successes and failures ?