Open mickeprag opened 1 day ago
This is due to the fact that ${command:cmake.activeConfigurePresetName}
is not supported in idf.buildPath
resolution.
Right now the readParameter function (the one that reads settings) is not asynchronous so implementing this will require a lot of changes in the extension because executing a command to get a string takes time and is not synchronous.
You can try using our Project Configuration editor which allows you to define multiple idf.buildPath
(and many other settings) in a single esp-idf project by defining multiple profiles. More information in this documentation
OS
Linux
Operating System version
Ubuntu 24.04
Visual Studio Code version
1.94.0
ESP-IDF version
5.4.0
Python version
3.10.12
Doctor command output
Extension
Description
I have following in my .vscode/settings.json, since I have different cmake presets:
This works when I press the
ESP_IDF: Build Project
button in vscode byt when I try flashing it does not work. Also, en empty directorybuild/${command:cmake.activeConfigurePresetName}
is created.Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide