Unity testing build does not use custom main Kconfig parameters. (VSC-1592) #1431
Labels
bug-report
Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)
OS
Windows
Operating System version
Windows 10
Visual Studio Code version
1.97.2
ESP-IDF version
1.9.0
Python version
3.11.2
Doctor command output
report.txt
Extension
esp_idf_vsc_ext.log
Description
I have a header file that defines an enum based on the value of a configuration option defined in main/Kconfig.projbuild.
The configuration option is:
The enum is defined in a component header file as:
When I run
>ESP-IDF: Unit Test: Build and flash unit test app for testing
the build fails, even though building my main application is successful. I noticed that theunity-app/build/config/sdkconfig.h
file does not contain a definition for CONFIG_HARDWARE_VERSION even though the main application build filebuild/config/sdkconfig.h
contains it.I believe that the issue is that the unity-app build
kconfig_projbuild.in
file is missing a source line for the main Kconfig.projbuild file. This is my Kconfig.projbuild file for the main application build:And this is the file for my unity-app build:
Sorry if this is more accurately an esp-idf issue rather than an extension issue.
Debug Message
The text was updated successfully, but these errors were encountered: