Skip to main content
PPoob.1
Associate II
January 6, 2021
Question

How to include CMSIS-NN function in STM32CubeIDE coded files

  • January 6, 2021
  • 2 replies
  • 2435 views

Hi STM community,

Is anyone here familiar with adding the CMSIS-NN functions in a source code in STM32CubeIDE ?

If you are, could you please point me to or provide me with the proper steps to do so ?

As I am facing compile error "undefined reference to ..." when I attempt to use these functions e.g.

0693W000006HiLGQA0.jpgThis code is configured to run in the NUCLEO-F446RE board in the STM32CubeIDE

a prompt reply is much appreciated

Thanks

This topic has been closed for replies.

2 replies

ramkumarkoppu
Associate III
February 18, 2021

Hi @PPoob.1​ : If you download and attach downloaded files to your project, setup include path, then it should work. referenced function arm_depthwise_conv_3x3_s8() is defined in arm_depthwise_conv_3x3_s8.c of CMSIS-NN. You can download latest version 5.7.0 of CMSIS from https://github.com/ARM-software/CMSIS_5

Good luck!

gits007
Associate
June 28, 2022

@PPoob.1​ did it work for you. I am trying to do the same. I just need to create a small NN using CMSIS-NN. Also, do you have a sample project that can be used in STMCubeIDE? @ramkumarkoppu​ can the sources from CMSIS .pack file also be used or need to use the github downloaded code?