Page 1 of 1

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

Posted: Tue Jan 05, 2021 7:41 pm
by rolandDM
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?

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

Posted: Wed Jan 06, 2021 6:28 am
by ESP_bignacio
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.