Hello, we are trying to use the distance measurement module and we are following the sample code from sdv v3.0.2. The build process for nrf5340dk and nrf52840dk works well. But when we tried to implement similar configurations and devicetree overlay files to our own custom board, which also uses nrf5340 and use Thingy53 as a reference design, we always fail to build ipc_radio with the following error:
/opt/nordic/ncs/v3.0.2/nrf/subsys/dm/rpc/host/dm_rpc_host.c: In function 'ipc_init': /opt/nordic/ncs/v3.0.2/zephyr/include/zephyr/device.h:96:41: error: '__device_dts_ord_DT_N_NODELABEL_ipc1_ORD' undeclared (first use in this function)
What we did is simply copy the cpuapp.conf and cpunet.overlay to our own project, and added the sample's prj.conf under ipc_radio folder to our ipc_radio.conf. Although we did not need any GPIO debug function so we deleted that bit.
Also, because we have mcuboot built as well, we added the two lines of code in our mcuboot.conf:
CONFIG_RPMSG_NRF53_SRAM_SIZE=0 CONFIG_IPC_SERVICE_RPMSG=n
Otherwise the partition manager will complain about different size defined by our static partition.
Can anyone help with this issue?