Hi,
I have a CC2650 with Debugger Devpack, and I use CCS Version 6.1.2.00015. I am trying to use the mpu9250 (built-in accelerometer), with some files from the SensorTag example source code, where the accelerometer is used. The project explorer looks like this:
If I don't use the functions in file sensor_mpu9250.c, the code is built and linked succesfully, and can be run. However, if I add a piece of code using functions in sensor_mpu9250.c, it builds but the link fails, even though the includes are right. This is the piece of code I added and make the link fail:
if (sensorMpu9250Init()){
//SensorTagMov_reset();
sensorMpu9250RegisterCallback(motionInterrupt);
}
And the error I am getting in the console:
I have read a lot of documentation, recommendations and posts about this error, and I have checked everything and I think it should be working... For example, bspI2cDeselect is a function defined in bsp_i2c.c and declared in bsp_i2c.h (which is included in sensor_mpu9250.c). Also I have checked the Include Options in the ARM compiler settings and I think is right (if it wasn't, it wouldn't build succesfully). Finaly, I have also checked the settings in "File Search Path" under the ARM Linker settings, and they are the same as in SensorTag example, where these functions are working well.
I don't know what else I can do, ¿Anyone could help me with this issue?
Thank you in advance!

