Skip to main content
BarcaM
Associate II
August 2, 2021
Question

How include CMSIS DSP libraries in STM32F3 project?

Hi everyone ! I start an STM32F373 project and i want to use CMSIS DSP libraries but when the project it is generated, dsp libraries don't exist in CMSIS folder.

I tried include this but i couldn't.

Can you help me ?

This topic has been closed for replies.

6 replies

Peter BENSCH
ST Technical Moderator
August 3, 2021

Welcome, @BarcaM​, to the community!

Did you create the project with STM32CubeMX?

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
BarcaM
BarcaMAuthor
Associate II
August 3, 2021

Thanks Peter !

Yes, I use STM32Cube IDE but CMSIS folder doesn't have arm_math.h or dsp libraries

ChahinezC
Associate II
August 3, 2021

Hello @BarcaM​,

To include DSP libraries in your project, you can follow the Configuring DSP libraries on STM32CubeIDE article.

Chahinez.

BarcaM
BarcaMAuthor
Associate II
August 3, 2021

I tried this but have an error: cannot find -arm_cortexM4lf_math,there are only two files in the folder CMSIS/Lib/GCC: libarm_cortexM4l_math.a and libarm_cortexM4lf_math.a . But in the article doesnt recommend either.

ChahinezC
Associate II
August 12, 2021

Hello @BarcaM​,

Can you specify whether you tried including "armcortexM4lf_math" or "arm_cortexM4lf_math" ?

Adding "libarm_cortexM4lf_math.a" can work but it is not recommended. As mentioned in the article, it might have side effects on other use cases.

Chahinez.