This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF5340 compileation error

Hello everyone

      I success in compilation gpio basic example but I have some problem about bluetooth mesh example.

It show message "undefined reference to `bt_rpmsg_platform_init'.

Currently, Is nRF5340 support bluetooth mesh right?

1> c:/users/wa/ncs/v1.3.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/libzephyr.a(rpmsg.c.obj): in function `bt_rpmsg_send':
1> C:/Users/Wa/ncs/v1.3.0/zephyr/drivers/bluetooth/hci/rpmsg.c:186: undefined reference to `bt_rpmsg_platform_send'
1> c:/users/wa/ncs/v1.3.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: zephyr/libzephyr.a(rpmsg.c.obj): in function `bt_rpmsg_open':
1> C:/Users/Wa/ncs/v1.3.0/zephyr/drivers/bluetooth/hci/rpmsg.c:200: undefined reference to `bt_rpmsg_platform_init'
1> collect2.exe: error: ld returned 1 exit status
1>         IDT_LIST:          56 B         2 KB      2.73%
Build failed

Hardware

- PCA10095 PDK

Host computer

- Windows 10

Thank

Wasan

Related