VS Code Windows does not recognize esptool, while esptool is available in VS Code terminal

espdorian
Posts: 33
Joined: Sat Dec 26, 2020 10:57 am

VS Code Windows does not recognize esptool, while esptool is available in VS Code terminal

Postby espdorian » Mon Dec 28, 2020 11:17 am

I've installed VS code 1.52.1 with IDF plugin 0.5.1
I start code from an IDF command prompt, so all environment variables are correct ( is there another way to start code directly ? )

From the VS Code terminal esptool works:
esptool version
esptool.py v3.0
3.0

However when selecting "flash device" : "Make sure you have the esptool.py installed and set in $PATH with proper permission"

I could not find any setting in VS Code related to esptool.

Where to look ?

espdorian
Posts: 33
Joined: Sat Dec 26, 2020 10:57 am

Re: VS Code Windows does not recognize esptool, while esptool is available in VS Code terminal

Postby espdorian » Mon Dec 28, 2020 2:33 pm

This might be related to my next topic, which seem to mix some Python versions.

ESP_bignacio
Posts: 214
Joined: Wed May 02, 2018 12:12 pm

Re: VS Code Windows does not recognize esptool, while esptool is available in VS Code terminal

Postby ESP_bignacio » Tue Dec 29, 2020 7:03 am

Have you configure the extension using the ESP-IDF: Configure ESP-IDF extension command ?

Steps are explained here : https://github.com/espressif/vscode-esp ... OARDING.md

or check our Youtube video

espdorian
Posts: 33
Joined: Sat Dec 26, 2020 10:57 am

Re: VS Code Windows does not recognize esptool, while esptool is available in VS Code terminal

Postby espdorian » Tue Dec 29, 2020 9:36 am

Reinstalling the tools (esp-idf-tools-setup-2.3.exe) finally solved the issue. :)

Who is online

Users browsing this forum: No registered users and 22 guests