Migration - Build problem - missing __device_dts_ord_XX

Hi,

I'm doing migration from sdk 1.9.1 to sdk 2.1 according to procedures mentioned in Migration Guide. All dtsi migrations were done sing script and later on manually reviewed. 

During build procedure of NETcore I get following error:

c:/ncs/toolchains/v2.1.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: zephyr/libzephyr.a(ipc_rpmsg_static_vrings.c.obj):(.data.backend_config_0+0xc): undefined reference to `__device_dts_ord_14'
c:/ncs/toolchains/v2.1.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.exe: zephyr/libzephyr.a(ipc_rpmsg_static_vrings.c.obj):(.data.backend_config_0+0x14): undefined reference to `__device_dts_ord_14'

It is related to missing:

extern const struct device DEVICE_DT_NAME_GET(DT_N_S_soc_S_mbox_41012000); /* dts_ord_14 */

Also, dts_ord_14 is missing from .map file.

Application on APPcore builds correctly.

 I enable if in proj.conf I already enabled all stuff related to mbox:

CONFIG_MBOX=y
CONFIG_MBOX_NRFX_IPC=y
CONFIG_BT_RPMSG=y
CONFIG_BT_HCI=y
CONFIG_LEGACY_INCLUDE_PATH=y
 What should I enable to bring it to correct build.
Related