Open
Description
I can't compile TinyGo for ESP32 on Windows 10. I saw that to run the esptool tool on Linux, esptool.py is used. But in Windows 10 there is no such command, after installing esptool. The command is esptool (without .py).
C:\Users\jgust>esptool version
esptool.py v4.6.2
Therefore, when trying to compile TinyGo for ESP32 I receive this error message.
"esptool.py": executable file not found in %PATH%
PS C:\Users\jgust\tinygo\programas\esp32\flash_spi\flash_example\console\spi> tinygo flash -target=esp32-coreboard-v2 main.go
error: failed to flash C:\Users\jgust\AppData\Local\Temp\tinygo4028449839\main.bin: exec: "esptool.py": executable file not found in %PATH%
C:\Users\jgust>tinygo env
GOOS="windows"
GOARCH="amd64"
GOROOT="C:\\Program Files\\Go\\"
GOPATH="C:\\Users\\jgust\\go\\"
GOCACHE="C:\\Users\\jgust\\AppData\\Local\\tinygo"
CGO_ENABLED="1"
TINYGOROOT="C:\\Users\\jgust\\scoop\\apps\\tinygo\\current"
Can anyone help with this problem? Thank you.