使用的是阿波罗F429的MPU9250例程,移植到STM32F103上,出现了下面的问题
..\OBJ\test.axf: Error: L6218E: Undefined symbol inv_enable_9x_sensor_fusion (referred from inv_mpu.o).
..\OBJ\test.axf: Error: L6218E: Undefined symbol inv_enable_fast_nomot (referred from inv_mpu.o).
..\OBJ\test.axf: Error: L6218E: Undefined symbol inv_enable_gyro_tc (referred from inv_mpu.o).
..\OBJ\test.axf: Error: L6218E: Undefined symbol inv_enable_magnetic_disturbance (referred from inv_mpu.o).
..\OBJ\test.axf: Error: L6218E: Undefined symbol inv_enable_quaternion (referred from inv_mpu.o).
..\OBJ\test.axf: Error: L6218E: Undefined symbol inv_enable_vector_compass_cal (referred from inv_mpu.o).
查找之后发现上面六个函数在“fast_no_motion.h”头文件也有引用,但没有发现定义
但在F429例程中可以编译通过,没有定义就可以编译,想问一下是怎么做到的