Feb 04, 2015
05:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 04, 2015
05:30 AM
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.
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.
- Tags:
- IFX
1 Reply
Not applicable
Feb 04, 2015
06:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 04, 2015
06:58 PM
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...
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...