WIFI SCAN cannot build by using nrf9160

Hi Team,

I would like to interface the nrf9160 with nrf7001 by using the SPI. While building the WIFI-Scan example by using SDK 3.1.1. Even by using WIFI-shell example these both are the cannot able to build. Please guide me step by step how can we use these example for the nrf9160.

Thanks and Regards,

Jagadish M

Parents
  • Hello, can you please provide more information on what the problem is? Please provide build logs, development environment, and how you are building the wifi shell sample. This information is needed for us to understand the issue and to reproduce. 


    Thanks. 

    Kind regards,
    Øyvind

  • [457/557] Building C object zephyr/drivers/wifi/nrf_wifi/CMakeFiles/nrf_wifi.dir/src/fmac_main.c.obj FAILED: zephyr/drivers/wifi/nrf_wifi/CMakeFiles/nrf_wifi.dir/src/fmac_main.c.obj C:\ncs\toolchains\c1a76fddb2\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=30808 -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\" nrf-psa-crypto-config.h\" -DNRF54L_CONFIGURATION_56_ENABLE=0 -DNRF70_2_4G_ONLY -DNRF70_ANT_GAIN_2G=0 -DNRF70_ANT_GAIN_5G_BAND1=0 -DNRF70_ANT_GAIN_5G_BAND2=0 -DNRF70_ANT_GAIN_5G_BAND3=0 -DNRF70_BAND_2G _LOWER_EDGE_BACKOFF_DSSS=0 -DNRF70_BAND_2G_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_2G_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_2G_UPPER_EDGE_BACKOFF_DSSS=0 -DNRF70_BAND_2G_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAN D_2G_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_1_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_1_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_1_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_1_UPPER_EDGE_BACKOFF_ HT=0 -DNRF70_BAND_UNII_2A_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2A_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_2A_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2A_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UN II_2C_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2C_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_2C_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2C_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_3_LOWER_EDGE_BACK OFF_HE=0 -DNRF70_BAND_UNII_3_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_3_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_3_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_4_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UN II_4_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_4_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_4_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_DATA_TX -DNRF70_LOG_VERBOSE -DNRF70_MAX_TX_PENDING_QLEN=18 -DNRF70_MAX_TX_T OKENS=10 -DNRF70_PCB_LOSS_2G=0 -DNRF70_PCB_LOSS_5G_BAND1=0 -DNRF70_PCB_LOSS_5G_BAND2=0 -DNRF70_PCB_LOSS_5G_BAND3=0 -DNRF70_RPU_PS_IDLE_TIMEOUT_MS=10 -DNRF70_RX_MAX_DATA_SIZE=1600 -DNRF70_RX_NUM_BUFS=1 6 -DNRF70_STA_MODE -DNRF70_SYSTEM_MODE -DNRF70_TCP_IP_CHECKSUM_OFFLOAD -DNRF9160_XXAA -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DNRF_WIFI_AP_DEAD_DETECT_TIMEOUT=20 -DNRF_WIFI_DISPLAY_S CAN_BSS_LIMIT=150 -DNRF_WIFI_IFACE_MTU=1500 -DNRF_WIFI_LOW_POWER -DNRF_WIFI_MAX_PS_POLL_FAIL_CNT=10 -DNRF_WIFI_MGMT_BUFF_OFFLOAD -DNRF_WIFI_PS_INT_PS=y -DNRF_WIFI_RPU_MIN_TIME_TO_ENTER_SLEEP_MS=5000 - DNRF_WIFI_RPU_RECOVERY -DNRF_WIFI_RPU_RECOVERY_PS_ACTIVE_TIMEOUT_MS=50000 -DNRF_WIFI_RX_STBC_HT -DPICOLIBC_DOUBLE_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -DWIFI_NRF70_LOG_LEVEL=3 -D__LINUX_ERRNO_EXTENS IONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -IC:/Users/HanXcel/shell/build/shell/zephyr/include/generated/zephyr -IC:/ncs/v3.1.1/zephyr/include -IC:/Users/HanXcel/shell/build/shell /zephyr/include/generated -IC:/ncs/v3.1.1/zephyr/soc/nordic -IC:/ncs/v3.1.1/zephyr/include/zephyr/posix -IC:/ncs/v3.1.1/zephyr/lib/posix/options/getopt -IC:/ncs/v3.1.1/zephyr/soc/nordic/nrf91/. -IC:/n cs/v3.1.1/zephyr/soc/nordic/common/. -IC:/ncs/v3.1.1/zephyr/subsys/net/l2 -IC:/ncs/v3.1.1/zephyr/subsys/net/lib/dns/. -IC:/ncs/v3.1.1/zephyr/subsys/net/conn_mgr/. -IC:/ncs/v3.1.1/zephyr/subsys/setting s/include -IC:/ncs/v3.1.1/zephyr/subsys/shell/modules/kernel_service/thread/.. -IC:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/inc -IC:/ncs/v3.1.1/zephyr/subsys/net/ip -IC:/ncs/v3.1.1/nrf/include -IC:/Us ers/HanXcel/shell/build/shell/tfm/api_ns/interface/include -IC:/Users/HanXcel/shell/build/shell/zephyr/misc/generated -IC:/ncs/v3.1.1/modules/lib/hostap/port/mbedtls -IC:/ncs/v3.1.1/nrf/subsys/setting s/include -IC:/ncs/v3.1.1/nrf/modules/trusted-firmware-m/. -IC:/ncs/v3.1.1/nrf/include/tfm -IC:/ncs/v3.1.1/nrf/tests/include -IC:/ncs/v3.1.1/zephyr/modules/hostap/src -IC:/ncs/v3.1.1/modules/lib/hosta p -IC:/ncs/v3.1.1/modules/lib/hostap/wpa_supplicant -IC:/ncs/v3.1.1/modules/lib/hostap/src -IC:/ncs/v3.1.1/modules/lib/hostap/src/common -IC:/ncs/v3.1.1/modules/lib/hostap/src/eap_common -IC:/ncs/v3.1 .1/modules/lib/hostap/src/eap_server -IC:/ncs/v3.1.1/modules/lib/hostap/src/radius -IC:/ncs/v3.1.1/modules/lib/hostap/src/crypto -IC:/ncs/v3.1.1/modules/lib/hostap/src/ap -IC:/ncs/v3.1.1/modules/lib/h ostap/src/drivers -IC:/ncs/v3.1.1/modules/lib/hostap/src/rsn_supp -IC:/ncs/v3.1.1/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v3.1.1/modules/hal/cmsis_6/CMSIS/Core/Include -IC:/ncs/v3.1.1/zephyr/mod ules/cmsis_6/. -IC:/ncs/v3.1.1/nrf/modules/hal_nordic/. -IC:/ncs/v3.1.1/modules/hal/nordic/nrfx -IC:/ncs/v3.1.1/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v3.1.1/modules/hal/nordic/nrfx/mdk -IC: /ncs/v3.1.1/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v3.1.1/zephyr/modules/nrf_wifi/os -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/os_if/inc -IC:/ncs/v3.1.1/nrfxlib/nrf_modem/include -IC:/Users/HanXcel/shel l/build/shell/generated/interface_nrf_security_psa -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/include -IC:/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/include -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/ threading/include -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/utils -IC:/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/library -IC:/ncs/v3.1.1/modules/crypto/mbedtls/library -IC:/ncs/v3.1.1/modules/cryp to/mbedtls/include -IC:/ncs/v3.1.1/modules/crypto/mbedtls/include/library -IC:/ncs/v3.1.1/nrfxlib/crypto/nrf_oberon/include -IC:/ncs/v3.1.1/nrfxlib/crypto/nrf_oberon/include/mbedtls -IC:/ncs/v3.1.1/mo dules/lib/nrf_wifi -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/../bus -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/utils/inc -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/bus_if/bus/qspi/inc -IC:/ncs/v3.1.1/modules/lib/nrf_w ifi/bus_if/bal/inc -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/fw_if/umac_if/inc -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/fw_load/mips/fw/inc -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/hw_if/hal/inc -IC:/ncs/v3.1.1/mo dules/lib/nrf_wifi/fw_if/umac_if/inc/fw -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/fw_if/umac_if/inc/fw/stats -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/fw_if/umac_if/inc/fw/stats/system -isystem C:/ncs/v3.1.1/ze phyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Os -imacros C:/Users/HanXcel/shell/build/shell/zephyr/include/generated/zephyr/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=alway s -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=C:/ncs/toolchains/c1a76fddb2/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v3.1.1/zephyr/include/zephyr/t oolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=impli cit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/Users/HanXcel/shell=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v3.1.1/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v3.1.1=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/dri vers/wifi/nrf_wifi/CMakeFiles/nrf_wifi.dir/src/fmac_main.c.obj -MF zephyr\drivers\wifi\nrf_wifi\CMakeFiles\nrf_wifi.dir\src\fmac_main.c.obj.d -o zephyr/drivers/wifi/nrf_wifi/CMakeFiles/nrf_wifi.dir/sr c/fmac_main.c.obj -c C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c In file included from C:/ncs/v3.1.1/zephyr/include/zephyr/arch/arm/arch.h:20, from C:/ncs/v3.1.1/zephyr/include/zephyr/arch/cpu.h:19, from C:/ncs/v3.1.1/zephyr/include/zephyr/kernel_includes.h:36, from C:/ncs/v3.1.1/zephyr/include/zephyr/kernel.h:17, from C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:14: C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c: In function 'configure_tx_pwr_settings': C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:196:36: error: 'DT_N_NODELABEL_nrf70_P_wifi_max_tx_pwr_2g_dsss' undeclared (first use in this function) 196 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:5271:29: note: in definition of macro 'DT_CAT3' 5271 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3 | ^~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:508:27: note: in expansion of macro 'DT_PROP' 508 | #define MAX_TX_PWR(label) DT_PROP(DT_NODELABEL(nrf70), label) * 4 | ^~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:196:29: note: in expansion of macro 'DT_CAT' 196 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:508:35: note: in expansion of macro 'DT_NODELABEL' 508 | #define MAX_TX_PWR(label) DT_PROP(DT_NODELABEL(nrf70), label) * 4 | ^~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:566:47: note: in expansion of macro 'MAX_TX_PWR' 566 | tx_pwr_ceil_params->max_pwr_2g_dsss = MAX_TX_PWR(wifi_max_tx_pwr_2g_dsss); | ^~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:196:36: note: each undeclared identifier is reported only once for each function it appears in 196 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:5271:29: note: in definition of macro 'DT_CAT3' 5271 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3 | ^~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:508:27: note: in expansion of macro 'DT_PROP' 508 | #define MAX_TX_PWR(label) DT_PROP(DT_NODELABEL(nrf70), label) * 4 | ^~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:196:29: note: in expansion of macro 'DT_CAT' 196 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:508:35: note: in expansion of macro 'DT_NODELABEL' 508 | #define MAX_TX_PWR(label) DT_PROP(DT_NODELABEL(nrf70), label) * 4 | ^~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:566:47: note: in expansion of macro 'MAX_TX_PWR' 566 | tx_pwr_ceil_params->max_pwr_2g_dsss = MAX_TX_PWR(wifi_max_tx_pwr_2g_dsss); | ^~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:196:36: error: 'DT_N_NODELABEL_nrf70_P_wifi_max_tx_pwr_2g_mcs7' undeclared (first use in this function) 196 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:5271:29: note: in definition of macro 'DT_CAT3' 5271 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3 | ^~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:508:27: note: in expansion of macro 'DT_PROP' 508 | #define MAX_TX_PWR(label) DT_PROP(DT_NODELABEL(nrf70), label) * 4 | ^~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:196:29: note: in expansion of macro 'DT_CAT' 196 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:508:35: note: in expansion of macro 'DT_NODELABEL' 508 | #define MAX_TX_PWR(label) DT_PROP(DT_NODELABEL(nrf70), label) * 4 | ^~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:567:47: note: in expansion of macro 'MAX_TX_PWR' 567 | tx_pwr_ceil_params->max_pwr_2g_mcs7 = MAX_TX_PWR(wifi_max_tx_pwr_2g_mcs7); | ^~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:196:36: error: 'DT_N_NODELABEL_nrf70_P_wifi_max_tx_pwr_2g_mcs0' undeclared (first use in this function) 196 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:5271:29: note: in definition of macro 'DT_CAT3' 5271 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3 | ^~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:508:27: note: in expansion of macro 'DT_PROP' 508 | #define MAX_TX_PWR(label) DT_PROP(DT_NODELABEL(nrf70), label) * 4 | ^~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:196:29: note: in expansion of macro 'DT_CAT' 196 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:508:35: note: in expansion of macro 'DT_NODELABEL' 508 | #define MAX_TX_PWR(label) DT_PROP(DT_NODELABEL(nrf70), label) * 4 | ^~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:568:47: note: in expansion of macro 'MAX_TX_PWR' 568 | tx_pwr_ceil_params->max_pwr_2g_mcs0 = MAX_TX_PWR(wifi_max_tx_pwr_2g_mcs0); | ^~~~~~~~~~ In file included from C:/ncs/v3.1.1/zephyr/include/zephyr/sw_isr_table.h:18, from C:/ncs/v3.1.1/zephyr/include/zephyr/arch/arm/irq.h:19, from C:/ncs/v3.1.1/zephyr/include/zephyr/arch/arm/arch.h:24: C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c: At top level: C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:349:40: error: 'DT_N_INST_0_nordic_wlan_FULL_NAME' undeclared here (not in a function); did you mean 'DT_N_INST_0_nordic_nrf_kmu'? 349 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:1154:25: note: in definition of macro 'Z_DEVICE_INIT' 1154 | .name = name_, \ | ^~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:1281:9: note: in expansion of macro 'Z_DEVICE_BASE_DEFINE' 1281 | Z_DEVICE_BASE_DEFINE(node_id, dev_id, name, init_fn, deinit_fn, flags, \ | ^~~~~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/net/net_if.h:3441:9: note: in expansion of macro 'Z_DEVICE_DEFINE' 3441 | Z_DEVICE_DEFINE(node_id, dev_id, name, init_fn, NULL, \ | ^~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/net/ethernet.h:1173:9: note: in expansion of macro 'Z_NET_DEVICE_INIT_INSTANCE' 1173 | Z_NET_DEVICE_INIT_INSTANCE(node_id, dev_id, name, instance, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/net/ethernet.h:1193:9: note: in expansion of macro 'Z_ETH_NET_DEVICE_INIT_INSTANCE' 1193 | Z_ETH_NET_DEVICE_INIT_INSTANCE(node_id, dev_id, name, 0, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/net/ethernet.h:1267:9: note: in expansion of macro 'Z_ETH_NET_DEVICE_INIT' 1267 | Z_ETH_NET_DEVICE_INIT(node_id, Z_DEVICE_DT_DEV_ID(node_id), \ | ^~~~~~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/sys/util_internal.h:69:53: note: in expansion of macro '__DEBRACKET' 69 | #define __GET_ARG2_DEBRACKET(ignore_this, val, ...) __DEBRACKET val | ^~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/sys/util_internal.h:64:9: note: in expansion of macro '__GET_ARG2_DEBRACKET' 64 | __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code) | ^~~~~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/sys/util_internal.h:59:9: note: in expansion of macro '__COND_CODE' 59 | __COND_CODE(_XXXX##_flag, _if_1_code, _else_code) | ^~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/sys/util_macro.h:204:9: note: in expansion of macro 'Z_COND_CODE_1' 204 | Z_COND_CODE_1(_flag, _if_1_code, _else_code) | ^~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:936:9: note: in expansion of macro 'COND_CODE_1' 936 | COND_CODE_1(DT_NODE_HAS_PROP(node_id, prop), \ | ^~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:200:9: note: in expansion of macro 'DT_PROP_OR' 200 | DT_PROP_OR(node_id, label, DT_NODE_FULL_NAME(node_id)) | ^~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:537:36: note: in expansion of macro 'DT_CAT' 537 | #define DT_NODE_FULL_NAME(node_id) DT_CAT(node_id, _FULL_NAME) | ^~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:200:36: note: in expansion of macro 'DT_NODE_FULL_NAME' 200 | DT_PROP_OR(node_id, label, DT_NODE_FULL_NAME(node_id)) | ^~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/net/ethernet.h:1268:31: note: in expansion of macro 'DEVICE_DT_NAME' 1268 | DEVICE_DT_NAME(node_id), init_fn, pm, \ | ^~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/net/ethernet.h:1281:9: note: in expansion of macro 'ETH_NET_DEVICE_DT_DEFINE' 1281 | ETH_NET_DEVICE_DT_DEFINE(DT_DRV_INST(inst), __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/sys/util_internal.h:104:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 104 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:349:31: note: in expansion of macro 'UTIL_CAT' 349 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:3909:27: note: in expansion of macro 'DT_INST' 3909 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT) | ^~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/net/ethernet.h:1281:34: note: in expansion of macro 'DT_DRV_INST' 1281 | ETH_NET_DEVICE_DT_DEFINE(DT_DRV_INST(inst), __VA_ARGS__) | ^~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:968:1: note: in expansion of macro 'ETH_NET_DEVICE_DT_INST_DEFINE' 968 | ETH_NET_DEVICE_DT_INST_DEFINE(0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [458/557] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/ncs/v3.1[461/557] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/ncs/v3.1[463/557] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/ncs/v3.1[464/557] Building C object zephyr/drivers/wifi/nrf_wifi/CMakeFiles/nrf_wifi.dir/src/wpa_supp_if.c.obj FAILED: zephyr/drivers/wifi/nrf_wifi/CMakeFiles/nrf_wifi.dir/src/wpa_supp_if.c.obj C:\ncs\toolchains\c1a76fddb2\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=30808 -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\" nrf-psa-crypto-config.h\" -DNRF54L_CONFIGURATION_56_ENABLE=0 -DNRF70_2_4G_ONLY -DNRF70_ANT_GAIN_2G=0 -DNRF70_ANT_GAIN_5G_BAND1=0 -DNRF70_ANT_GAIN_5G_BAND2=0 -DNRF70_ANT_GAIN_5G_BAND3=0 -DNRF70_BAND_2G _LOWER_EDGE_BACKOFF_DSSS=0 -DNRF70_BAND_2G_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_2G_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_2G_UPPER_EDGE_BACKOFF_DSSS=0 -DNRF70_BAND_2G_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAN D_2G_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_1_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_1_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_1_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_1_UPPER_EDGE_BACKOFF_ HT=0 -DNRF70_BAND_UNII_2A_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2A_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_2A_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2A_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UN II_2C_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2C_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_2C_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2C_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_3_LOWER_EDGE_BACK OFF_HE=0 -DNRF70_BAND_UNII_3_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_3_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_3_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_4_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UN II_4_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_4_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_4_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_DATA_TX -DNRF70_LOG_VERBOSE -DNRF70_MAX_TX_PENDING_QLEN=18 -DNRF70_MAX_TX_T OKENS=10 -DNRF70_PCB_LOSS_2G=0 -DNRF70_PCB_LOSS_5G_BAND1=0 -DNRF70_PCB_LOSS_5G_BAND2=0 -DNRF70_PCB_LOSS_5G_BAND3=0 -DNRF70_RPU_PS_IDLE_TIMEOUT_MS=10 -DNRF70_RX_MAX_DATA_SIZE=1600 -DNRF70_RX_NUM_BUFS=1 6 -DNRF70_STA_MODE -DNRF70_SYSTEM_MODE -DNRF70_TCP_IP_CHECKSUM_OFFLOAD -DNRF9160_XXAA -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DNRF_WIFI_AP_DEAD_DETECT_TIMEOUT=20 -DNRF_WIFI_DISPLAY_S CAN_BSS_LIMIT=150 -DNRF_WIFI_IFACE_MTU=1500 -DNRF_WIFI_LOW_POWER -DNRF_WIFI_MAX_PS_POLL_FAIL_CNT=10 -DNRF_WIFI_MGMT_BUFF_OFFLOAD -DNRF_WIFI_PS_INT_PS=y -DNRF_WIFI_RPU_MIN_TIME_TO_ENTER_SLEEP_MS=5000 - DNRF_WIFI_RPU_RECOVERY -DNRF_WIFI_RPU_RECOVERY_PS_ACTIVE_TIMEOUT_MS=50000 -DNRF_WIFI_RX_STBC_HT -DPICOLIBC_DOUBLE_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -DWIFI_NRF70_LOG_LEVEL=3 -D__LINUX_ERRNO_EXTENS IONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -IC:/Users/HanXcel/shell/build/shell/zephyr/include/generated/zephyr -IC:/ncs/v3.1.1/zephyr/include -IC:/Users/HanXcel/shell/build/shell /zephyr/include/generated -IC:/ncs/v3.1.1/zephyr/soc/nordic -IC:/ncs/v3.1.1/zephyr/include/zephyr/posix -IC:/ncs/v3.1.1/zephyr/lib/posix/options/getopt -IC:/ncs/v3.1.1/zephyr/soc/nordic/nrf91/. -IC:/n cs/v3.1.1/zephyr/soc/nordic/common/. -IC:/ncs/v3.1.1/zephyr/subsys/net/l2 -IC:/ncs/v3.1.1/zephyr/subsys/net/lib/dns/. -IC:/ncs/v3.1.1/zephyr/subsys/net/conn_mgr/. -IC:/ncs/v3.1.1/zephyr/subsys/setting s/include -IC:/ncs/v3.1.1/zephyr/subsys/shell/modules/kernel_service/thread/.. -IC:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/inc -IC:/ncs/v3.1.1/zephyr/subsys/net/ip -IC:/ncs/v3.1.1/nrf/include -IC:/Us ers/HanXcel/shell/build/shell/tfm/api_ns/interface/include -IC:/Users/HanXcel/shell/build/shell/zephyr/misc/generated -IC:/ncs/v3.1.1/modules/lib/hostap/port/mbedtls -IC:/ncs/v3.1.1/nrf/subsys/setting s/include -IC:/ncs/v3.1.1/nrf/modules/trusted-firmware-m/. -IC:/ncs/v3.1.1/nrf/include/tfm -IC:/ncs/v3.1.1/nrf/tests/include -IC:/ncs/v3.1.1/zephyr/modules/hostap/src -IC:/ncs/v3.1.1/modules/lib/hosta p -IC:/ncs/v3.1.1/modules/lib/hostap/wpa_supplicant -IC:/ncs/v3.1.1/modules/lib/hostap/src -IC:/ncs/v3.1.1/modules/lib/hostap/src/common -IC:/ncs/v3.1.1/modules/lib/hostap/src/eap_common -IC:/ncs/v3.1 .1/modules/lib/hostap/src/eap_server -IC:/ncs/v3.1.1/modules/lib/hostap/src/radius -IC:/ncs/v3.1.1/modules/lib/hostap/src/crypto -IC:/ncs/v3.1.1/modules/lib/hostap/src/ap -IC:/ncs/v3.1.1/modules/lib/h ostap/src/drivers -IC:/ncs/v3.1.1/modules/lib/hostap/src/rsn_supp -IC:/ncs/v3.1.1/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v3.1.1/modules/hal/cmsis_6/CMSIS/Core/Include -IC:/ncs/v3.1.1/zephyr/mod ules/cmsis_6/. -IC:/ncs/v3.1.1/nrf/modules/hal_nordic/. -IC:/ncs/v3.1.1/modules/hal/nordic/nrfx -IC:/ncs/v3.1.1/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v3.1.1/modules/hal/nordic/nrfx/mdk -IC: /ncs/v3.1.1/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v3.1.1/zephyr/modules/nrf_wifi/os -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/os_if/inc -IC:/ncs/v3.1.1/nrfxlib/nrf_modem/include -IC:/Users/HanXcel/shel l/build/shell/generated/interface_nrf_security_psa -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/include -IC:/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/include -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/ threading/include -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/utils -IC:/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/library -IC:/ncs/v3.1.1/modules/crypto/mbedtls/library -IC:/ncs/v3.1.1/modules/cryp to/mbedtls/include -IC:/ncs/v3.1.1/modules/crypto/mbedtls/include/library -IC:/ncs/v3.1.1/nrfxlib/crypto/nrf_oberon/include -IC:/ncs/v3.1.1/nrfxlib/crypto/nrf_oberon/include/mbedtls -IC:/ncs/v3.1.1/mo dules/lib/nrf_wifi -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/../bus -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/utils/inc -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/bus_if/bus/qspi/inc -IC:/ncs/v3.1.1/modules/lib/nrf_w ifi/bus_if/bal/inc -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/fw_if/umac_if/inc -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/fw_load/mips/fw/inc -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/hw_if/hal/inc -IC:/ncs/v3.1.1/mo dules/lib/nrf_wifi/fw_if/umac_if/inc/fw -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/fw_if/umac_if/inc/fw/stats -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/fw_if/umac_if/inc/fw/stats/system -isystem C:/ncs/v3.1.1/ze phyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Os -imacros C:/Users/HanXcel/shell/build/shell/zephyr/include/generated/zephyr/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=alway s -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=C:/ncs/toolchains/c1a76fddb2/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v3.1.1/zephyr/include/zephyr/t oolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=impli cit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/Users/HanXcel/shell=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v3.1.1/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v3.1.1=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/dri vers/wifi/nrf_wifi/CMakeFiles/nrf_wifi.dir/src/wpa_supp_if.c.obj -MF zephyr\drivers\wifi\nrf_wifi\CMakeFiles\nrf_wifi.dir\src\wpa_supp_if.c.obj.d -o zephyr/drivers/wifi/nrf_wifi/CMakeFiles/nrf_wifi.di r/src/wpa_supp_if.c.obj -c C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/wpa_supp_if.c In file included from C:/ncs/v3.1.1/zephyr/include/zephyr/toolchain/gcc.h:98, from C:/ncs/v3.1.1/zephyr/include/zephyr/toolchain.h:52, from C:/ncs/v3.1.1/zephyr/include/zephyr/sys/__assert.h:11, from C:/ncs/v3.1.1/zephyr/include/zephyr/irq_multilevel.h:15, from C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:20, from C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:12, from C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/wpa_supp_if.c:13: C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/wpa_supp_if.c: In function 'nrf_wifi_wpa_supp_dev_init': C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:96:41: error: '__device_dts_ord_DT_CHOSEN_zephyr_wifi_ORD' undeclared (first use in this function) 96 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/toolchain/common.h:168:26: note: in definition of macro '_DO_CONCAT' 168 | #define _DO_CONCAT(x, y) x ## y | ^ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:96:33: note: in expansion of macro '_CONCAT' 96 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:293:37: note: in expansion of macro 'DEVICE_NAME_GET' 293 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id)) | ^~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:310:34: note: in expansion of macro 'DEVICE_DT_NAME_GET' 310 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id)) | ^~~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/wpa_supp_if.c:450:39: note: in expansion of macro 'DEVICE_DT_GET' 450 | const struct device *device = DEVICE_DT_GET(DT_CHOSEN(zephyr_wifi)); | ^~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:96:41: note: each undeclared identifier is reported only once for each function it appears in 96 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/toolchain/common.h:168:26: note: in definition of macro '_DO_CONCAT' 168 | #define _DO_CONCAT(x, y) x ## y | ^ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:96:33: note: in expansion of macro '_CONCAT' 96 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:293:37: note: in expansion of macro 'DEVICE_NAME_GET' 293 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id)) | ^~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:310:34: note: in expansion of macro 'DEVICE_DT_NAME_GET' 310 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id)) | ^~~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/wpa_supp_if.c:450:39: note: in expansion of macro 'DEVICE_DT_GET' 450 | const struct device *device = DEVICE_DT_GET(DT_CHOSEN(zephyr_wifi)); | ^~~~~~~~~~~~~ [465/557] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/ncs/v3.1[466/557] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/ncs/v3.1[467/557] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/ncs/v3.1[469/557] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/ncs/v3.1[470/557] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj ninja: build stopped: subcommand failed. FAILED: _sysbuild/sysbuild/images/shell-prefix/src/shell-stamp/shell-build C:/Users/HanXcel/shell/build/_sysbuild/sysbuild/images/shell-prefix/src/shell-stamp/shell-build cmd.exe /C "cd /D C:\Users\HanXcel\shell\build\shell && C:\ncs\toolchains\c1a76fddb2\opt\bin\cmake.exe --build ." ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\c1a76fddb2\opt\bin\cmake.EXE' --build C:/Users/HanXcel/shell/build

Reply
  • [457/557] Building C object zephyr/drivers/wifi/nrf_wifi/CMakeFiles/nrf_wifi.dir/src/fmac_main.c.obj FAILED: zephyr/drivers/wifi/nrf_wifi/CMakeFiles/nrf_wifi.dir/src/fmac_main.c.obj C:\ncs\toolchains\c1a76fddb2\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=30808 -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\" nrf-psa-crypto-config.h\" -DNRF54L_CONFIGURATION_56_ENABLE=0 -DNRF70_2_4G_ONLY -DNRF70_ANT_GAIN_2G=0 -DNRF70_ANT_GAIN_5G_BAND1=0 -DNRF70_ANT_GAIN_5G_BAND2=0 -DNRF70_ANT_GAIN_5G_BAND3=0 -DNRF70_BAND_2G _LOWER_EDGE_BACKOFF_DSSS=0 -DNRF70_BAND_2G_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_2G_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_2G_UPPER_EDGE_BACKOFF_DSSS=0 -DNRF70_BAND_2G_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAN D_2G_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_1_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_1_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_1_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_1_UPPER_EDGE_BACKOFF_ HT=0 -DNRF70_BAND_UNII_2A_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2A_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_2A_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2A_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UN II_2C_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2C_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_2C_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2C_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_3_LOWER_EDGE_BACK OFF_HE=0 -DNRF70_BAND_UNII_3_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_3_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_3_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_4_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UN II_4_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_4_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_4_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_DATA_TX -DNRF70_LOG_VERBOSE -DNRF70_MAX_TX_PENDING_QLEN=18 -DNRF70_MAX_TX_T OKENS=10 -DNRF70_PCB_LOSS_2G=0 -DNRF70_PCB_LOSS_5G_BAND1=0 -DNRF70_PCB_LOSS_5G_BAND2=0 -DNRF70_PCB_LOSS_5G_BAND3=0 -DNRF70_RPU_PS_IDLE_TIMEOUT_MS=10 -DNRF70_RX_MAX_DATA_SIZE=1600 -DNRF70_RX_NUM_BUFS=1 6 -DNRF70_STA_MODE -DNRF70_SYSTEM_MODE -DNRF70_TCP_IP_CHECKSUM_OFFLOAD -DNRF9160_XXAA -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DNRF_WIFI_AP_DEAD_DETECT_TIMEOUT=20 -DNRF_WIFI_DISPLAY_S CAN_BSS_LIMIT=150 -DNRF_WIFI_IFACE_MTU=1500 -DNRF_WIFI_LOW_POWER -DNRF_WIFI_MAX_PS_POLL_FAIL_CNT=10 -DNRF_WIFI_MGMT_BUFF_OFFLOAD -DNRF_WIFI_PS_INT_PS=y -DNRF_WIFI_RPU_MIN_TIME_TO_ENTER_SLEEP_MS=5000 - DNRF_WIFI_RPU_RECOVERY -DNRF_WIFI_RPU_RECOVERY_PS_ACTIVE_TIMEOUT_MS=50000 -DNRF_WIFI_RX_STBC_HT -DPICOLIBC_DOUBLE_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -DWIFI_NRF70_LOG_LEVEL=3 -D__LINUX_ERRNO_EXTENS IONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -IC:/Users/HanXcel/shell/build/shell/zephyr/include/generated/zephyr -IC:/ncs/v3.1.1/zephyr/include -IC:/Users/HanXcel/shell/build/shell /zephyr/include/generated -IC:/ncs/v3.1.1/zephyr/soc/nordic -IC:/ncs/v3.1.1/zephyr/include/zephyr/posix -IC:/ncs/v3.1.1/zephyr/lib/posix/options/getopt -IC:/ncs/v3.1.1/zephyr/soc/nordic/nrf91/. -IC:/n cs/v3.1.1/zephyr/soc/nordic/common/. -IC:/ncs/v3.1.1/zephyr/subsys/net/l2 -IC:/ncs/v3.1.1/zephyr/subsys/net/lib/dns/. -IC:/ncs/v3.1.1/zephyr/subsys/net/conn_mgr/. -IC:/ncs/v3.1.1/zephyr/subsys/setting s/include -IC:/ncs/v3.1.1/zephyr/subsys/shell/modules/kernel_service/thread/.. -IC:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/inc -IC:/ncs/v3.1.1/zephyr/subsys/net/ip -IC:/ncs/v3.1.1/nrf/include -IC:/Us ers/HanXcel/shell/build/shell/tfm/api_ns/interface/include -IC:/Users/HanXcel/shell/build/shell/zephyr/misc/generated -IC:/ncs/v3.1.1/modules/lib/hostap/port/mbedtls -IC:/ncs/v3.1.1/nrf/subsys/setting s/include -IC:/ncs/v3.1.1/nrf/modules/trusted-firmware-m/. -IC:/ncs/v3.1.1/nrf/include/tfm -IC:/ncs/v3.1.1/nrf/tests/include -IC:/ncs/v3.1.1/zephyr/modules/hostap/src -IC:/ncs/v3.1.1/modules/lib/hosta p -IC:/ncs/v3.1.1/modules/lib/hostap/wpa_supplicant -IC:/ncs/v3.1.1/modules/lib/hostap/src -IC:/ncs/v3.1.1/modules/lib/hostap/src/common -IC:/ncs/v3.1.1/modules/lib/hostap/src/eap_common -IC:/ncs/v3.1 .1/modules/lib/hostap/src/eap_server -IC:/ncs/v3.1.1/modules/lib/hostap/src/radius -IC:/ncs/v3.1.1/modules/lib/hostap/src/crypto -IC:/ncs/v3.1.1/modules/lib/hostap/src/ap -IC:/ncs/v3.1.1/modules/lib/h ostap/src/drivers -IC:/ncs/v3.1.1/modules/lib/hostap/src/rsn_supp -IC:/ncs/v3.1.1/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v3.1.1/modules/hal/cmsis_6/CMSIS/Core/Include -IC:/ncs/v3.1.1/zephyr/mod ules/cmsis_6/. -IC:/ncs/v3.1.1/nrf/modules/hal_nordic/. -IC:/ncs/v3.1.1/modules/hal/nordic/nrfx -IC:/ncs/v3.1.1/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v3.1.1/modules/hal/nordic/nrfx/mdk -IC: /ncs/v3.1.1/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v3.1.1/zephyr/modules/nrf_wifi/os -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/os_if/inc -IC:/ncs/v3.1.1/nrfxlib/nrf_modem/include -IC:/Users/HanXcel/shel l/build/shell/generated/interface_nrf_security_psa -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/include -IC:/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/include -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/ threading/include -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/utils -IC:/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/library -IC:/ncs/v3.1.1/modules/crypto/mbedtls/library -IC:/ncs/v3.1.1/modules/cryp to/mbedtls/include -IC:/ncs/v3.1.1/modules/crypto/mbedtls/include/library -IC:/ncs/v3.1.1/nrfxlib/crypto/nrf_oberon/include -IC:/ncs/v3.1.1/nrfxlib/crypto/nrf_oberon/include/mbedtls -IC:/ncs/v3.1.1/mo dules/lib/nrf_wifi -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/../bus -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/utils/inc -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/bus_if/bus/qspi/inc -IC:/ncs/v3.1.1/modules/lib/nrf_w ifi/bus_if/bal/inc -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/fw_if/umac_if/inc -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/fw_load/mips/fw/inc -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/hw_if/hal/inc -IC:/ncs/v3.1.1/mo dules/lib/nrf_wifi/fw_if/umac_if/inc/fw -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/fw_if/umac_if/inc/fw/stats -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/fw_if/umac_if/inc/fw/stats/system -isystem C:/ncs/v3.1.1/ze phyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Os -imacros C:/Users/HanXcel/shell/build/shell/zephyr/include/generated/zephyr/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=alway s -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=C:/ncs/toolchains/c1a76fddb2/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v3.1.1/zephyr/include/zephyr/t oolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=impli cit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/Users/HanXcel/shell=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v3.1.1/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v3.1.1=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/dri vers/wifi/nrf_wifi/CMakeFiles/nrf_wifi.dir/src/fmac_main.c.obj -MF zephyr\drivers\wifi\nrf_wifi\CMakeFiles\nrf_wifi.dir\src\fmac_main.c.obj.d -o zephyr/drivers/wifi/nrf_wifi/CMakeFiles/nrf_wifi.dir/sr c/fmac_main.c.obj -c C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c In file included from C:/ncs/v3.1.1/zephyr/include/zephyr/arch/arm/arch.h:20, from C:/ncs/v3.1.1/zephyr/include/zephyr/arch/cpu.h:19, from C:/ncs/v3.1.1/zephyr/include/zephyr/kernel_includes.h:36, from C:/ncs/v3.1.1/zephyr/include/zephyr/kernel.h:17, from C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:14: C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c: In function 'configure_tx_pwr_settings': C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:196:36: error: 'DT_N_NODELABEL_nrf70_P_wifi_max_tx_pwr_2g_dsss' undeclared (first use in this function) 196 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:5271:29: note: in definition of macro 'DT_CAT3' 5271 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3 | ^~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:508:27: note: in expansion of macro 'DT_PROP' 508 | #define MAX_TX_PWR(label) DT_PROP(DT_NODELABEL(nrf70), label) * 4 | ^~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:196:29: note: in expansion of macro 'DT_CAT' 196 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:508:35: note: in expansion of macro 'DT_NODELABEL' 508 | #define MAX_TX_PWR(label) DT_PROP(DT_NODELABEL(nrf70), label) * 4 | ^~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:566:47: note: in expansion of macro 'MAX_TX_PWR' 566 | tx_pwr_ceil_params->max_pwr_2g_dsss = MAX_TX_PWR(wifi_max_tx_pwr_2g_dsss); | ^~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:196:36: note: each undeclared identifier is reported only once for each function it appears in 196 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:5271:29: note: in definition of macro 'DT_CAT3' 5271 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3 | ^~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:508:27: note: in expansion of macro 'DT_PROP' 508 | #define MAX_TX_PWR(label) DT_PROP(DT_NODELABEL(nrf70), label) * 4 | ^~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:196:29: note: in expansion of macro 'DT_CAT' 196 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:508:35: note: in expansion of macro 'DT_NODELABEL' 508 | #define MAX_TX_PWR(label) DT_PROP(DT_NODELABEL(nrf70), label) * 4 | ^~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:566:47: note: in expansion of macro 'MAX_TX_PWR' 566 | tx_pwr_ceil_params->max_pwr_2g_dsss = MAX_TX_PWR(wifi_max_tx_pwr_2g_dsss); | ^~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:196:36: error: 'DT_N_NODELABEL_nrf70_P_wifi_max_tx_pwr_2g_mcs7' undeclared (first use in this function) 196 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:5271:29: note: in definition of macro 'DT_CAT3' 5271 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3 | ^~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:508:27: note: in expansion of macro 'DT_PROP' 508 | #define MAX_TX_PWR(label) DT_PROP(DT_NODELABEL(nrf70), label) * 4 | ^~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:196:29: note: in expansion of macro 'DT_CAT' 196 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:508:35: note: in expansion of macro 'DT_NODELABEL' 508 | #define MAX_TX_PWR(label) DT_PROP(DT_NODELABEL(nrf70), label) * 4 | ^~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:567:47: note: in expansion of macro 'MAX_TX_PWR' 567 | tx_pwr_ceil_params->max_pwr_2g_mcs7 = MAX_TX_PWR(wifi_max_tx_pwr_2g_mcs7); | ^~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:196:36: error: 'DT_N_NODELABEL_nrf70_P_wifi_max_tx_pwr_2g_mcs0' undeclared (first use in this function) 196 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:5271:29: note: in definition of macro 'DT_CAT3' 5271 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3 | ^~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:508:27: note: in expansion of macro 'DT_PROP' 508 | #define MAX_TX_PWR(label) DT_PROP(DT_NODELABEL(nrf70), label) * 4 | ^~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:196:29: note: in expansion of macro 'DT_CAT' 196 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label) | ^~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:508:35: note: in expansion of macro 'DT_NODELABEL' 508 | #define MAX_TX_PWR(label) DT_PROP(DT_NODELABEL(nrf70), label) * 4 | ^~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:568:47: note: in expansion of macro 'MAX_TX_PWR' 568 | tx_pwr_ceil_params->max_pwr_2g_mcs0 = MAX_TX_PWR(wifi_max_tx_pwr_2g_mcs0); | ^~~~~~~~~~ In file included from C:/ncs/v3.1.1/zephyr/include/zephyr/sw_isr_table.h:18, from C:/ncs/v3.1.1/zephyr/include/zephyr/arch/arm/irq.h:19, from C:/ncs/v3.1.1/zephyr/include/zephyr/arch/arm/arch.h:24: C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c: At top level: C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:349:40: error: 'DT_N_INST_0_nordic_wlan_FULL_NAME' undeclared here (not in a function); did you mean 'DT_N_INST_0_nordic_nrf_kmu'? 349 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:1154:25: note: in definition of macro 'Z_DEVICE_INIT' 1154 | .name = name_, \ | ^~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:1281:9: note: in expansion of macro 'Z_DEVICE_BASE_DEFINE' 1281 | Z_DEVICE_BASE_DEFINE(node_id, dev_id, name, init_fn, deinit_fn, flags, \ | ^~~~~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/net/net_if.h:3441:9: note: in expansion of macro 'Z_DEVICE_DEFINE' 3441 | Z_DEVICE_DEFINE(node_id, dev_id, name, init_fn, NULL, \ | ^~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/net/ethernet.h:1173:9: note: in expansion of macro 'Z_NET_DEVICE_INIT_INSTANCE' 1173 | Z_NET_DEVICE_INIT_INSTANCE(node_id, dev_id, name, instance, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/net/ethernet.h:1193:9: note: in expansion of macro 'Z_ETH_NET_DEVICE_INIT_INSTANCE' 1193 | Z_ETH_NET_DEVICE_INIT_INSTANCE(node_id, dev_id, name, 0, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/net/ethernet.h:1267:9: note: in expansion of macro 'Z_ETH_NET_DEVICE_INIT' 1267 | Z_ETH_NET_DEVICE_INIT(node_id, Z_DEVICE_DT_DEV_ID(node_id), \ | ^~~~~~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/sys/util_internal.h:69:53: note: in expansion of macro '__DEBRACKET' 69 | #define __GET_ARG2_DEBRACKET(ignore_this, val, ...) __DEBRACKET val | ^~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/sys/util_internal.h:64:9: note: in expansion of macro '__GET_ARG2_DEBRACKET' 64 | __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code) | ^~~~~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/sys/util_internal.h:59:9: note: in expansion of macro '__COND_CODE' 59 | __COND_CODE(_XXXX##_flag, _if_1_code, _else_code) | ^~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/sys/util_macro.h:204:9: note: in expansion of macro 'Z_COND_CODE_1' 204 | Z_COND_CODE_1(_flag, _if_1_code, _else_code) | ^~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:936:9: note: in expansion of macro 'COND_CODE_1' 936 | COND_CODE_1(DT_NODE_HAS_PROP(node_id, prop), \ | ^~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:200:9: note: in expansion of macro 'DT_PROP_OR' 200 | DT_PROP_OR(node_id, label, DT_NODE_FULL_NAME(node_id)) | ^~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:537:36: note: in expansion of macro 'DT_CAT' 537 | #define DT_NODE_FULL_NAME(node_id) DT_CAT(node_id, _FULL_NAME) | ^~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:200:36: note: in expansion of macro 'DT_NODE_FULL_NAME' 200 | DT_PROP_OR(node_id, label, DT_NODE_FULL_NAME(node_id)) | ^~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/net/ethernet.h:1268:31: note: in expansion of macro 'DEVICE_DT_NAME' 1268 | DEVICE_DT_NAME(node_id), init_fn, pm, \ | ^~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/net/ethernet.h:1281:9: note: in expansion of macro 'ETH_NET_DEVICE_DT_DEFINE' 1281 | ETH_NET_DEVICE_DT_DEFINE(DT_DRV_INST(inst), __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/sys/util_internal.h:104:26: note: in expansion of macro 'UTIL_PRIMITIVE_CAT' 104 | #define UTIL_CAT(a, ...) UTIL_PRIMITIVE_CAT(a, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:349:31: note: in expansion of macro 'UTIL_CAT' 349 | #define DT_INST(inst, compat) UTIL_CAT(DT_N_INST, DT_DASH(inst, compat)) | ^~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:3909:27: note: in expansion of macro 'DT_INST' 3909 | #define DT_DRV_INST(inst) DT_INST(inst, DT_DRV_COMPAT) | ^~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/net/ethernet.h:1281:34: note: in expansion of macro 'DT_DRV_INST' 1281 | ETH_NET_DEVICE_DT_DEFINE(DT_DRV_INST(inst), __VA_ARGS__) | ^~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/fmac_main.c:968:1: note: in expansion of macro 'ETH_NET_DEVICE_DT_INST_DEFINE' 968 | ETH_NET_DEVICE_DT_INST_DEFINE(0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [458/557] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/ncs/v3.1[461/557] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/ncs/v3.1[463/557] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/ncs/v3.1[464/557] Building C object zephyr/drivers/wifi/nrf_wifi/CMakeFiles/nrf_wifi.dir/src/wpa_supp_if.c.obj FAILED: zephyr/drivers/wifi/nrf_wifi/CMakeFiles/nrf_wifi.dir/src/wpa_supp_if.c.obj C:\ncs\toolchains\c1a76fddb2\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -DKERNEL -DK_HEAP_MEM_POOL_SIZE=30808 -DMBEDTLS_CONFIG_FILE=\"nrf-config.h\" -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\" nrf-psa-crypto-config.h\" -DNRF54L_CONFIGURATION_56_ENABLE=0 -DNRF70_2_4G_ONLY -DNRF70_ANT_GAIN_2G=0 -DNRF70_ANT_GAIN_5G_BAND1=0 -DNRF70_ANT_GAIN_5G_BAND2=0 -DNRF70_ANT_GAIN_5G_BAND3=0 -DNRF70_BAND_2G _LOWER_EDGE_BACKOFF_DSSS=0 -DNRF70_BAND_2G_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_2G_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_2G_UPPER_EDGE_BACKOFF_DSSS=0 -DNRF70_BAND_2G_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAN D_2G_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_1_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_1_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_1_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_1_UPPER_EDGE_BACKOFF_ HT=0 -DNRF70_BAND_UNII_2A_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2A_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_2A_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2A_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UN II_2C_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2C_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_2C_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_2C_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_3_LOWER_EDGE_BACK OFF_HE=0 -DNRF70_BAND_UNII_3_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_3_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_3_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_4_LOWER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UN II_4_LOWER_EDGE_BACKOFF_HT=0 -DNRF70_BAND_UNII_4_UPPER_EDGE_BACKOFF_HE=0 -DNRF70_BAND_UNII_4_UPPER_EDGE_BACKOFF_HT=0 -DNRF70_DATA_TX -DNRF70_LOG_VERBOSE -DNRF70_MAX_TX_PENDING_QLEN=18 -DNRF70_MAX_TX_T OKENS=10 -DNRF70_PCB_LOSS_2G=0 -DNRF70_PCB_LOSS_5G_BAND1=0 -DNRF70_PCB_LOSS_5G_BAND2=0 -DNRF70_PCB_LOSS_5G_BAND3=0 -DNRF70_RPU_PS_IDLE_TIMEOUT_MS=10 -DNRF70_RX_MAX_DATA_SIZE=1600 -DNRF70_RX_NUM_BUFS=1 6 -DNRF70_STA_MODE -DNRF70_SYSTEM_MODE -DNRF70_TCP_IP_CHECKSUM_OFFLOAD -DNRF9160_XXAA -DNRF_SKIP_FICR_NS_COPY_TO_RAM -DNRF_TRUSTZONE_NONSECURE -DNRF_WIFI_AP_DEAD_DETECT_TIMEOUT=20 -DNRF_WIFI_DISPLAY_S CAN_BSS_LIMIT=150 -DNRF_WIFI_IFACE_MTU=1500 -DNRF_WIFI_LOW_POWER -DNRF_WIFI_MAX_PS_POLL_FAIL_CNT=10 -DNRF_WIFI_MGMT_BUFF_OFFLOAD -DNRF_WIFI_PS_INT_PS=y -DNRF_WIFI_RPU_MIN_TIME_TO_ENTER_SLEEP_MS=5000 - DNRF_WIFI_RPU_RECOVERY -DNRF_WIFI_RPU_RECOVERY_PS_ACTIVE_TIMEOUT_MS=50000 -DNRF_WIFI_RX_STBC_HT -DPICOLIBC_DOUBLE_PRINTF_SCANF -DUSE_PARTITION_MANAGER=1 -DWIFI_NRF70_LOG_LEVEL=3 -D__LINUX_ERRNO_EXTENS IONS__ -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -IC:/Users/HanXcel/shell/build/shell/zephyr/include/generated/zephyr -IC:/ncs/v3.1.1/zephyr/include -IC:/Users/HanXcel/shell/build/shell /zephyr/include/generated -IC:/ncs/v3.1.1/zephyr/soc/nordic -IC:/ncs/v3.1.1/zephyr/include/zephyr/posix -IC:/ncs/v3.1.1/zephyr/lib/posix/options/getopt -IC:/ncs/v3.1.1/zephyr/soc/nordic/nrf91/. -IC:/n cs/v3.1.1/zephyr/soc/nordic/common/. -IC:/ncs/v3.1.1/zephyr/subsys/net/l2 -IC:/ncs/v3.1.1/zephyr/subsys/net/lib/dns/. -IC:/ncs/v3.1.1/zephyr/subsys/net/conn_mgr/. -IC:/ncs/v3.1.1/zephyr/subsys/setting s/include -IC:/ncs/v3.1.1/zephyr/subsys/shell/modules/kernel_service/thread/.. -IC:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/inc -IC:/ncs/v3.1.1/zephyr/subsys/net/ip -IC:/ncs/v3.1.1/nrf/include -IC:/Us ers/HanXcel/shell/build/shell/tfm/api_ns/interface/include -IC:/Users/HanXcel/shell/build/shell/zephyr/misc/generated -IC:/ncs/v3.1.1/modules/lib/hostap/port/mbedtls -IC:/ncs/v3.1.1/nrf/subsys/setting s/include -IC:/ncs/v3.1.1/nrf/modules/trusted-firmware-m/. -IC:/ncs/v3.1.1/nrf/include/tfm -IC:/ncs/v3.1.1/nrf/tests/include -IC:/ncs/v3.1.1/zephyr/modules/hostap/src -IC:/ncs/v3.1.1/modules/lib/hosta p -IC:/ncs/v3.1.1/modules/lib/hostap/wpa_supplicant -IC:/ncs/v3.1.1/modules/lib/hostap/src -IC:/ncs/v3.1.1/modules/lib/hostap/src/common -IC:/ncs/v3.1.1/modules/lib/hostap/src/eap_common -IC:/ncs/v3.1 .1/modules/lib/hostap/src/eap_server -IC:/ncs/v3.1.1/modules/lib/hostap/src/radius -IC:/ncs/v3.1.1/modules/lib/hostap/src/crypto -IC:/ncs/v3.1.1/modules/lib/hostap/src/ap -IC:/ncs/v3.1.1/modules/lib/h ostap/src/drivers -IC:/ncs/v3.1.1/modules/lib/hostap/src/rsn_supp -IC:/ncs/v3.1.1/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v3.1.1/modules/hal/cmsis_6/CMSIS/Core/Include -IC:/ncs/v3.1.1/zephyr/mod ules/cmsis_6/. -IC:/ncs/v3.1.1/nrf/modules/hal_nordic/. -IC:/ncs/v3.1.1/modules/hal/nordic/nrfx -IC:/ncs/v3.1.1/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v3.1.1/modules/hal/nordic/nrfx/mdk -IC: /ncs/v3.1.1/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v3.1.1/zephyr/modules/nrf_wifi/os -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/os_if/inc -IC:/ncs/v3.1.1/nrfxlib/nrf_modem/include -IC:/Users/HanXcel/shel l/build/shell/generated/interface_nrf_security_psa -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/include -IC:/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/include -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/ threading/include -IC:/ncs/v3.1.1/nrf/subsys/nrf_security/src/utils -IC:/ncs/v3.1.1/modules/crypto/oberon-psa-crypto/library -IC:/ncs/v3.1.1/modules/crypto/mbedtls/library -IC:/ncs/v3.1.1/modules/cryp to/mbedtls/include -IC:/ncs/v3.1.1/modules/crypto/mbedtls/include/library -IC:/ncs/v3.1.1/nrfxlib/crypto/nrf_oberon/include -IC:/ncs/v3.1.1/nrfxlib/crypto/nrf_oberon/include/mbedtls -IC:/ncs/v3.1.1/mo dules/lib/nrf_wifi -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/../bus -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/utils/inc -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/bus_if/bus/qspi/inc -IC:/ncs/v3.1.1/modules/lib/nrf_w ifi/bus_if/bal/inc -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/fw_if/umac_if/inc -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/fw_load/mips/fw/inc -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/hw_if/hal/inc -IC:/ncs/v3.1.1/mo dules/lib/nrf_wifi/fw_if/umac_if/inc/fw -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/fw_if/umac_if/inc/fw/stats -IC:/ncs/v3.1.1/modules/lib/nrf_wifi/fw_if/umac_if/inc/fw/stats/system -isystem C:/ncs/v3.1.1/ze phyr/lib/libc/common/include -Wshadow -fno-strict-aliasing -Os -imacros C:/Users/HanXcel/shell/build/shell/zephyr/include/generated/zephyr/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=alway s -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfp16-format=ieee -mtp=soft --sysroot=C:/ncs/toolchains/c1a76fddb2/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros C:/ncs/v3.1.1/zephyr/include/zephyr/t oolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wdouble-promotion -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=impli cit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -ftls-model=local-exec -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=C:/Users/HanXcel/shell=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v3.1.1/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v3.1.1=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=picolibc.specs -D_POSIX_THREADS -std=c99 -MD -MT zephyr/dri vers/wifi/nrf_wifi/CMakeFiles/nrf_wifi.dir/src/wpa_supp_if.c.obj -MF zephyr\drivers\wifi\nrf_wifi\CMakeFiles\nrf_wifi.dir\src\wpa_supp_if.c.obj.d -o zephyr/drivers/wifi/nrf_wifi/CMakeFiles/nrf_wifi.di r/src/wpa_supp_if.c.obj -c C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/wpa_supp_if.c In file included from C:/ncs/v3.1.1/zephyr/include/zephyr/toolchain/gcc.h:98, from C:/ncs/v3.1.1/zephyr/include/zephyr/toolchain.h:52, from C:/ncs/v3.1.1/zephyr/include/zephyr/sys/__assert.h:11, from C:/ncs/v3.1.1/zephyr/include/zephyr/irq_multilevel.h:15, from C:/ncs/v3.1.1/zephyr/include/zephyr/devicetree.h:20, from C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:12, from C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/wpa_supp_if.c:13: C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/wpa_supp_if.c: In function 'nrf_wifi_wpa_supp_dev_init': C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:96:41: error: '__device_dts_ord_DT_CHOSEN_zephyr_wifi_ORD' undeclared (first use in this function) 96 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/toolchain/common.h:168:26: note: in definition of macro '_DO_CONCAT' 168 | #define _DO_CONCAT(x, y) x ## y | ^ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:96:33: note: in expansion of macro '_CONCAT' 96 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:293:37: note: in expansion of macro 'DEVICE_NAME_GET' 293 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id)) | ^~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:310:34: note: in expansion of macro 'DEVICE_DT_NAME_GET' 310 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id)) | ^~~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/wpa_supp_if.c:450:39: note: in expansion of macro 'DEVICE_DT_GET' 450 | const struct device *device = DEVICE_DT_GET(DT_CHOSEN(zephyr_wifi)); | ^~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:96:41: note: each undeclared identifier is reported only once for each function it appears in 96 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/toolchain/common.h:168:26: note: in definition of macro '_DO_CONCAT' 168 | #define _DO_CONCAT(x, y) x ## y | ^ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:96:33: note: in expansion of macro '_CONCAT' 96 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id) | ^~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:293:37: note: in expansion of macro 'DEVICE_NAME_GET' 293 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id)) | ^~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/include/zephyr/device.h:310:34: note: in expansion of macro 'DEVICE_DT_NAME_GET' 310 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id)) | ^~~~~~~~~~~~~~~~~~ C:/ncs/v3.1.1/zephyr/drivers/wifi/nrf_wifi/src/wpa_supp_if.c:450:39: note: in expansion of macro 'DEVICE_DT_GET' 450 | const struct device *device = DEVICE_DT_GET(DT_CHOSEN(zephyr_wifi)); | ^~~~~~~~~~~~~ [465/557] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/ncs/v3.1[466/557] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/ncs/v3.1[467/557] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/ncs/v3.1[469/557] Building C object modules/nrf/subsys/nrf_security/src/CMakeFiles/mbedcrypto.dir/C_/ncs/v3.1[470/557] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj ninja: build stopped: subcommand failed. FAILED: _sysbuild/sysbuild/images/shell-prefix/src/shell-stamp/shell-build C:/Users/HanXcel/shell/build/_sysbuild/sysbuild/images/shell-prefix/src/shell-stamp/shell-build cmd.exe /C "cd /D C:\Users\HanXcel\shell\build\shell && C:\ncs\toolchains\c1a76fddb2\opt\bin\cmake.exe --build ." ninja: build stopped: subcommand failed. FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\c1a76fddb2\opt\bin\cmake.EXE' --build C:/Users/HanXcel/shell/build

Children
  • Thanks for providing the logs. How are you starting build? I.e. from the WiFi shell documentation

    I have no issues building the sample on my side.

    Kind regards,
    Øyvind

  • Hi,

    when i was give the board target nrf9160dk/nrf9160_ns there is an problem. when we given the nrf7002 there no problem. please share the device tree and prj.config file for my reference and guide me how we can use the nrf9160 with nrf7001 for wifiscan.

    Thanks and Regards,

    Jagadish M.

  • I am using default settings from device tree and prj.conf as per documentation. Here is my build configuration from VS Code

  • Hi,

    I downgraded the SDK3.1.0 AND toolchain also 3.1.0. but same problem.

    Please find the below logs.

    FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map C:/Users/HanXcel/scan/build/scan/zephyr/zephyr_pre0.map
    cmd.exe /C "cd . && C:\ncs\toolchains\b8b84efebd\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -gdwarf-4 @CMakeFiles\zephyr_pre0.rsp -o zephyr\zephyr_pre0.elf -L"c:/ncs/toolchains/b8b84e
    febd/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/thumb/v8-m.main/nofp" -lc -lgcc && cmd.exe /C "cd /D C:\Users\HanXcel\scan\build\scan\zephyr && C:\ncs\toolchains\b8b84efebd\o
    pt\bin\cmake.exe -E true""
    c:/ncs/toolchains/b8b84efebd/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.c.obj): in function `main':
    C:/Users/HanXcel/scan/src/main.c:298: undefined reference to `net_mgmt_NET_REQUEST_ETHERNET_SET_MAC_ADDRESS'
    collect2.exe: error: ld returned 1 exit status
    ninja: build stopped: subcommand failed.
    FAILED: _sysbuild/sysbuild/images/scan-prefix/src/scan-stamp/scan-build C:/Users/HanXcel/scan/build/_sysbuild/sysbuild/images/scan-prefix/src/scan-stamp/scan-build
    cmd.exe /C "cd /D C:\Users\HanXcel\scan\build\scan && C:\ncs\toolchains\b8b84efebd\opt\bin\cmake.exe --build ."
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\b8b84efebd\opt\bin\cmake.EXE' --build C:/Users/HanXcel/scan/build

    Thanks and Regards,

    Jagadish M

  • Hello,

    No need to downgrade, as there should not be any changes. 

    please provide build configuration and full build logs from your device. 

    Jagadish Mallesh said:
    C:/Users/HanXcel/scan/src/main.c:298: undefined reference to `net_mgmt_NET_REQUEST_ETHERNET_SET_MAC_ADDRESS'

    How are you building your project? What is the command you are starting build with?

    -Øyvind

Related