2020-03-12 12:16 AM
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?
2020-03-12 01:07 AM
> ../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.