cancel
Showing results for 
Search instead for 
Did you mean: 

The correct way to add CMSIS libraries to an STM32CubeIDE Project

AStew.1
Associate II

I am using the STM32H747-Disco board and ver 1.4 of STM32CubeIDE. I would like to add FFT functions to my project. What is the correct way to add the CMSIS libraries to an STM32CubeIDE Project?

1 REPLY 1
AStew.1
Associate II

After many days of trying, I'll write my own answer

1) I found this video very helpful (but not the complete answer) : - https://www.youtube.com/watch?v=vCcALaGNlyw

2) Because this processor has a dual core (M4 and M7) there are two separate (and independent) settings used to set up library files one for the M4 and another for the M7, pick the wrong one and the library files will not be found by the linker. In hindsight this is now obvious, but not three days ago!

3) There are three pre-compiled maths libraries for the M7 core with the suffixes l,lfsp,lfdp. as this M7 core has a floating point unit, it was necessary to use libraries with f in the suffix. Picking the other one results in a linker error.