I have followed [this][https://github.com/espressif/esp-idf/bl ... /README.md] and [this][/https://github.com/espressif/vscode-esp ... _config.md] to be able to support multiple configurations in a single project. So I have develop and production settings. But I want to add some variables that are defined in the develop configuration (e.g. DEBUG). I try to add it in the "compile arguments" in the "develop" settings from the menu "ESP-IDF: Open project configurations". There in "compile arguments" I add "-DDEBUG" (also tried adding "-D DEBUG" and "-D DEBUG=1" etc.), but it always fails with
Code: Select all
The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command cmake -DDEBUG=TRUE -B c:\test_esp\build_dev -S c:\test_esp -DSDKCONFIG_DEFAULTS='sdkconfig.defaults;sdkconfig.dev'" terminated with exit code: 1.
thank you