feature: add esp32flash flash method for esp32s3/esp32c3/esp32/esp8266

This adds usage of the new espflash package to perform flashing on
ESP32, ESP32S3, ESP32C3, & ESP8266 boards. This means that you no longer
have to install esptool.py in order to flash ESP32 based boards.

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2026-02-27 12:17:10 +01:00
parent 26ff622148
commit bfafef8df1
3 changed files with 55 additions and 3 deletions
+2 -1
View File
@@ -13,11 +13,12 @@ require (
github.com/mattn/go-tty v0.0.4
github.com/sigurn/crc16 v0.0.0-20211026045750-20ab5afb07e3
github.com/tetratelabs/wazero v1.6.0
go.bug.st/serial v1.6.0
go.bug.st/serial v1.6.2
golang.org/x/net v0.35.0
golang.org/x/sys v0.30.0
golang.org/x/tools v0.30.0
gopkg.in/yaml.v2 v2.4.0
tinygo.org/x/espflash v0.1.0
tinygo.org/x/go-llvm v0.0.0-20250422114502-b8f170971e74
)