2014-11-27 12:35 PM
Hi, I am using coide and arm gcc compiler to build my projects.
When i try to compile arm_math.h ,i got those errors a LOT of times.unknown type name '__INLINE expected '=', ',', ';', 'asm' or '__attribute__' before 'clip_q63_to_q31' expected '=', ',', ';', 'asm' or '__attribute__' before 'clip_q63_to_q15'And so it goes on..Does anybody have any usefull suggestions?2014-11-27 05:53 PM
You try to ''compile'' it?
The INLINE stuff is compiler specific stuff coming from core_cm4.h, which would get pulled in with the ARM_MATH_CM4 define. The core_cm4.h being pull via stm32f4xx.h I guess you should look at your project construction, and if your compiler has an -mcpu=cortex-m42014-11-28 12:06 PM
Practically,what shall i do?
2014-11-28 01:13 PM
Practically,what shall i do?
Look at how others are building projects successfully for your chosen platform/tool-chain. And then do THAT. There's no point you trying to reinvent the wheel here if you don't grasp how wheels are made or work. I'm pretty sure the way ST created the SPL that arm_math.h gets included via stm32f4xx.h