用的阿波罗开发板,自己通过stm32cubemx生成的工程,调试后mpu9250的原始数据可以打印出来,但是把DMP加入工程后什么也没修改,就一直报错,请问怎么回事?
..DMPdrivereMPLinv_mpu.h(49): error: #169: expected a declaration
};
..DMPdrivereMPLinv_mpu.c(134): error: #35: #error directive: Gyro driver is missing the system layer implementations.
#error Gyro driver is missing the system layer implementations.
..DMPdrivereMPLinv_mpu.c: 0 warnings, 2 errors
compiling system_stm32f4xx.c...
compiling eMPL_outputs.c...
..DMPeMPL-haleMPL_outputs.c(100): warning: #223-D: function "memcpy" declared implicitly
memcpy(data, eMPL_out.quat, sizeof(eMPL_out.quat));
..DMPeMPL-haleMPL_outputs.c(295): warning: #223-D: function "memset" declared implicitly
memset(&eMPL_out, 0, sizeof(eMPL_out));
..DMPeMPL-haleMPL_outputs.c: 2 warnings, 0 errors
compiling inv_mpu_dmp_motion_driver.c...
..DMPdrivereMPLinv_mpu.h(49): error: #169: expected a declaration
};
..DMPdrivereMPLinv_mpu_dmp_motion_driver.c(73): error: #35: #error directive: Gyro driver is missing the system layer implementations.
#error Gyro driver is missing the system layer implementations.
..DMPdrivereMPLinv_mpu_dmp_motion_driver.c: 0 warnings, 2 errors
compiling data_builder.c...
compiling hal_outputs.c...
compiling message_layer.c...
compiling log_stm32.c...
compiling mlmath.c...
compiling ml_math_func.c...
compiling mpl.c...
..DMPmllitestorage_manager.h(19): error: #20: identifier "size_t" is undefined
size_t size, unsigned int key);
..DMPmllitestorage_manager.h(22): error: #20: identifier "size_t" is undefined
inv_error_t inv_get_mpl_state_size(size_t *size);
..DMPmllitestorage_manager.h(23): error: #20: identifier "size_t" is undefined
inv_error_t inv_load_mpl_states(const unsigned char *data, size_t len);
..DMPmllitestorage_manager.h(24): error: #20: identifier "size_t" is undefined
inv_error_t inv_save_mpl_states(unsigned char *data, size_t len);
..DMPmllitempl.c: 0 warnings, 4 errors
compiling results_holder.c...
compiling start_manager.c...
compiling storage_manager.c...
"STM32F429IGT6STM32F429IGT6.axf" - 8 Error(s), 2 Warning(s).
Target not created.
Build Time Elapsed: 00:00:26
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
这个具体是什么意思
一周热门 更多>