undefined reference to `z_impl_k_event_init' on ncs v2.5.2

I would like to test event related functions on nRF5340 DK. But west build failed with undefined reference to `z_impl_k_event_init'. The following are log messages of west build command.

c:/ncs/toolchains/c57af46cb7/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: app/libapp.a(main.c.obj): in function `k_event_init':
C:\ncs\v2.5.2\nrf\samples\event\build/zephyr/include/generated/syscalls/kernel.h:794: undefined reference to `z_impl_k_event_init'

Parents Reply Children
No Data
Related