ww_kws: Undefined reference to nrf_axon_nn_op_extension_sigmoid_v2

Hello,

I got the https://github.com/nrfconnect/sdk-edge-ai/tree/main/applications/ww_kws application running on the nRF54LM20 DK with the Axon NPU and it can correctly detect "okay nordic".

I wanted to train my own wakeword, and I used the nRF Edge AI Lab to generate a new wakeword model. I then replaced the nrf_edgeai_generated folder with the one from AI Lab, adjusted the aliases to nrf_edgeai_user_model_wakeword and nrf_edgeai_user_model_neuton_size_wakeword, but the projects fails to build with the following error:

c:/ncs/toolchains/936afb6332/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(nrf_edgeai_user_model.c.obj):(.rodata.cmd_buffer_axon_user_instance_92537+0x2538): undefined reference to `nrf_axon_nn_op_extension_sigmoid_v2'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

This reference to nrf_axon_nn_op_extension_sigmoid_v2 is not present in the original nrf_edgeai_user_model_axon.h (only nrf_axon_nn_op_extension_sigmoid), but is present in the newly generated nrf_edgeai_user_model_axon.h from AI Lab.

How do I get the nrf_axon_nn_op_extension_sigmoid_v2? It doesn't seem defined even in the latest master version of the SDK?

Parents Reply Children
Related