Flashing doesn't work in Extension 6.0 Update for VS Code

rolandDM
Posts: 2
Joined: Mon Nov 09, 2020 11:20 am

Flashing doesn't work in Extension 6.0 Update for VS Code

Postby rolandDM » Tue Jan 05, 2021 7:41 pm

My Espressif IDF extension in VS Code got updated to 6.0 and now I cannot flash anymore: I receive the error message "Variable ${config:idf.baudRate} can not be resolved because setting 'idf.baudRate' not found."
Nothing changed and I checked the idf:Flash Baud Rate in Settings (Workspace & User): both are at 115200.
(Needless to say that I hardcoded the speed in tasks.json for the time being...)
Did something change I didn't catch?

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

Re: Flashing doesn't work in Extension 6.0 Update for VS Code

Postby ESP_bignacio » Wed Jan 06, 2021 6:28 am

We have renamed `idf.baudRate` to `idf.flashBaudRate` to avoid confusion with monitor baud rate.

We have updated our tasks.json templates but you just need to replace ${config:idf.baudRate} to ${config: idf.flashBaudRate} in your tasks.json and should work.

Is there any reason why you don't use the Flash command instead of Flash task ? Please let us know.

Who is online

Users browsing this forum: No registered users and 17 guests