When compiling a test project, I get this error message:
C:\Program Files (x86)\Arduino/DMP2.ino:12: undefined reference to `mpu_init(int_param_s*)''
The DMP2.ino and inv_mpu.h resides inside D:\Documents\Arduino\DMP2
mpu_init resides inside the inv_mpu.c, and is included in the DMP2.ino like this:
Why is this happening? I’ve added the whole project as an attachment.
DMP2.zip (40.1 KB)