Hello
I want to add an extra config file based on the option in prj.conf or in Kconfg.
For example:
CONFIG_WIFI_SCAN_ONLY=y
include the overlay-nrf7000-wifi-scan-only.conf file
How to do that?
I have chek here https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/develop/application/index.html#important_build_system_variables and test the next code in CMakeLists.txt but it doesn't work.
# Include the WiFi scan only overlay if(CONFIG_WIFI_SCAN_ONLY) set(EXTRA_CONF_FILE "overlay-nrf7000-wifi-scan-only.conf") endif()