File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ require (
1818 golang.org/x/sys v0.30.0
1919 golang.org/x/tools v0.30.0
2020 gopkg.in/yaml.v2 v2.4.0
21- tinygo.org/x/espflash v0.3 .0
21+ tinygo.org/x/espflasher v0.4 .0
2222 tinygo.org/x/go-llvm v0.0.0-20250422114502-b8f170971e74
2323)
2424
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
5858gopkg.in/yaml.v2 v2.4.0 /go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ =
5959gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA =
6060gopkg.in/yaml.v3 v3.0.1 /go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM =
61- tinygo.org/x/espflash v0.3 .0 h1:uhTOWZb1FyQ4MZTZWORh/bOLFQfaFr2nuM9t3pJExRM =
62- tinygo.org/x/espflash v0.3 .0 /go.mod h1:n4sWxsjN4wjHN1lKfEYjXke6/eSeLTq/lRRLJS5FNfg =
61+ tinygo.org/x/espflasher v0.4 .0 h1:0N+Ei+0qT/wGkGIoMaY2g+oI519VA5G4kUVUYHedTv8 =
62+ tinygo.org/x/espflasher v0.4 .0 /go.mod h1:a3hRV9EETPUkfPE6P14p4A6jKKth+oD5gtQz3nmij+8 =
6363tinygo.org/x/go-llvm v0.0.0-20250422114502-b8f170971e74 h1:ovavgTdIBWCH8YWlcfq9gkpoyT1+IxMKSn+Df27QwE8 =
6464tinygo.org/x/go-llvm v0.0.0-20250422114502-b8f170971e74 /go.mod h1:GFbusT2VTA4I+l4j80b17KFK+6whv69Wtny5U+T8RR0 =
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ import (
3232 "github.com/tinygo-org/tinygo/goenv"
3333 "github.com/tinygo-org/tinygo/loader"
3434 "golang.org/x/tools/go/buildutil"
35- "tinygo.org/x/espflash /pkg/espflash "
35+ "tinygo.org/x/espflasher /pkg/espflasher "
3636 "tinygo.org/x/go-llvm"
3737
3838 "go.bug.st/serial"
@@ -1046,14 +1046,14 @@ const (
10461046)
10471047
10481048func flashBinUsingEsp32 (port , resetMode , tmppath string , options * compileopts.Options ) error {
1049- var opts * espflash .FlasherOptions
1049+ var opts * espflasher .FlasherOptions
10501050 // On Windows, we have to explicitly specify the reset mode to use USB JTAG.
10511051 if runtime .GOOS == "windows" && resetMode == jtagReset {
1052- opts = espflash .DefaultOptions ()
1053- opts .ResetMode = espflash .ResetUSBJTAG
1052+ opts = espflasher .DefaultOptions ()
1053+ opts .ResetMode = espflasher .ResetUSBJTAG
10541054 }
10551055
1056- flasher , err := espflash . NewFlasher (port , opts )
1056+ flasher , err := espflasher . New (port , opts )
10571057 if err != nil {
10581058 return err
10591059 }
You can’t perform that action at this time.
0 commit comments