<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Can&amp;#39;t build MQTT sample for custom board with nrf52840 + nrf7002 via QSPI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114832/can-t-build-mqtt-sample-for-custom-board-with-nrf52840-nrf7002-via-qspi</link><description>Hi, 
 I&amp;#39;m trying to build the MQTT sample for a custom board, trying to communicate between nrf52840 and nrf7002 via QSPI. Here&amp;#39;s my board definition: 
 
 In the build configuration, I&amp;#39;ve obviously selected my_board_nrf52840, and then added two files</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Sep 2024 08:48:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114832/can-t-build-mqtt-sample-for-custom-board-with-nrf52840-nrf7002-via-qspi" /><item><title>RE: Can't build MQTT sample for custom board with nrf52840 + nrf7002 via QSPI</title><link>https://devzone.nordicsemi.com/thread/503370?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2024 08:48:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65cfa01c-3bc7-4667-8d80-5f3d8b7904c1</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Richard,&lt;/p&gt;
&lt;p&gt;The best way is to compare your devicetree file with the existing devicetree files as you did.&lt;/p&gt;
&lt;p&gt;Another option is to look at the build log and see the devicetree nodes the errors point towards. For example, if I build the MQTT sample with your board files and nrf52840dk_nrf52840.conf, I get the following build log:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; *  Executing task: nRF Connect: Generate config my_board_nrf52840 for nrf/samples/net/mqtt 

Building mqtt
west build --build-dir /home/marte/ncs/nrf/samples/net/mqtt/build /home/marte/ncs/nrf/samples/net/mqtt --pristine --board my_board_nrf52840 --no-sysbuild -- -DNCS_TOOLCHAIN_VERSION=NONE -DEXTRA_CONF_FILE=boards/nrf52840dk_nrf52840.conf -DBOARD_ROOT=/home/marte/nordic

-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: /home/marte/ncs/nrf/samples/net/mqtt
-- CMake version: 3.30.2
-- Found Python3: /usr/bin/python3 (found suitable version &amp;quot;3.10.12&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter
-- Cache files will be written to: /home/marte/.cache/zephyr
-- Zephyr version: 3.5.99 (/home/marte/ncs/zephyr)
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: my_board_nrf52840
-- Found host-tools: zephyr 0.16.5 (/home/marte/zephyr-sdk-0.16.5)
-- Found toolchain: zephyr 0.16.5 (/home/marte/zephyr-sdk-0.16.5)
-- Found Dtc: /home/marte/zephyr-sdk-0.16.5/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version &amp;quot;1.6.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found BOARD.dts: /home/marte/nordic/boards/arm/my_board_nrf52840/my_board_nrf52840.dts
-- Generated zephyr.dts: /home/marte/ncs/nrf/samples/net/mqtt/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /home/marte/ncs/nrf/samples/net/mqtt/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /home/marte/ncs/nrf/samples/net/mqtt/build/zephyr/dts.cmake
/home/marte/ncs/nrf/samples/net/mqtt/build/zephyr/zephyr.dts:53.25-58.5: Warning (unique_unit_address_if_enabled): /soc/clock@40000000: duplicate unit-address (also used in node /soc/power@40000000)
/home/marte/ncs/nrf/samples/net/mqtt/build/zephyr/zephyr.dts:319.21-323.5: Warning (unique_unit_address_if_enabled): /soc/acl@4001e000: duplicate unit-address (also used in node /soc/flash-controller@4001e000)

warning: Deprecated symbol GPIO_AS_PINRESET is enabled.


warning: Experimental symbol WIFI_CREDENTIALS is enabled.


warning: Experimental symbol WPA_SUPP is enabled.


warning: Experimental symbol WIFI_NRF700X is enabled.


warning: Experimental symbol NET_CONNECTION_MANAGER is enabled.

Parsing /home/marte/ncs/nrf/samples/net/mqtt/Kconfig
Loaded configuration &amp;#39;/home/marte/nordic/boards/arm/my_board_nrf52840/my_board_nrf52840_defconfig&amp;#39;
Merged configuration &amp;#39;/home/marte/ncs/nrf/samples/net/mqtt/prj.conf&amp;#39;
Merged configuration &amp;#39;/home/marte/ncs/nrf/samples/net/mqtt/boards/nrf52840dk_nrf52840.conf&amp;#39;
Configuration saved to &amp;#39;/home/marte/ncs/nrf/samples/net/mqtt/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/home/marte/ncs/nrf/samples/net/mqtt/build/zephyr/include/generated/autoconf.h&amp;#39;
-- Found GnuLd: /home/marte/zephyr-sdk-0.16.5/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd (found version &amp;quot;2.38&amp;quot;)
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/marte/zephyr-sdk-0.16.5/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/bin/ccache
CMake Warning at /home/marte/ncs/zephyr/CMakeLists.txt:862 (message):
  No SOURCES given to Zephyr library: drivers__led

  Excluding target from build.


CMake Warning at /home/marte/ncs/zephyr/CMakeLists.txt:862 (message):
  No SOURCES given to Zephyr library: drivers__serial

  Excluding target from build.


CMake Warning at /home/marte/ncs/zephyr/CMakeLists.txt:1957 (message):
  __ASSERT() statements are globally ENABLED


-- Configuring done (3.8s)
-- Generating done (0.2s)
-- Build files have been written to: /home/marte/ncs/nrf/samples/net/mqtt/build
-- west build: building application
[1/472] Preparing syscall dependency handling

[3/472] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (/home/marte/ncs/zephyr), build: v3.5.99-ncs1-1
[447/472] Building C object modules/nrf/drivers/wifi/nrf700x/CMakeFiles/..__nrf__drivers__wifi__nrf700x.dir/src/qspi/src/rpu_hw_if.c.obj
FAILED: modules/nrf/drivers/wifi/nrf700x/CMakeFiles/..__nrf__drivers__wifi__nrf700x.dir/src/qspi/src/rpu_hw_if.c.obj 
ccache /home/marte/zephyr-sdk-0.16.5/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCONFIG_NRF_WIFI_FW_BIN=/home/marte/ncs/nrfxlib/nrf_wifi/fw_bins/default/nrf70.bin -DCONFIG_ZEPHYR -DKERNEL -DMBEDTLS_CONFIG_FILE=\&amp;quot;nrf-config.h\&amp;quot; -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\&amp;quot;nrf-psa-crypto-want-config.h\&amp;quot; -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\&amp;quot;nrf-psa-crypto-config.h\&amp;quot; -DNRF52840_XXAA -DNRF52_ERRATA_215_ENABLE_WORKAROUND=0 -DNRF53_ERRATA_43_ENABLE_WORKAROUND=0 -D_ANSI_SOURCE -D_FORTIFY_SOURCE=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -I/home/marte/ncs/zephyr/include -I/home/marte/ncs/nrf/samples/net/mqtt/build/zephyr/include/generated -I/home/marte/ncs/zephyr/soc/arm/nordic_nrf/nrf52 -I/home/marte/ncs/zephyr/lib/libc/newlib/include -I/home/marte/ncs/zephyr/lib/posix/getopt/. -I/home/marte/ncs/zephyr/soc/common/nordic_nrf/. -I/home/marte/ncs/zephyr/soc/arm/nordic_nrf/common/. -I/home/marte/ncs/zephyr/subsys/net/l2 -I/home/marte/ncs/zephyr/subsys/net/lib/dns/. -I/home/marte/ncs/zephyr/subsys/net/conn_mgr/. -I/home/marte/ncs/zephyr/subsys/settings/include -I/home/marte/ncs/nrf/include -I/home/marte/ncs/nrf/modules/hostap/src -I/home/marte/ncs/nrf/modules/hostap/../../../modules/lib/hostap -I/home/marte/ncs/nrf/modules/hostap/../../../modules/lib/hostap/wpa_supplicant -I/home/marte/ncs/nrf/modules/hostap/../../../modules/lib/hostap/src -I/home/marte/ncs/nrf/drivers/wifi/nrf700x/inc -I/home/marte/ncs/nrfxlib/nrf_wifi/utils/inc -I/home/marte/ncs/nrfxlib/nrf_wifi/os_if/inc -I/home/marte/ncs/nrfxlib/nrf_wifi/bus_if/bus/qspi/inc -I/home/marte/ncs/nrfxlib/nrf_wifi/bus_if/bal/inc -I/home/marte/ncs/nrfxlib/nrf_wifi/fw_if/umac_if/inc -I/home/marte/ncs/nrfxlib/nrf_wifi/fw_load/mips/fw/inc -I/home/marte/ncs/nrfxlib/nrf_wifi/hw_if/hal/inc -I/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/qspi/inc -I/home/marte/ncs/zephyr/subsys/net/ip -I/home/marte/ncs/nrfxlib/nrf_wifi/hw_if/hal/inc/fw -I/home/marte/ncs/nrfxlib/nrf_wifi/fw_if/umac_if/inc/fw -I/home/marte/ncs/nrfxlib/nrf_wifi/fw_if/umac_if/inc/default -I/home/marte/ncs/nrf/tests/include -I/home/marte/ncs/modules/hal/cmsis/CMSIS/Core/Include -I/home/marte/ncs/zephyr/modules/cmsis/. -I/home/marte/ncs/modules/hal/nordic/nrfx -I/home/marte/ncs/modules/hal/nordic/nrfx/drivers/include -I/home/marte/ncs/modules/hal/nordic/nrfx/mdk -I/home/marte/ncs/zephyr/modules/hal_nordic/nrfx/. -I/home/marte/ncs/modules/debug/segger/SEGGER -I/home/marte/ncs/modules/debug/segger/Config -I/home/marte/ncs/nrf/samples/net/mqtt/build/modules/nrf/subsys/nrf_security/src/include/generated -I/home/marte/ncs/nrf/subsys/nrf_security/include -I/home/marte/ncs/nrf/ext/oberon/psa/core/include -I/home/marte/ncs/nrf/ext/oberon/psa/core/library -I/home/marte/ncs/modules/crypto/mbedtls/include -I/home/marte/ncs/modules/crypto/mbedtls/library -I/home/marte/ncs/nrfxlib/crypto/nrf_oberon/include -I/home/marte/ncs/nrfxlib/crypto/nrf_oberon/include/mbedtls -I/home/marte/ncs/nrf/ext/oberon/psa/drivers -isystem /home/marte/ncs/zephyr/lib/libc/common/include -isystem /home/marte/ncs/nrfxlib/crypto/nrf_cc310_platform/include -fno-strict-aliasing -Os -imacros /home/marte/ncs/nrf/samples/net/mqtt/build/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/home/marte/zephyr-sdk-0.16.5/arm-zephyr-eabi/arm-zephyr-eabi -imacros /home/marte/ncs/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/home/marte/ncs/nrf/samples/net/mqtt=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/marte/ncs/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/home/marte/ncs=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -D_POSIX_THREADS -std=c99 -MD -MT modules/nrf/drivers/wifi/nrf700x/CMakeFiles/..__nrf__drivers__wifi__nrf700x.dir/src/qspi/src/rpu_hw_if.c.obj -MF modules/nrf/drivers/wifi/nrf700x/CMakeFiles/..__nrf__drivers__wifi__nrf700x.dir/src/qspi/src/rpu_hw_if.c.obj.d -o modules/nrf/drivers/wifi/nrf700x/CMakeFiles/..__nrf__drivers__wifi__nrf700x.dir/src/qspi/src/rpu_hw_if.c.obj -c /home/marte/ncs/nrf/drivers/wifi/nrf700x/src/qspi/src/rpu_hw_if.c
In file included from /home/marte/ncs/zephyr/include/zephyr/toolchain/gcc.h:98,
                 from /home/marte/ncs/zephyr/include/zephyr/toolchain.h:50,
                 from /home/marte/ncs/zephyr/include/zephyr/kernel_includes.h:23,
                 from /home/marte/ncs/zephyr/include/zephyr/kernel.h:17,
                 from /home/marte/ncs/nrf/drivers/wifi/nrf700x/src/qspi/src/rpu_hw_if.c:15:
/home/marte/ncs/zephyr/include/zephyr/device.h:89:41: error: &amp;#39;__device_dts_ord_DT_N_NODELABEL_nrf700x_P_host_irq_gpios_IDX_0_PH_ORD&amp;#39; undeclared here (not in a function)
   89 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                         ^~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro &amp;#39;_DO_CONCAT&amp;#39;
  137 | #define _DO_CONCAT(x, y) x ## y
      |                          ^
/home/marte/ncs/zephyr/include/zephyr/device.h:89:33: note: in expansion of macro &amp;#39;_CONCAT&amp;#39;
   89 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                 ^~~~~~~
/home/marte/ncs/zephyr/include/zephyr/device.h:216:37: note: in expansion of macro &amp;#39;DEVICE_NAME_GET&amp;#39;
  216 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
      |                                     ^~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/device.h:233:34: note: in expansion of macro &amp;#39;DEVICE_DT_NAME_GET&amp;#39;
  233 | #define DEVICE_DT_GET(node_id) (&amp;amp;DEVICE_DT_NAME_GET(node_id))
      |                                  ^~~~~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/drivers/gpio.h:331:25: note: in expansion of macro &amp;#39;DEVICE_DT_GET&amp;#39;
  331 |                 .port = DEVICE_DT_GET(DT_GPIO_CTLR_BY_IDX(node_id, prop, idx)),\
      |                         ^~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/drivers/gpio.h:367:9: note: in expansion of macro &amp;#39;GPIO_DT_SPEC_GET_BY_IDX&amp;#39;
  367 |         GPIO_DT_SPEC_GET_BY_IDX(node_id, prop, 0)
      |         ^~~~~~~~~~~~~~~~~~~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/qspi/src/rpu_hw_if.c:30:1: note: in expansion of macro &amp;#39;GPIO_DT_SPEC_GET&amp;#39;
   30 | GPIO_DT_SPEC_GET(NRF7002_NODE, host_irq_gpios);
      | ^~~~~~~~~~~~~~~~
In file included from /home/marte/ncs/zephyr/include/zephyr/arch/arm/arch.h:20,
                 from /home/marte/ncs/zephyr/include/zephyr/arch/cpu.h:19,
                 from /home/marte/ncs/zephyr/include/zephyr/kernel_includes.h:37:
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:36: error: &amp;#39;DT_N_NODELABEL_nrf700x_P_host_irq_gpios_IDX_0_VAL_pin&amp;#39; undeclared here (not in a function)
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                                    ^~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:4352:9: note: in definition of macro &amp;#39;DT_CAT7&amp;#39;
 4352 |         a1 ## a2 ## a3 ## a4 ## a5 ## a6 ## a7
      |         ^~
/home/marte/ncs/zephyr/include/zephyr/devicetree/gpio.h:164:9: note: in expansion of macro &amp;#39;DT_PHA_BY_IDX&amp;#39;
  164 |         DT_PHA_BY_IDX(node_id, gpio_pha, idx, pin)
      |         ^~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/drivers/gpio.h:332:24: note: in expansion of macro &amp;#39;DT_GPIO_PIN_BY_IDX&amp;#39;
  332 |                 .pin = DT_GPIO_PIN_BY_IDX(node_id, prop, idx),                 \
      |                        ^~~~~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/drivers/gpio.h:367:9: note: in expansion of macro &amp;#39;GPIO_DT_SPEC_GET_BY_IDX&amp;#39;
  367 |         GPIO_DT_SPEC_GET_BY_IDX(node_id, prop, 0)
      |         ^~~~~~~~~~~~~~~~~~~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/qspi/src/rpu_hw_if.c:30:1: note: in expansion of macro &amp;#39;GPIO_DT_SPEC_GET&amp;#39;
   30 | GPIO_DT_SPEC_GET(NRF7002_NODE, host_irq_gpios);
      | ^~~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:29: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                             ^~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/qspi/src/rpu_hw_if.c:27:22: note: in expansion of macro &amp;#39;DT_NODELABEL&amp;#39;
   27 | #define NRF7002_NODE DT_NODELABEL(nrf700x)
      |                      ^~~~~~~~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/qspi/src/rpu_hw_if.c:30:18: note: in expansion of macro &amp;#39;NRF7002_NODE&amp;#39;
   30 | GPIO_DT_SPEC_GET(NRF7002_NODE, host_irq_gpios);
      |                  ^~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/device.h:89:41: error: &amp;#39;__device_dts_ord_DT_N_NODELABEL_nrf700x_P_iovdd_ctrl_gpios_IDX_0_PH_ORD&amp;#39; undeclared here (not in a function)
   89 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                         ^~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro &amp;#39;_DO_CONCAT&amp;#39;
  137 | #define _DO_CONCAT(x, y) x ## y
      |                          ^
/home/marte/ncs/zephyr/include/zephyr/device.h:89:33: note: in expansion of macro &amp;#39;_CONCAT&amp;#39;
   89 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                 ^~~~~~~
/home/marte/ncs/zephyr/include/zephyr/device.h:216:37: note: in expansion of macro &amp;#39;DEVICE_NAME_GET&amp;#39;
  216 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
      |                                     ^~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/device.h:233:34: note: in expansion of macro &amp;#39;DEVICE_DT_NAME_GET&amp;#39;
  233 | #define DEVICE_DT_GET(node_id) (&amp;amp;DEVICE_DT_NAME_GET(node_id))
      |                                  ^~~~~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/drivers/gpio.h:331:25: note: in expansion of macro &amp;#39;DEVICE_DT_GET&amp;#39;
  331 |                 .port = DEVICE_DT_GET(DT_GPIO_CTLR_BY_IDX(node_id, prop, idx)),\
      |                         ^~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/drivers/gpio.h:367:9: note: in expansion of macro &amp;#39;GPIO_DT_SPEC_GET_BY_IDX&amp;#39;
  367 |         GPIO_DT_SPEC_GET_BY_IDX(node_id, prop, 0)
      |         ^~~~~~~~~~~~~~~~~~~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/qspi/src/rpu_hw_if.c:33:1: note: in expansion of macro &amp;#39;GPIO_DT_SPEC_GET&amp;#39;
   33 | GPIO_DT_SPEC_GET(NRF7002_NODE, iovdd_ctrl_gpios);
      | ^~~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:36: error: &amp;#39;DT_N_NODELABEL_nrf700x_P_iovdd_ctrl_gpios_IDX_0_VAL_pin&amp;#39; undeclared here (not in a function)
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                                    ^~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:4352:9: note: in definition of macro &amp;#39;DT_CAT7&amp;#39;
 4352 |         a1 ## a2 ## a3 ## a4 ## a5 ## a6 ## a7
      |         ^~
/home/marte/ncs/zephyr/include/zephyr/devicetree/gpio.h:164:9: note: in expansion of macro &amp;#39;DT_PHA_BY_IDX&amp;#39;
  164 |         DT_PHA_BY_IDX(node_id, gpio_pha, idx, pin)
      |         ^~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/drivers/gpio.h:332:24: note: in expansion of macro &amp;#39;DT_GPIO_PIN_BY_IDX&amp;#39;
  332 |                 .pin = DT_GPIO_PIN_BY_IDX(node_id, prop, idx),                 \
      |                        ^~~~~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/drivers/gpio.h:367:9: note: in expansion of macro &amp;#39;GPIO_DT_SPEC_GET_BY_IDX&amp;#39;
  367 |         GPIO_DT_SPEC_GET_BY_IDX(node_id, prop, 0)
      |         ^~~~~~~~~~~~~~~~~~~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/qspi/src/rpu_hw_if.c:33:1: note: in expansion of macro &amp;#39;GPIO_DT_SPEC_GET&amp;#39;
   33 | GPIO_DT_SPEC_GET(NRF7002_NODE, iovdd_ctrl_gpios);
      | ^~~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:29: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                             ^~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/qspi/src/rpu_hw_if.c:27:22: note: in expansion of macro &amp;#39;DT_NODELABEL&amp;#39;
   27 | #define NRF7002_NODE DT_NODELABEL(nrf700x)
      |                      ^~~~~~~~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/qspi/src/rpu_hw_if.c:33:18: note: in expansion of macro &amp;#39;NRF7002_NODE&amp;#39;
   33 | GPIO_DT_SPEC_GET(NRF7002_NODE, iovdd_ctrl_gpios);
      |                  ^~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/device.h:89:41: error: &amp;#39;__device_dts_ord_DT_N_NODELABEL_nrf700x_P_bucken_gpios_IDX_0_PH_ORD&amp;#39; undeclared here (not in a function)
   89 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                         ^~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro &amp;#39;_DO_CONCAT&amp;#39;
  137 | #define _DO_CONCAT(x, y) x ## y
      |                          ^
/home/marte/ncs/zephyr/include/zephyr/device.h:89:33: note: in expansion of macro &amp;#39;_CONCAT&amp;#39;
   89 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                 ^~~~~~~
/home/marte/ncs/zephyr/include/zephyr/device.h:216:37: note: in expansion of macro &amp;#39;DEVICE_NAME_GET&amp;#39;
  216 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
      |                                     ^~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/device.h:233:34: note: in expansion of macro &amp;#39;DEVICE_DT_NAME_GET&amp;#39;
  233 | #define DEVICE_DT_GET(node_id) (&amp;amp;DEVICE_DT_NAME_GET(node_id))
      |                                  ^~~~~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/drivers/gpio.h:331:25: note: in expansion of macro &amp;#39;DEVICE_DT_GET&amp;#39;
  331 |                 .port = DEVICE_DT_GET(DT_GPIO_CTLR_BY_IDX(node_id, prop, idx)),\
      |                         ^~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/drivers/gpio.h:367:9: note: in expansion of macro &amp;#39;GPIO_DT_SPEC_GET_BY_IDX&amp;#39;
  367 |         GPIO_DT_SPEC_GET_BY_IDX(node_id, prop, 0)
      |         ^~~~~~~~~~~~~~~~~~~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/qspi/src/rpu_hw_if.c:36:1: note: in expansion of macro &amp;#39;GPIO_DT_SPEC_GET&amp;#39;
   36 | GPIO_DT_SPEC_GET(NRF7002_NODE, bucken_gpios);
      | ^~~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:36: error: &amp;#39;DT_N_NODELABEL_nrf700x_P_bucken_gpios_IDX_0_VAL_pin&amp;#39; undeclared here (not in a function)
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                                    ^~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:4352:9: note: in definition of macro &amp;#39;DT_CAT7&amp;#39;
 4352 |         a1 ## a2 ## a3 ## a4 ## a5 ## a6 ## a7
      |         ^~
/home/marte/ncs/zephyr/include/zephyr/devicetree/gpio.h:164:9: note: in expansion of macro &amp;#39;DT_PHA_BY_IDX&amp;#39;
  164 |         DT_PHA_BY_IDX(node_id, gpio_pha, idx, pin)
      |         ^~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/drivers/gpio.h:332:24: note: in expansion of macro &amp;#39;DT_GPIO_PIN_BY_IDX&amp;#39;
  332 |                 .pin = DT_GPIO_PIN_BY_IDX(node_id, prop, idx),                 \
      |                        ^~~~~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/drivers/gpio.h:367:9: note: in expansion of macro &amp;#39;GPIO_DT_SPEC_GET_BY_IDX&amp;#39;
  367 |         GPIO_DT_SPEC_GET_BY_IDX(node_id, prop, 0)
      |         ^~~~~~~~~~~~~~~~~~~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/qspi/src/rpu_hw_if.c:36:1: note: in expansion of macro &amp;#39;GPIO_DT_SPEC_GET&amp;#39;
   36 | GPIO_DT_SPEC_GET(NRF7002_NODE, bucken_gpios);
      | ^~~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:29: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                             ^~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/qspi/src/rpu_hw_if.c:27:22: note: in expansion of macro &amp;#39;DT_NODELABEL&amp;#39;
   27 | #define NRF7002_NODE DT_NODELABEL(nrf700x)
      |                      ^~~~~~~~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/qspi/src/rpu_hw_if.c:36:18: note: in expansion of macro &amp;#39;NRF7002_NODE&amp;#39;
   36 | GPIO_DT_SPEC_GET(NRF7002_NODE, bucken_gpios);
      |                  ^~~~~~~~~~~~
[459/472] Building C object modules/nrf/drivers/wifi/nrf700x/CMakeFiles/..__nrf__drivers__wifi__nrf700x.dir/src/fmac_main.c.obj
FAILED: modules/nrf/drivers/wifi/nrf700x/CMakeFiles/..__nrf__drivers__wifi__nrf700x.dir/src/fmac_main.c.obj 
ccache /home/marte/zephyr-sdk-0.16.5/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DCONFIG_NRF_WIFI_FW_BIN=/home/marte/ncs/nrfxlib/nrf_wifi/fw_bins/default/nrf70.bin -DCONFIG_ZEPHYR -DKERNEL -DMBEDTLS_CONFIG_FILE=\&amp;quot;nrf-config.h\&amp;quot; -DMBEDTLS_PSA_CRYPTO_CONFIG_FILE=\&amp;quot;nrf-psa-crypto-want-config.h\&amp;quot; -DMBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE=\&amp;quot;nrf-psa-crypto-config.h\&amp;quot; -DNRF52840_XXAA -DNRF52_ERRATA_215_ENABLE_WORKAROUND=0 -DNRF53_ERRATA_43_ENABLE_WORKAROUND=0 -D_ANSI_SOURCE -D_FORTIFY_SOURCE=1 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -I/home/marte/ncs/zephyr/include -I/home/marte/ncs/nrf/samples/net/mqtt/build/zephyr/include/generated -I/home/marte/ncs/zephyr/soc/arm/nordic_nrf/nrf52 -I/home/marte/ncs/zephyr/lib/libc/newlib/include -I/home/marte/ncs/zephyr/lib/posix/getopt/. -I/home/marte/ncs/zephyr/soc/common/nordic_nrf/. -I/home/marte/ncs/zephyr/soc/arm/nordic_nrf/common/. -I/home/marte/ncs/zephyr/subsys/net/l2 -I/home/marte/ncs/zephyr/subsys/net/lib/dns/. -I/home/marte/ncs/zephyr/subsys/net/conn_mgr/. -I/home/marte/ncs/zephyr/subsys/settings/include -I/home/marte/ncs/nrf/include -I/home/marte/ncs/nrf/modules/hostap/src -I/home/marte/ncs/nrf/modules/hostap/../../../modules/lib/hostap -I/home/marte/ncs/nrf/modules/hostap/../../../modules/lib/hostap/wpa_supplicant -I/home/marte/ncs/nrf/modules/hostap/../../../modules/lib/hostap/src -I/home/marte/ncs/nrf/drivers/wifi/nrf700x/inc -I/home/marte/ncs/nrfxlib/nrf_wifi/utils/inc -I/home/marte/ncs/nrfxlib/nrf_wifi/os_if/inc -I/home/marte/ncs/nrfxlib/nrf_wifi/bus_if/bus/qspi/inc -I/home/marte/ncs/nrfxlib/nrf_wifi/bus_if/bal/inc -I/home/marte/ncs/nrfxlib/nrf_wifi/fw_if/umac_if/inc -I/home/marte/ncs/nrfxlib/nrf_wifi/fw_load/mips/fw/inc -I/home/marte/ncs/nrfxlib/nrf_wifi/hw_if/hal/inc -I/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/qspi/inc -I/home/marte/ncs/zephyr/subsys/net/ip -I/home/marte/ncs/nrfxlib/nrf_wifi/hw_if/hal/inc/fw -I/home/marte/ncs/nrfxlib/nrf_wifi/fw_if/umac_if/inc/fw -I/home/marte/ncs/nrfxlib/nrf_wifi/fw_if/umac_if/inc/default -I/home/marte/ncs/nrf/tests/include -I/home/marte/ncs/modules/hal/cmsis/CMSIS/Core/Include -I/home/marte/ncs/zephyr/modules/cmsis/. -I/home/marte/ncs/modules/hal/nordic/nrfx -I/home/marte/ncs/modules/hal/nordic/nrfx/drivers/include -I/home/marte/ncs/modules/hal/nordic/nrfx/mdk -I/home/marte/ncs/zephyr/modules/hal_nordic/nrfx/. -I/home/marte/ncs/modules/debug/segger/SEGGER -I/home/marte/ncs/modules/debug/segger/Config -I/home/marte/ncs/nrf/samples/net/mqtt/build/modules/nrf/subsys/nrf_security/src/include/generated -I/home/marte/ncs/nrf/subsys/nrf_security/include -I/home/marte/ncs/nrf/ext/oberon/psa/core/include -I/home/marte/ncs/nrf/ext/oberon/psa/core/library -I/home/marte/ncs/modules/crypto/mbedtls/include -I/home/marte/ncs/modules/crypto/mbedtls/library -I/home/marte/ncs/nrfxlib/crypto/nrf_oberon/include -I/home/marte/ncs/nrfxlib/crypto/nrf_oberon/include/mbedtls -I/home/marte/ncs/nrf/ext/oberon/psa/drivers -isystem /home/marte/ncs/zephyr/lib/libc/common/include -isystem /home/marte/ncs/nrfxlib/crypto/nrf_cc310_platform/include -fno-strict-aliasing -Os -imacros /home/marte/ncs/nrf/samples/net/mqtt/build/zephyr/include/generated/autoconf.h -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/home/marte/zephyr-sdk-0.16.5/arm-zephyr-eabi/arm-zephyr-eabi -imacros /home/marte/ncs/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/home/marte/ncs/nrf/samples/net/mqtt=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/marte/ncs/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/home/marte/ncs=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -D_POSIX_THREADS -std=c99 -MD -MT modules/nrf/drivers/wifi/nrf700x/CMakeFiles/..__nrf__drivers__wifi__nrf700x.dir/src/fmac_main.c.obj -MF modules/nrf/drivers/wifi/nrf700x/CMakeFiles/..__nrf__drivers__wifi__nrf700x.dir/src/fmac_main.c.obj.d -o modules/nrf/drivers/wifi/nrf700x/CMakeFiles/..__nrf__drivers__wifi__nrf700x.dir/src/fmac_main.c.obj -c /home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c
In file included from /home/marte/ncs/zephyr/include/zephyr/arch/arm/arch.h:20,
                 from /home/marte/ncs/zephyr/include/zephyr/arch/cpu.h:19,
                 from /home/marte/ncs/zephyr/include/zephyr/kernel_includes.h:37,
                 from /home/marte/ncs/zephyr/include/zephyr/kernel.h:17,
                 from /home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:14:
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c: In function &amp;#39;configure_tx_pwr_settings&amp;#39;:
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:36: error: &amp;#39;DT_N_NODELABEL_nrf70_tx_power_ceiling_P_max_pwr_2g_dsss&amp;#39; undeclared (first use in this function); did you mean &amp;#39;DT_N_S_nrf700x_tx_power_ceiling_P_max_pwr_2g_dsss&amp;#39;?
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                                    ^~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:4343:29: note: in definition of macro &amp;#39;DT_CAT3&amp;#39;
 4343 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
      |                             ^~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:513:25: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
  513 |                         DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_2g_dsss);
      |                         ^~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:29: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                             ^~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:513:33: note: in expansion of macro &amp;#39;DT_NODELABEL&amp;#39;
  513 |                         DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_2g_dsss);
      |                                 ^~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:36: note: each undeclared identifier is reported only once for each function it appears in
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                                    ^~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:4343:29: note: in definition of macro &amp;#39;DT_CAT3&amp;#39;
 4343 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
      |                             ^~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:513:25: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
  513 |                         DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_2g_dsss);
      |                         ^~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:29: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                             ^~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:513:33: note: in expansion of macro &amp;#39;DT_NODELABEL&amp;#39;
  513 |                         DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_2g_dsss);
      |                                 ^~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:36: error: &amp;#39;DT_N_NODELABEL_nrf70_tx_power_ceiling_P_max_pwr_2g_mcs7&amp;#39; undeclared (first use in this function); did you mean &amp;#39;DT_N_S_nrf700x_tx_power_ceiling_P_max_pwr_2g_mcs7&amp;#39;?
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                                    ^~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:4343:29: note: in definition of macro &amp;#39;DT_CAT3&amp;#39;
 4343 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
      |                             ^~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:516:17: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
  516 |                 DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_2g_mcs7);
      |                 ^~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:29: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                             ^~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:516:25: note: in expansion of macro &amp;#39;DT_NODELABEL&amp;#39;
  516 |                 DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_2g_mcs7);
      |                         ^~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:36: error: &amp;#39;DT_N_NODELABEL_nrf70_tx_power_ceiling_P_max_pwr_2g_mcs0&amp;#39; undeclared (first use in this function); did you mean &amp;#39;DT_N_S_nrf700x_tx_power_ceiling_P_max_pwr_2g_mcs0&amp;#39;?
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                                    ^~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:4343:29: note: in definition of macro &amp;#39;DT_CAT3&amp;#39;
 4343 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
      |                             ^~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:519:17: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
  519 |                 DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_2g_mcs0);
      |                 ^~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:29: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                             ^~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:519:25: note: in expansion of macro &amp;#39;DT_NODELABEL&amp;#39;
  519 |                 DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_2g_mcs0);
      |                         ^~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:36: error: &amp;#39;DT_N_NODELABEL_nrf70_tx_power_ceiling_P_max_pwr_5g_low_mcs7&amp;#39; undeclared (first use in this function); did you mean &amp;#39;DT_N_S_nrf700x_tx_power_ceiling_P_max_pwr_5g_low_mcs7&amp;#39;?
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                                    ^~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:4343:29: note: in definition of macro &amp;#39;DT_CAT3&amp;#39;
 4343 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
      |                             ^~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:523:17: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
  523 |                 DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_5g_low_mcs7);
      |                 ^~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:29: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                             ^~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:523:25: note: in expansion of macro &amp;#39;DT_NODELABEL&amp;#39;
  523 |                 DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_5g_low_mcs7);
      |                         ^~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:36: error: &amp;#39;DT_N_NODELABEL_nrf70_tx_power_ceiling_P_max_pwr_5g_mid_mcs7&amp;#39; undeclared (first use in this function); did you mean &amp;#39;DT_N_S_nrf700x_tx_power_ceiling_P_max_pwr_5g_mid_mcs7&amp;#39;?
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                                    ^~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:4343:29: note: in definition of macro &amp;#39;DT_CAT3&amp;#39;
 4343 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
      |                             ^~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:526:17: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
  526 |                 DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_5g_mid_mcs7);
      |                 ^~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:29: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                             ^~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:526:25: note: in expansion of macro &amp;#39;DT_NODELABEL&amp;#39;
  526 |                 DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_5g_mid_mcs7);
      |                         ^~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:36: error: &amp;#39;DT_N_NODELABEL_nrf70_tx_power_ceiling_P_max_pwr_5g_high_mcs7&amp;#39; undeclared (first use in this function); did you mean &amp;#39;DT_N_S_nrf700x_tx_power_ceiling_P_max_pwr_5g_high_mcs7&amp;#39;?
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                                    ^~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:4343:29: note: in definition of macro &amp;#39;DT_CAT3&amp;#39;
 4343 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
      |                             ^~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:529:17: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
  529 |                 DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_5g_high_mcs7);
      |                 ^~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:29: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                             ^~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:529:25: note: in expansion of macro &amp;#39;DT_NODELABEL&amp;#39;
  529 |                 DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_5g_high_mcs7);
      |                         ^~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:36: error: &amp;#39;DT_N_NODELABEL_nrf70_tx_power_ceiling_P_max_pwr_5g_low_mcs0&amp;#39; undeclared (first use in this function); did you mean &amp;#39;DT_N_S_nrf700x_tx_power_ceiling_P_max_pwr_5g_low_mcs0&amp;#39;?
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                                    ^~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:4343:29: note: in definition of macro &amp;#39;DT_CAT3&amp;#39;
 4343 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
      |                             ^~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:532:17: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
  532 |                 DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_5g_low_mcs0);
      |                 ^~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:29: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                             ^~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:532:25: note: in expansion of macro &amp;#39;DT_NODELABEL&amp;#39;
  532 |                 DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_5g_low_mcs0);
      |                         ^~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:36: error: &amp;#39;DT_N_NODELABEL_nrf70_tx_power_ceiling_P_max_pwr_5g_mid_mcs0&amp;#39; undeclared (first use in this function); did you mean &amp;#39;DT_N_S_nrf700x_tx_power_ceiling_P_max_pwr_5g_mid_mcs0&amp;#39;?
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                                    ^~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:4343:29: note: in definition of macro &amp;#39;DT_CAT3&amp;#39;
 4343 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
      |                             ^~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:535:17: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
  535 |                 DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_5g_mid_mcs0);
      |                 ^~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:29: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                             ^~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:535:25: note: in expansion of macro &amp;#39;DT_NODELABEL&amp;#39;
  535 |                 DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_5g_mid_mcs0);
      |                         ^~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:36: error: &amp;#39;DT_N_NODELABEL_nrf70_tx_power_ceiling_P_max_pwr_5g_high_mcs0&amp;#39; undeclared (first use in this function); did you mean &amp;#39;DT_N_S_nrf700x_tx_power_ceiling_P_max_pwr_5g_high_mcs0&amp;#39;?
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                                    ^~~~~~~~~~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:4343:29: note: in definition of macro &amp;#39;DT_CAT3&amp;#39;
 4343 | #define DT_CAT3(a1, a2, a3) a1 ## a2 ## a3
      |                             ^~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:538:17: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
  538 |                 DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_5g_high_mcs0);
      |                 ^~~~~~~
/home/marte/ncs/zephyr/include/zephyr/devicetree.h:198:29: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
  198 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                             ^~~~~~
/home/marte/ncs/nrf/drivers/wifi/nrf700x/src/fmac_main.c:538:25: note: in expansion of macro &amp;#39;DT_NODELABEL&amp;#39;
  538 |                 DT_PROP(DT_NODELABEL(nrf70_tx_power_ceiling), max_pwr_5g_high_mcs0);
      |                         ^~~~~~~~~~~~
[460/472] Building C object modules/nrf/drivers/wifi/nrf700x/CMakeFiles/..__nrf__drivers__wifi__nrf700x.dir/src/wpa_supp_if.c.obj
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /home/marte/ncs/nrf/samples/net/mqtt/build

 *  The terminal process terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The list of errors becomes very long, but a good tip when debugging devicetree errors is to look for errors on one of these two forms:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;#39;DT_N_NODELABEL_&amp;lt;nodelabel&amp;gt;&amp;#39; undeclared&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;#39;__device_dts_ord_DT_N_NODELABEL_&amp;lt;nodelabel&amp;gt;&amp;#39; undeclared here&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;error: &amp;#39;DT_N_NODELABEL_nrf70_tx_power_ceiling_P_max_pwr_2g_dsss&amp;#39; undeclared&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;error: &amp;#39;__device_dts_ord_DT_N_NODELABEL_nrf700x_P_host_irq_gpios_IDX_0_PH_ORD&amp;#39; undeclared here&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This should give hints about which devicetree nodes there is an issue with. In the log above, you can find errors like this for host-irq-gpios, iovdd-ctrl-gpios, and bucken-gpios (which are parts of the nrf700x-qspi node) and for nrf700x-tx-power-ceiling. So that should tell you that you need to look more into these devicetree nodes.&lt;/p&gt;
&lt;p&gt;We have a lesson on &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-2-debugging/topic/troubleshooting-the-devicetree/"&gt;Troubleshooting the devicetree&lt;/a&gt; in our nRF Connect SDK Intermediate course on DevAcademy, which I recommend reading through.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't build MQTT sample for custom board with nrf52840 + nrf7002 via QSPI</title><link>https://devzone.nordicsemi.com/thread/503183?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2024 01:45:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f8095de-0c60-43b4-8e10-fa1cb6808862</guid><dc:creator>__RICHARD__</dc:creator><description>&lt;p&gt;Thanks Marte,&lt;/p&gt;
&lt;p&gt;I tried for another hour today and I actually got it to build. It looks like I was missing two labels in my .dts file:&lt;/p&gt;
&lt;div style="background-color:#1f1f1f;color:#cccccc;font-family:Consolas, &amp;#39;Courier New&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#4ec9b0;"&gt;nrf70_tx_power_ceiling:&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#4ec9b0;"&gt;nrf700x-tx-power-ceiling&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;and:&lt;/p&gt;
&lt;div style="background-color:#1f1f1f;color:#cccccc;font-family:Consolas, &amp;#39;Courier New&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#4ec9b0;"&gt;nrf700x:&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; &lt;/span&gt;&lt;span style="color:#4ec9b0;"&gt;nrf700x-qspi&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;@&lt;/span&gt;&lt;span style="color:#b5cea8;"&gt;0&lt;/span&gt;&lt;span style="color:#cccccc;"&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The labels obviously being the symbol to the left of the colon on each line. It also seems that those labels need to be exactly those names (&amp;quot;nrf70_tx_power_ceiling&amp;quot;, and &amp;quot;nrf700x&amp;quot;). Any other label results in a build error similar to the one in my original post above.&lt;/p&gt;
&lt;p&gt;I eventually discovered those labels by comparing my .dts with existing .dts and .overlay files in the SDK. But I would like to know, is there another way I could deduce what those labels need to be based on the contents of the project somehow?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Richard.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't build MQTT sample for custom board with nrf52840 + nrf7002 via QSPI</title><link>https://devzone.nordicsemi.com/thread/503149?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 14:28:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:045afdbf-1835-47d7-8786-86322c455b3f</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have reported the DevZone issues internally.&lt;/p&gt;
&lt;p&gt;I built the MQTT sample with your board files, and I see a lot of devicetree errors. I will investigate the errors and get back to you tomorrow.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't build MQTT sample for custom board with nrf52840 + nrf7002 via QSPI</title><link>https://devzone.nordicsemi.com/thread/503047?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 07:35:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:592c4337-1134-4a2b-94fd-1a5f19046349</guid><dc:creator>__RICHARD__</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/AnErrorOccurred.png" /&gt;&lt;/p&gt;
&lt;p&gt;This ^ has happened about 25 times in the process of trying to upload a text file or send replies, even relatively short one. I&amp;#39;m just trying to get some build output into a message but I&amp;#39;m giving up now. This message board is almost as frustrating to use as the SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't build MQTT sample for custom board with nrf52840 + nrf7002 via QSPI</title><link>https://devzone.nordicsemi.com/thread/503044?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 07:28:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d0da05a-eaf3-4dcd-9240-8fe0751e7039</guid><dc:creator>__RICHARD__</dc:creator><description>&lt;p&gt;Should also have said, I&amp;#39;m using NCS v2.6.1, and I haven&amp;#39;t altered the sample source code at all. I&amp;#39;ve just created a build configuration and custom board files,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't build MQTT sample for custom board with nrf52840 + nrf7002 via QSPI</title><link>https://devzone.nordicsemi.com/thread/503024?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 04:32:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6329ca7a-d9ec-4e5c-9731-e4a614c0c8d2</guid><dc:creator>__RICHARD__</dc:creator><description>&lt;p&gt;I also can&amp;#39;t just paste the build output directly in here. Frustrating.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't build MQTT sample for custom board with nrf52840 + nrf7002 via QSPI</title><link>https://devzone.nordicsemi.com/thread/503022?ContentTypeID=1</link><pubDate>Thu, 19 Sep 2024 04:19:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12a0b025-016a-44b2-923b-fd47120a0379</guid><dc:creator>__RICHARD__</dc:creator><description>&lt;p&gt;I&amp;#39;m trying to upload a file with the full output of a pristine build but when I try to insert it I keep getting &amp;quot;An error occurred&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>