Hi,
I'm trying to create my switch_event by using Event Manager.
And I got this issue: "undefined reference to `__event_type_switch_event' " when submitting my event:
Hi,
I'm trying to create my switch_event by using Event Manager.
And I got this issue: "undefined reference to `__event_type_switch_event' " when submitting my event:
Hi.
Have you followed the steps described here?
Best regards,
Didrik
Hi Didrik,
I have followed, but it did not work.
I don't know what I am missing.
Do you include the .c file for your event in CMakeLists.txt/your project?
This works as expected for me (tested with NCS v1.3, board nrf9160dk_nrf9160ns)
Hi Didrik,
I forgot to include the .c file in CMakeList.txt. It worked.
Thank you for your help.
Hi Didrik,
I forgot to include the .c file in CMakeList.txt. It worked.
Thank you for your help.