esp-rs / esp-flasher-stub

Rust implementation of flasher stub located in esptool
Apache License 2.0
18 stars 10 forks source link

Miscellaneous cleanup and refactoring #41

Closed jessebraham closed 8 months ago

jessebraham commented 8 months ago

Sorry, this started off with a couple little changes and grew into a bit of a mess 😅 Reviewing commit-by-commit will probably be easier.

There's really nothing interesting in this PR, but the changes essentially boil down to:

Tested with espflash:

Chip UART USB Serial JTAG
ESP32 ✅ N/A
ESP32-C2 ✅ N/A
ESP32-C3 ✅ ✅
ESP32-C6 ✅ ✅
ESP32-H2 ✅ ✅
ESP32-S2 ✅ N/A
ESP32-S3 ✅ ✅