cancel
Showing results for 
Search instead for 
Did you mean: 

DSP library with STM32F103 (blue pill) possible?

HTuam.1
Associate

I would like to implement a FFT on a STM32F103 (blue pill).

So far i installed the STM32cubeIDE and set up a project.

I added "CMSIS CORE" and "CMSIS DSP" (as library) in the cubeMX software under additional software.

In my code i added:

#define ARM_MATH_CM3

#include "arm_math.h"

However, when compiling, i get this error:

../Core/Src/main.c:27:10: fatal error: arm_math.h: No such file or directory

Why that?

Is there a step-by-step guide for absolute beginners like me?

1 REPLY 1
Ozone
Lead

> ../Core/Src/main.c:27:10: fatal error: arm_math.h: No such file or directory

The corresponding headers are usually located in <your_DSP_Lib>\Libraries\CMSIS\Include\

Not sure about Cube and CubeIDE, I only used the SPL-based DSP_Libs.

> Why that?

> Is there a step-by-step guide for absolute beginners like me?

If you talk about an example project provided by ST, a properly setup project with all sources should be expected.

If not, you will need to "collect" all the required sources and include paths yourself.