cancel
Showing results for 
Search instead for 
Did you mean: 

How to use DSP libraries (e.g. arm_math.h) in STM32cubeIDE

baby_chicken
Associate III

Hello All,

I wanted to copy two files from the STM32Cube directory to use arm_math.h, but those files are nowhere to be found.

 

STM32Cube\Repository\STM32Cube_FW_F4_Vxxxx\Drivers\CMSIS\Lib\ARM\arm_cortexM4lf_math.lib
STM32Cube\Repository\STM32Cube_FW_F4_Vxxxx\Drivers\CMSIS\Lib\GCC\libarm_cortexM4lf_math.a 

 

What should we do when these two are not available?

 

best regards.

 

STM32F407vgt6,cubeIDE Version: 1.14.1,CMSIS Version5.9.0

 

16 REPLIES 16

@KDJEM.1  ,Thank you for your response.

 

The problem has not yet been resolved.
It is a little difficult to give you the entire project as it is because of all the things involved. We are really sorry.

 

best regards.


@baby_chicken wrote:

It is a little difficult to give you the entire project as it is because of all the things involved. We are really sorry.


Create a minimum but complete project which demonstrates the issue, and share that.

In doing so, you might actually get a working project - which you could then compare to your real project to see what's different ...

@KDJEM.1 , is it possible to ask you to wait a little?
Thank you in advance.

KDJEM.1
ST Employee

Hi @baby_chicken ,

 

Sure, you are always welcome :).

If you want you can send a minimum project by Private Message.

 

Thank you.

Kaouthar

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.

Thank you so much @KDJEM.1 .

@KDJEM.1 , this is a minimal project.

 

You may have thrown an error in minimizing the project.

 

Sorry, thank you for your cooperation.

 

 

KDJEM.1
ST Employee

Hi @baby_chicken ,

 

Could you please add the ../Drivers/CMSIS_DSP/Include path and the ../Drivers/CMSIS_DSP/PrivateInclude path to "MCU G++ Compiler" "Include paths"

KDJEM1_0-1725012421772.png

KDJEM1_1-1725012492309.png

 

Thank you;

Kaouthar

 

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.