Problem with linking Zephyr kernel functions

I'm trying to complete the DevAcademy Cellular Fundamentals IOT course, Lesson 8, and I'm trying to use Zephyr's "Event" feature. Unfortunately I get link errors specific to that feature, e.g.:

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_wait':
C:\Projects\GuidoRail\cell-fund\v2.4.0\lesson8\steve\build/zephyr/include/generated/syscalls/kernel.h:882: undefined reference to `z_impl_k_event_wait'

I'm using the suggested Visual Studio Code with nRFextensions.

Is there a CONFIG_XXX I can add to my prj.conf?

Or, do I need to add a library to my CMakeLists.txt?

Or, do I need to ask this on a Zephyr forum somwhere?

Thank you.

Parents Reply Children
No Data
Related