Loading...
 
Skip to main content

System Workbench for STM32


DSP functions on System Workbench and CubeMX

I came across similar problem today. I know the original post is 2 years old but this is what I figured out.
For some reason STM32Cube does not include the binaries of appropriate DSP libraries. So you just need to link it in.
For gcc I used these from the CMSIS github repo
https://github.com/ARM-software/CMSIS/tree/master/CMSIS/Lib/GCC
They should be generic for any ARM devices.
I created a Lib folder in my project, put the repo and configure the imports in my eclipse project, similar to this post

http://www.openstm32.org/forumthread5901
In “Properties->C/C++ General->Paths and Symbols->Library Path”, add “Lib/”
In “Properties->C/C++ General->Paths and Symbols->Libraries”, add “arm_cortexM4lf_math” (the “lib” prefix and the extension are not required)

Hope this helps other people.