marcelstoer / nodemcu-pyflasher

Self-contained NodeMCU flasher with GUI based on esptool.py and wxPython.
MIT License
1.48k stars 401 forks source link

Migrate to ESPtool 4.x #105

Open marcelstoer opened 4 months ago

marcelstoer commented 4 months ago

ESPtool v3 only receives patches critical bugs and we should move to v4.

(Un)fortunately, the internal structure we had to rely upon until now was completely refactored. ESPtool now offers a public API: https://github.com/espressif/esptool/releases/tag/v4.0. That's most welcome (I had asked for this for years) but it also means a bit of a migration effort I guess.

DeeEmm commented 6 days ago

The code is already working on V4. I suspect that V4 is backwards compatible with V3

Screenshot 2024-11-28 at 10 17 56 am