cancel
Showing results for 
Search instead for 
Did you mean: 

[Bug?] Undefined reference errors in TUTO_N6_MINIMAL_AI example (missing implementation of forward_xxx functions)

BCPH357
Associate

Hello,

I am following this tutorial:
https://community.st.com/t5/stm32-mcus/how-to-build-an-ai-application-from-scratch-on-the-nucleo-n657x0/ta-p/828502

After completing step 4.3 Build, I encountered linker errors when compiling the TUTO_N6_MINIMAL_AI_Appli project.

Here is part of the build log:

./Middlewares/ST/AI/Npu/ll_aton/ll_sw_integer.o: in function `ll_sw_forward_dequantizelinear':
... undefined reference to `node_convert'
./Middlewares/ST/AI/Npu/ll_aton/ll_sw_integer.o: in function `ll_sw_forward_softmax_integer':
... undefined reference to `forward_sm_integer'
./Middlewares/ST/AI/Npu/ll_aton/ll_sw_integer.o: in function `ll_sw_forward_resize_integer':
... undefined reference to `forward_resize_nearest_is8os8'
... undefined reference to `forward_resize_bilinear_is8os8'
... undefined reference to `forward_upsample_zeros'

My environment:

  • STM32CubeIDE 1.19.0

  • CubeMX 6.15.0

  • X-CUBE-AI package (latest, bundled with CubeMX)

  • Board: NUCLEO-N657X0

  • Example: TUTO_N6_MINIMAL_AI (as in tutorial)

Question:
Is this a known bug in the latest CubeMX/X-CUBE-AI release?
Should there be additional source files or libraries providing the implementations of these forward_* functions?

Any guidance would be appreciated.

Thanks!



0 REPLIES 0