Hi.
I am new to using VS Code so i am thinking i am doing something wrong. I am using the NCS 2.4, the nrf7002dk_nrf5340 dev board with the MQTT example that is here.
I am trying to compile the example here https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/net/mqtt/doc/description.html
I have used the below build configuration

But the compile is failing with the following error:
C:\ncs\v2.4.0\zephyr\include\zephyr\toolchain\gcc.h:81:36: error: static assertion failed: "CONFIG_WIFI_CREDENTIALS_STATIC_SSID required"
81 | #define BUILD_ASSERT(EXPR, MSG...) _Static_assert(EXPR, "" MSG)
| ^~~~~~~~~~~~~~
C:\ncs\v2.4.0\nrf\subsys\net\lib\wifi_mgmt_ext\wifi_mgmt_ext.c:23:9: note: in expansion of macro 'BUILD_ASSERT'
23 | BUILD_ASSERT(sizeof(CONFIG_WIFI_CREDENTIALS_STATIC_SSID) != 1,
| ^~~~~~~~~~~~
and looking further back into the build log i see:
-- Found assembler: C:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
CMake Warning at C:/ncs/v2.4.0/nrf/subsys/net/lib/mqtt_helper/CMakeLists.txt:12 (message):
Credentials are exposed in non-secure memory. This should be avoided in
production.
CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:838 (message):
No SOURCES given to Zephyr library: lib__libc__common
Excluding target from build.
CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:838 (message):
No SOURCES given to Zephyr library: drivers__ethernet
Excluding target from build.
CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:838 (message):
No SOURCES given to Zephyr library: drivers__wifi
Excluding target from build.
CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:1864 (message):
__ASSERT() statements are globally ENABLED
I am able to build the provisioning example for the dev board fine. However i cant seem to build this example.
Any ideas?
Mark

