Vscode idf.py commands not working

jah335
Posts: 1
Joined: Wed Mar 08, 2023 1:29 pm

Vscode idf.py commands not working

Postby jah335 » Wed Mar 08, 2023 1:36 pm

New to esp32 development and tried to install and configure the ESP-IDF extension for Vscode. Was able to build and flash blink and get it running but any of the idf.py commands weren't used.

Eg. 'idf.py -p COM4 flash_reset' in the Vscode powershell terminal would just take me to the idf.py instead of executing. I closely edited my path and enviroment variables, tried killing terminals and opening new ones, nothing worked. I think it could be something python related.

I was able to most of the tutorials but couldn't use the python scripts.

Thierry91
Posts: 6
Joined: Thu Mar 02, 2023 3:43 pm

Re: Vscode idf.py commands not working

Postby Thierry91 » Thu Mar 09, 2023 11:03 am

Does it work if you do it from the command palette ?
ESP-IDF: Select port to use (the board must be connected to the pc to use this command)
ESP-IDF: Flash

Who is online

Users browsing this forum: Bing [Bot], mejhaMA and 106 guests