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?
Solved! Go to Solution.
2025-04-25
12:23 AM
- last edited on
2025-04-25
7:32 AM
by
Maxime_MARCHETT
This thread relates to a so-called Blue Pill, which uses illegally cloned STM32F103. ST resources are only dedicated to supporting genuine ST products. We are not committed to ensuring that clones/fakes products work properly with the firmware we provide.
We recommend to purchase genuine products from STMicroelectronics and purchase them from known and trusted distributors.
This thread will now be locked. However, if you face difficulties while using genuine ST products, we’re here to assist you. Please feel free to start a new thread, and our team, along with community members, will be ready to help you with any issues/questions you encounter.
Thank you for your understanding.
Regards
/Peter
2020-03-12 1: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.
2025-04-25
12:23 AM
- last edited on
2025-04-25
7:32 AM
by
Maxime_MARCHETT
This thread relates to a so-called Blue Pill, which uses illegally cloned STM32F103. ST resources are only dedicated to supporting genuine ST products. We are not committed to ensuring that clones/fakes products work properly with the firmware we provide.
We recommend to purchase genuine products from STMicroelectronics and purchase them from known and trusted distributors.
This thread will now be locked. However, if you face difficulties while using genuine ST products, we’re here to assist you. Please feel free to start a new thread, and our team, along with community members, will be ready to help you with any issues/questions you encounter.
Thank you for your understanding.
Regards
/Peter