Hello
1. I fired up cubemx and generated template for Keil
2. From Keil I opened Run Time Enviroment and did the following
3. Then I defined
#define ARM_MATH_CM7
4. then I included
#include "arm_math"
after that it gave me an error saying that no such file has been found
5. after that I added the file from Project window and also added the path to the Includes path
problem still not solved
any ideas ?
You have a space between __FPU_Present and 1. Check the syntax for macro definitions (the -D switch) -- you need an equals sign.
Okay another update
I defined ARM_MATH_CM7 and __FPU_Present 1 in the compiler command line however I am getting macro definition error now
it is doing this for pretty much every file I have in my project including CMSIS DPS files
my compiler command line looks like this
PLEASE HELP ME
PS
It also gave error about __FPU_Present, where do I have to define that ? where is the compiler line ?