Usinng native ARM PID library on XMC4500

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User8570
Level 3
Level 3
I am trying to use the PID library on the XMC4500 but I got the following error after compiling:

undefined reference to `arm_pid_init_f32

I have on my Main.c file:

#include "arm_math.h"

And also I added:

"ARM_MATH_CM4" in the preprocessor, which is in Project -> Active Project Properties -> C/C++ Build -> Setting -> ARM-GCC C Compiler.


Not sure what I missing.
0 Likes
1 Reply
Not applicable
Hi,

Have you check out this thread on how to setup DAVE for math library?
http://www.infineonforums.com/threads/823-DAVE-TIP-of-the-day-Things-need-to-do-when-use-math-functi...
0 Likes