中级会员
 
- 积分
- 311
- 金钱
- 311
- 注册时间
- 2015-6-27
- 在线时间
- 63 小时
|
本帖最后由 双规导航 于 2021-1-3 21:45 编辑
..\HARDWARE\MPU9250\MPL\driver\eMPL\inv_mpu.h(50): error: #169: expected a declaration
};
test.c(60): warning: #177-D: variable "led0sta" was declared but never referenced
u8 led0sta=1;
test.c(61): warning: #177-D: variable "t" was declared but never referenced
u8 t=0,report=1; //默认开启上报
test.c(61): warning: #177-D: variable "report" was declared but never referenced
u8 t=0,report=1; //默认开启上报
test.c(62): warning: #177-D: variable "key" was declared but never referenced
u8 key;
test.c(63): warning: #177-D: variable "pitch" was declared but never referenced
float pitch,roll,yaw; //欧拉角
test.c(63): warning: #177-D: variable "roll" was declared but never referenced
float pitch,roll,yaw; //欧拉角
test.c(63): warning: #177-D: variable "yaw" was declared but never referenced
float pitch,roll,yaw; //欧拉角
test.c(64): warning: #177-D: variable "aacx" was declared but never referenced
short aacx,aacy,aacz; //加速度传感器原始数据
test.c(64): warning: #177-D: variable "aacy" was declared but never referenced
short aacx,aacy,aacz; //加速度传感器原始数据
test.c(64): warning: #177-D: variable "aacz" was declared but never referenced
short aacx,aacy,aacz; //加速度传感器原始数据
test.c(65): warning: #177-D: variable "gyrox" was declared but never referenced
short gyrox,gyroy,gyroz; //陀螺仪原始数据
test.c(65): warning: #177-D: variable "gyroy" was declared but never referenced
short gyrox,gyroy,gyroz; //陀螺仪原始数据
test.c(65): warning: #177-D: variable "gyroz" was declared but never referenced
short gyrox,gyroy,gyroz; //陀螺仪原始数据
test.c(66): warning: #177-D: variable "temp" was declared but never referenced
short temp; //温度
test.c: 14 warnings, 1 error
compiling delay.c...
compiling sys.c...
compiling usart.c...
compiling led.c...
compiling rs485.c...
compiling 24cxx.c...
compiling myiic.c...
compiling adc.c...
compiling dma.c...
compiling exti.c...
compiling mpu.c...
compiling pcf8574.c...
compiling key.c...
compiling mpu9250.c...
compiling modbus.c...
compiling ModbusCRC.c...
compiling MOTOR_MODBUG.c...
compiling Function.C...
compiling inv_mpu.c...
..\HARDWARE\MPU9250\MPL\driver\eMPL\inv_mpu.h(50): error: #169: expected a declaration
};
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(34): warning: #260-D: explicit type is missing ("int" assumed)
static inline float inv_q30_to_float(long q30)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(34): error: #65: expected a ";"
static inline float inv_q30_to_float(long q30)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(57): warning: #12-D: parsing restarts here after previous syntax error
long inv_q29_mult(long a, long b);
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(113): warning: #260-D: explicit type is missing ("int" assumed)
static inline long inv_delta_time_ms(inv_time_t t1, inv_time_t t2)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(113): error: #65: expected a ";"
static inline long inv_delta_time_ms(inv_time_t t1, inv_time_t t2)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(119): warning: #12-D: parsing restarts here after previous syntax error
double quaternion_to_rotation_angle(const long *quat);
..\HARDWARE\MPU9250\MPL\driver\include\log.h(339): warning: #260-D: explicit type is missing ("int" assumed)
static inline void __print_result_location(int result,
..\HARDWARE\MPU9250\MPL\driver\include\log.h(339): error: #65: expected a ";"
static inline void __print_result_location(int result,
..\HARDWARE\MPU9250\MPL\mpl\accel_auto_cal.h(23): warning: #12-D: parsing restarts here after previous syntax error
inv_error_t inv_enable_in_use_auto_calibration(void);
..\HARDWARE\MPU9250\MPL\driver\eMPL\inv_mpu.c(133): error: #35: #error directive: Gyro driver is missing the system layer implementations.
#error Gyro driver is missing the system layer implementations.
..\HARDWARE\MPU9250\MPL\driver\eMPL\inv_mpu.c: 6 warnings, 5 errors
compiling inv_mpu_dmp_motion_driver.c...
..\HARDWARE\MPU9250\MPL\driver\eMPL\inv_mpu.h(50): error: #169: expected a declaration
};
..\HARDWARE\MPU9250\MPL\driver\eMPL\inv_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.
..\HARDWARE\MPU9250\MPL\driver\eMPL\inv_mpu_dmp_motion_driver.c: 0 warnings, 2 errors
compiling log_stm32.c...
..\HARDWARE\MPU9250\MPL\driver\include\log.h(339): warning: #260-D: explicit type is missing ("int" assumed)
static inline void __print_result_location(int result,
..\HARDWARE\MPU9250\MPL\driver\include\log.h(339): error: #65: expected a ";"
static inline void __print_result_location(int result,
..\SYSTEM\sys\stm32f767xx.h(187): warning: #12-D: parsing restarts here after previous syntax error
} IRQn_Type;
..\SYSTEM\sys\core_cm7.h(1834): error: #20: identifier "IRQn_Type" is undefined
__STATIC_INLINE void NVIC_EnableIRQ(IRQn_Type IRQn)
..\SYSTEM\sys\core_cm7.h(1845): error: #20: identifier "IRQn_Type" is undefined
__STATIC_INLINE void NVIC_DisableIRQ(IRQn_Type IRQn)
..\SYSTEM\sys\core_cm7.h(1858): error: #20: identifier "IRQn_Type" is undefined
__STATIC_INLINE uint32_t NVIC_GetPendingIRQ(IRQn_Type IRQn)
..\SYSTEM\sys\core_cm7.h(1869): error: #20: identifier "IRQn_Type" is undefined
__STATIC_INLINE void NVIC_SetPendingIRQ(IRQn_Type IRQn)
..\SYSTEM\sys\core_cm7.h(1880): error: #20: identifier "IRQn_Type" is undefined
__STATIC_INLINE void NVIC_ClearPendingIRQ(IRQn_Type IRQn)
..\SYSTEM\sys\core_cm7.h(1893): error: #20: identifier "IRQn_Type" is undefined
__STATIC_INLINE uint32_t NVIC_GetActive(IRQn_Type IRQn)
..\SYSTEM\sys\core_cm7.h(1906): error: #20: identifier "IRQn_Type" is undefined
__STATIC_INLINE void NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
..\SYSTEM\sys\core_cm7.h(1928): error: #20: identifier "IRQn_Type" is undefined
__STATIC_INLINE uint32_t NVIC_GetPriority(IRQn_Type IRQn)
..\SYSTEM\sys\core_cm7.h(2413): error: #20: identifier "SysTick_IRQn" is undefined
NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Interrupt */
..\HARDWARE\MPU9250\MPL\driver\stm32L\log_stm32.c(148): error: #268: declaration may not appear after executable statement in block
FILE * noUse;
..\HARDWARE\MPU9250\MPL\driver\stm32L\log_stm32.c: 2 warnings, 11 errors
compiling eMPL_outputs.c...
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(34): warning: #260-D: explicit type is missing ("int" assumed)
static inline float inv_q30_to_float(long q30)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(34): error: #65: expected a ";"
static inline float inv_q30_to_float(long q30)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(57): warning: #12-D: parsing restarts here after previous syntax error
long inv_q29_mult(long a, long b);
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(113): warning: #260-D: explicit type is missing ("int" assumed)
static inline long inv_delta_time_ms(inv_time_t t1, inv_time_t t2)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(113): error: #65: expected a ";"
static inline long inv_delta_time_ms(inv_time_t t1, inv_time_t t2)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(119): warning: #12-D: parsing restarts here after previous syntax error
double quaternion_to_rotation_angle(const long *quat);
..\HARDWARE\MPU9250\MPL\eMPL-hal\eMPL_outputs.c(100): warning: #223-D: function "memcpy" declared implicitly
memcpy(data, eMPL_out.quat, sizeof(eMPL_out.quat));
..\HARDWARE\MPU9250\MPL\eMPL-hal\eMPL_outputs.c(119): warning: #223-D: function "inv_q29_mult" declared implicitly
q00 = inv_q29_mult(eMPL_out.quat[0], eMPL_out.quat[0]);
..\HARDWARE\MPU9250\MPL\eMPL-hal\eMPL_outputs.c(157): warning: #223-D: function "inv_q29_mult" declared implicitly
q00 = inv_q29_mult(eMPL_out.quat[0], eMPL_out.quat[0]);
..\HARDWARE\MPU9250\MPL\eMPL-hal\eMPL_outputs.c(295): warning: #223-D: function "memset" declared implicitly
memset(&eMPL_out, 0, sizeof(eMPL_out));
..\HARDWARE\MPU9250\MPL\eMPL-hal\eMPL_outputs.c: 8 warnings, 2 errors
compiling data_builder.c...
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(34): warning: #260-D: explicit type is missing ("int" assumed)
static inline float inv_q30_to_float(long q30)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(34): error: #65: expected a ";"
static inline float inv_q30_to_float(long q30)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(57): warning: #12-D: parsing restarts here after previous syntax error
long inv_q29_mult(long a, long b);
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(113): warning: #260-D: explicit type is missing ("int" assumed)
static inline long inv_delta_time_ms(inv_time_t t1, inv_time_t t2)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(113): error: #65: expected a ";"
static inline long inv_delta_time_ms(inv_time_t t1, inv_time_t t2)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(119): warning: #12-D: parsing restarts here after previous syntax error
double quaternion_to_rotation_angle(const long *quat);
..\HARDWARE\MPU9250\MPL\driver\include\log.h(339): warning: #260-D: explicit type is missing ("int" assumed)
static inline void __print_result_location(int result,
..\HARDWARE\MPU9250\MPL\driver\include\log.h(339): error: #65: expected a ";"
static inline void __print_result_location(int result,
..\HARDWARE\MPU9250\MPL\mllite\data_builder.c(34): warning: #12-D: parsing restarts here after previous syntax error
typedef inv_error_t (*inv_process_cb_func)(struct inv_sensor_cal_t *data);
..\HARDWARE\MPU9250\MPL\mllite\data_builder.c(37): error: #20: identifier "inv_process_cb_func" is undefined
inv_process_cb_func func;
..\HARDWARE\MPU9250\MPL\mllite\data_builder.c(1168): warning: #223-D: function "inv_q30_to_float" declared implicitly
sensors.soft_iron.matrix_f = inv_q30_to_float(matrix);
..\HARDWARE\MPU9250\MPL\mllite\data_builder.c: 7 warnings, 4 errors
compiling hal_outputs.c...
..\HARDWARE\MPU9250\MPL\driver\include\log.h(339): warning: #260-D: explicit type is missing ("int" assumed)
static inline void __print_result_location(int result,
..\HARDWARE\MPU9250\MPL\driver\include\log.h(339): error: #65: expected a ";"
static inline void __print_result_location(int result,
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(32): warning: #12-D: parsing restarts here after previous syntax error
} inv_biquad_filter_t;
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(34): warning: #260-D: explicit type is missing ("int" assumed)
static inline float inv_q30_to_float(long q30)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(34): error: #65: expected a ";"
static inline float inv_q30_to_float(long q30)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(57): warning: #12-D: parsing restarts here after previous syntax error
long inv_q29_mult(long a, long b);
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(113): warning: #260-D: explicit type is missing ("int" assumed)
static inline long inv_delta_time_ms(inv_time_t t1, inv_time_t t2)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(113): error: #65: expected a ";"
static inline long inv_delta_time_ms(inv_time_t t1, inv_time_t t2)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(119): warning: #12-D: parsing restarts here after previous syntax error
double quaternion_to_rotation_angle(const long *quat);
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(122): error: #20: identifier "inv_biquad_filter_t" is undefined
void inv_init_biquad_filter(inv_biquad_filter_t *pFilter, float *pBiquadCoeff);
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(123): error: #20: identifier "inv_biquad_filter_t" is undefined
float inv_biquad_filter_process(inv_biquad_filter_t *pFilter, float input);
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(124): error: #20: identifier "inv_biquad_filter_t" is undefined
void inv_calc_state_to_match_output(inv_biquad_filter_t *pFilter, float input);
..\HARDWARE\MPU9250\MPL\mllite\hal_outputs.c(43): error: #20: identifier "inv_biquad_filter_t" is undefined
inv_biquad_filter_t lp_filter[3];
..\HARDWARE\MPU9250\MPL\mllite\hal_outputs.c: 6 warnings, 7 errors
compiling message_layer.c...
..\HARDWARE\MPU9250\MPL\driver\include\log.h(339): warning: #260-D: explicit type is missing ("int" assumed)
static inline void __print_result_location(int result,
..\HARDWARE\MPU9250\MPL\driver\include\log.h(339): error: #65: expected a ";"
static inline void __print_result_location(int result,
..\HARDWARE\MPU9250\MPL\mllite\message_layer.c(21): warning: #12-D: parsing restarts here after previous syntax error
};
..\HARDWARE\MPU9250\MPL\mllite\message_layer.c(36): error: #70: incomplete type is not allowed
mh.message &= ~clear;
..\HARDWARE\MPU9250\MPL\mllite\message_layer.c(37): error: #70: incomplete type is not allowed
mh.message |= set;
..\HARDWARE\MPU9250\MPL\mllite\message_layer.c(50): error: #70: incomplete type is not allowed
msg = mh.message;
..\HARDWARE\MPU9250\MPL\mllite\message_layer.c(52): error: #70: incomplete type is not allowed
mh.message = 0;
..\HARDWARE\MPU9250\MPL\mllite\message_layer.c(23): error: #235: variable "mh" was declared with a never-completed type
static struct message_holder_t mh;
..\HARDWARE\MPU9250\MPL\mllite\message_layer.c: 2 warnings, 6 errors
compiling ml_math_func.c...
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(34): warning: #260-D: explicit type is missing ("int" assumed)
static inline float inv_q30_to_float(long q30)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(34): error: #65: expected a ";"
static inline float inv_q30_to_float(long q30)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(57): warning: #12-D: parsing restarts here after previous syntax error
long inv_q29_mult(long a, long b);
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(113): warning: #260-D: explicit type is missing ("int" assumed)
static inline long inv_delta_time_ms(inv_time_t t1, inv_time_t t2)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(113): error: #65: expected a ";"
static inline long inv_delta_time_ms(inv_time_t t1, inv_time_t t2)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(119): warning: #12-D: parsing restarts here after previous syntax error
double quaternion_to_rotation_angle(const long *quat);
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.c(114): warning: #223-D: function "inv_q30_to_float" declared implicitly
angW = -atan2f(inv_q30_to_float(q2[2]), inv_q30_to_float(q2[1]));
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.c(258): warning: #223-D: function "inv_q30_to_double" declared implicitly
inv_q30_to_double(vec[ii]) * inv_q30_to_double(vec[ii]);
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.c: 6 warnings, 2 errors
compiling mpl.c...
..\HARDWARE\MPU9250\MPL\mllite\storage_manager.h(19): error: #20: identifier "size_t" is undefined
size_t size, unsigned int key);
..\HARDWARE\MPU9250\MPL\mllite\storage_manager.h(22): error: #20: identifier "size_t" is undefined
inv_error_t inv_get_mpl_state_size(size_t *size);
..\HARDWARE\MPU9250\MPL\mllite\storage_manager.h(23): error: #20: identifier "size_t" is undefined
inv_error_t inv_load_mpl_states(const unsigned char *data, size_t len);
..\HARDWARE\MPU9250\MPL\mllite\storage_manager.h(24): error: #20: identifier "size_t" is undefined
inv_error_t inv_save_mpl_states(unsigned char *data, size_t len);
..\HARDWARE\MPU9250\MPL\driver\include\log.h(339): warning: #260-D: explicit type is missing ("int" assumed)
static inline void __print_result_location(int result,
..\HARDWARE\MPU9250\MPL\driver\include\log.h(339): error: #65: expected a ";"
static inline void __print_result_location(int result,
..\HARDWARE\MPU9250\MPL\mllite\mpl.h(16): warning: #12-D: parsing restarts here after previous syntax error
inv_error_t inv_init_mpl(void);
..\HARDWARE\MPU9250\MPL\mllite\mpl.c(34): warning: #223-D: function "__print_result_location" declared implicitly
INV_ERROR_CHECK(inv_init_start_manager());
..\HARDWARE\MPU9250\MPL\mllite\mpl.c(37): warning: #223-D: function "__print_result_location" declared implicitly
INV_ERROR_CHECK(inv_init_data_builder());
..\HARDWARE\MPU9250\MPL\mllite\mpl.c(39): warning: #223-D: function "__print_result_location" declared implicitly
INV_ERROR_CHECK(inv_enable_results_holder());
..\HARDWARE\MPU9250\MPL\mllite\mpl.c(66): warning: #223-D: function "__print_result_location" declared implicitly
INV_ERROR_CHECK(inv_execute_mpl_start_notification());
..\HARDWARE\MPU9250\MPL\mllite\mpl.c: 6 warnings, 5 errors
compiling results_holder.c...
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(34): warning: #260-D: explicit type is missing ("int" assumed)
static inline float inv_q30_to_float(long q30)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(34): error: #65: expected a ";"
static inline float inv_q30_to_float(long q30)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(57): warning: #12-D: parsing restarts here after previous syntax error
long inv_q29_mult(long a, long b);
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(113): warning: #260-D: explicit type is missing ("int" assumed)
static inline long inv_delta_time_ms(inv_time_t t1, inv_time_t t2)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(113): error: #65: expected a ";"
static inline long inv_delta_time_ms(inv_time_t t1, inv_time_t t2)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(119): warning: #12-D: parsing restarts here after previous syntax error
double quaternion_to_rotation_angle(const long *quat);
..\HARDWARE\MPU9250\MPL\driver\include\log.h(339): warning: #260-D: explicit type is missing ("int" assumed)
static inline void __print_result_location(int result,
..\HARDWARE\MPU9250\MPL\driver\include\log.h(339): error: #65: expected a ";"
static inline void __print_result_location(int result,
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(51): warning: #12-D: parsing restarts here after previous syntax error
};
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(61): error: #70: incomplete type is not allowed
rh.status |= INV_6_AXIS_QUAT_SET;
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(62): error: #70: incomplete type is not allowed
memcpy(&rh.gam_quat, quat, sizeof(rh.gam_quat));
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(62): error: #70: incomplete type is not allowed
memcpy(&rh.gam_quat, quat, sizeof(rh.gam_quat));
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(63): error: #70: incomplete type is not allowed
rh.gam_timestamp = timestamp;
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(73): error: #70: incomplete type is not allowed
rh.status |= INV_COMPASS_CORRECTION_SET;
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(74): error: #70: incomplete type is not allowed
memcpy(rh.compass_correction, data, sizeof(rh.compass_correction));
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(74): error: #70: incomplete type is not allowed
memcpy(rh.compass_correction, data, sizeof(rh.compass_correction));
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(75): error: #70: incomplete type is not allowed
rh.nav_timestamp = timestamp;
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(85): error: #70: incomplete type is not allowed
memcpy(data, rh.compass_correction, sizeof(rh.compass_correction));
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(85): error: #70: incomplete type is not allowed
memcpy(data, rh.compass_correction, sizeof(rh.compass_correction));
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(86): error: #70: incomplete type is not allowed
*timestamp = rh.nav_timestamp;
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(94): error: #70: incomplete type is not allowed
return rh.large_mag_field;
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(102): error: #70: incomplete type is not allowed
rh.large_mag_field = state;
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(110): error: #70: incomplete type is not allowed
return rh.acc_state;
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(118): error: #70: incomplete type is not allowed
rh.acc_state = state;
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(128): error: #70: incomplete type is not allowed
*cntr = rh.motion_state_counter;
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(129): error: #70: incomplete type is not allowed
return rh.motion_state;
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(139): error: #70: incomplete type is not allowed
if (state == rh.motion_state) {
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(141): error: #70: incomplete type is not allowed
rh.motion_state_counter++;
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(143): error: #70: incomplete type is not allowed
rh.motion_state_counter = 0;
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(147): error: #70: incomplete type is not allowed
rh.motion_state_counter = 0;
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(148): error: #70: incomplete type is not allowed
rh.motion_state = state;
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(164): error: #70: incomplete type is not allowed
memcpy(rh.local_field, data, sizeof(rh.local_field));
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(164): error: #70: incomplete type is not allowed
memcpy(rh.local_field, data, sizeof(rh.local_field));
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(174): error: #70: incomplete type is not allowed
memcpy(data, rh.local_field, sizeof(rh.local_field));
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(174): error: #70: incomplete type is not allowed
memcpy(data, rh.local_field, sizeof(rh.local_field));
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c(183): error: #70: incomplete type is not allowed
memcpy(rh.mag_scale, data, sizeof(rh.mag_scale));
..\HARDWARE\MPU9250\MPL\mllite\results_holder.c: 6 warnings, 30 errors
compiling start_manager.c...
..\HARDWARE\MPU9250\MPL\driver\include\log.h(339): warning: #260-D: explicit type is missing ("int" assumed)
static inline void __print_result_location(int result,
..\HARDWARE\MPU9250\MPL\driver\include\log.h(339): error: #65: expected a ";"
static inline void __print_result_location(int result,
..\HARDWARE\MPU9250\MPL\driver\include\mltypes.h(109): error: #20: identifier "int8_t" is undefined
typedef int8_t __s8;
..\HARDWARE\MPU9250\MPL\mllite\start_manager.c: 1 warning, 2 errors
compiling storage_manager.c...
..\HARDWARE\MPU9250\MPL\driver\include\log.h(339): warning: #260-D: explicit type is missing ("int" assumed)
static inline void __print_result_location(int result,
..\HARDWARE\MPU9250\MPL\driver\include\log.h(339): error: #65: expected a ";"
static inline void __print_result_location(int result,
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(32): warning: #12-D: parsing restarts here after previous syntax error
} inv_biquad_filter_t;
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(34): warning: #260-D: explicit type is missing ("int" assumed)
static inline float inv_q30_to_float(long q30)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(34): error: #65: expected a ";"
static inline float inv_q30_to_float(long q30)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(57): warning: #12-D: parsing restarts here after previous syntax error
long inv_q29_mult(long a, long b);
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(113): warning: #260-D: explicit type is missing ("int" assumed)
static inline long inv_delta_time_ms(inv_time_t t1, inv_time_t t2)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(113): error: #65: expected a ";"
static inline long inv_delta_time_ms(inv_time_t t1, inv_time_t t2)
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(119): warning: #12-D: parsing restarts here after previous syntax error
double quaternion_to_rotation_angle(const long *quat);
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(122): error: #20: identifier "inv_biquad_filter_t" is undefined
void inv_init_biquad_filter(inv_biquad_filter_t *pFilter, float *pBiquadCoeff);
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(123): error: #20: identifier "inv_biquad_filter_t" is undefined
float inv_biquad_filter_process(inv_biquad_filter_t *pFilter, float input);
..\HARDWARE\MPU9250\MPL\mllite\ml_math_func.h(124): error: #20: identifier "inv_biquad_filter_t" is undefined
void inv_calc_state_to_match_output(inv_biquad_filter_t *pFilter, float input);
..\HARDWARE\MPU9250\MPL\mllite\storage_manager.c: 6 warnings, 6 errors
compiling usmart.c...
..\USMART\usmart.c(391): error: #20: identifier "USART_RX_BUF" is undefined
USART_RX_BUF[len]='\0'; //在末尾加入结束符.
..\USMART\usmart.c: 0 warnings, 1 error
compiling usmart_config.c...
compiling usmart_str.c...
"..\OBJ\TEST.axf" - 84 Error(s), 70 Warning(s).
Target not created.
Build Time Elapsed: 00:00:20
|
-
|