Page 1 of 1

VSCode COM Port dont change sometime

Posted: Sun Oct 17, 2021 5:35 am
by mm_1993
Hello ESPRESSIF
I use vscode and IDF Extension and ESP32C3
I want to use two sample code for two esp for BLE5 test so The Problem is when I change COMx port in vscode to COMy port
in button left side the COM port doesn't change so I have to use ESP-IDF Terminal and use command :
idf.py -p COM29 flash
or
idf.py -p COM28 flash

vscode IDF UI COM port Change sometime dont work and sometime work correctly

Re: VSCode COM Port dont change sometime

Posted: Wed Oct 20, 2021 9:28 am
by ESP_Minatel
Hi,

Have you defined the COM port at the settings.json file (inside .vscode folder)?

Something like this:

Code: Select all

"idf.port": "/dev/ttyUSB0",
You can try to remove this line if you want to select manually the COM port in your project.