Can't build MQTT sample for custom board with nrf52840 + nrf7002 via QSPI

Hi,

I'm trying to build the MQTT sample for a custom board, trying to communicate between nrf52840 and nrf7002 via QSPI. Here's my board definition:

my_board_nrf52840.zip

In the build configuration, I've obviously selected my_board_nrf52840, and then added two files to the "Base configuration files": the unaltered prj.conf, and the following attached nrf52840dk_nrf52840.conf file, which was sent to me by Runar in a previous question, to get the MQTT sample to build for the nrf52840DK + nrf7002EK shield combination:

3808.nrf52840dk_nrf52840.conf

Note I do NOT have the -DSHIELD="nrf7002ek" extra CMake argument. Side note... I have tried to build using that -DSHIELD argument; but I gave up on that approach because it feels tightly coupled to SPI, rather than QSPI.

I've tried many, many permutations of this build, and I consistently hit this error (or one very similar):

In file included from F:/NrfConnectSdk/v2.6.1/zephyr/include/zephyr/toolchain/gcc.h:98,
                 from F:/NrfConnectSdk/v2.6.1/zephyr/include/zephyr/toolchain.h:50,
                 from F:/NrfConnectSdk/v2.6.1/zephyr/include/zephyr/kernel_includes.h:23,
                 from F:/NrfConnectSdk/v2.6.1/zephyr/include/zephyr/kernel.h:17,
                 from F:/NrfConnectSdk/v2.6.1/nrf/drivers/wifi/nrf700x/src/qspi/src/rpu_hw_if.c:15:
F:/NrfConnectSdk/v2.6.1/zephyr/include/zephyr/device.h:89:41: error: '__device_dts_ord_DT_N_NODELABEL_nrf700x_P_host_irq_gpios_IDX_0_PH_ORD' undeclared here (not in a function)
   89 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)

Any help would be much appreciated.

Related