-
Notifications
You must be signed in to change notification settings - Fork 332
Description
OS
Windows
Operating System version
Win 11
Visual Studio Code version
1.107.1
ESP-IDF version
5.5.0
Python version
3.11.9
Doctor command output
Extension
Description
General
my aim is to create git repo that will contain 2 Project Configurations (for now let's call them Protected and Unprotected). I don't wanna use sdkconfig.default files because I will not switch between ESP-IDF versions in this proect. So, I want to specify settings for every Project Configuration via sdkconfig file (NOT sdkconfig.default), by setting sdkconfig_file_path for each Project Configuration
Specifics of the current problem
I created project configurations "Protected" and "Unpotected", set "Build_Directory_path" as build\unprotected and
"sdkconfig_file_path" as sdkconfigs\unprotected\sdkconfig. But the result is that the sdkconfig file is always generated inside my project's build directory (build\unprotected in this case) with incorrect settings. esp_idf_project_configuration.json file pinned below
esp_idf_project_configuration.json
I also looked in CMakeCache.txt file and found that SDKCONFIG variable is UNINITIALIZED in the same time as it's path written in esp_idf_project_configuration.json
Also here my CMakeLists.txt
Questions:
- Is it possible to use sdkconfig without sdkconfig.default files for multi Project Configurations?
- Why Project sdkconfig's path from esp_idf_project_configuration.json ignored. Maybe I made a mistake or the VSCode extension is not working properly or else?
Debug Message
Tell if u need anything, idk what will be usefull in this case
Other Steps to Reproduce
- make a project with at least 2 project configurations (using same versions)
- set specific path to sdkconfig file in each config that differs from default path.
- Try to build
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.