VSCode COM Port dont change sometime

mm_1993
Posts: 65
Joined: Sat Aug 28, 2021 5:16 am

VSCode COM Port dont change sometime

Postby mm_1993 » Sun Oct 17, 2021 5:35 am

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
Attachments
vscode COM port.jpg
vscode COM port.jpg (397.01 KiB) Viewed 7154 times

ESP_Minatel
Posts: 364
Joined: Mon Jan 04, 2021 2:06 pm

Re: VSCode COM Port dont change sometime

Postby ESP_Minatel » Wed Oct 20, 2021 9:28 am

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.

Who is online

Users browsing this forum: No registered users and 5 guests