TI中文支持网
TI专业的中文技术问题搜集分享网站

F28379增加自己写的kalman程序后,出现大量错误

Other Parts Discussed in Thread:C2000WARE

我在main.c文件中增加kalman滤波相关的程序后,编译报错。如下:

Description Resource Path Location Type
#148 declaration is incompatible with "DLOG_4CH_F dlog_4ch1" (declared at line 1086) main.c /fcl_f2837x_tmdxiddk/sources_ line 1087 C/C++ Problem
#148 declaration is incompatible with "DLOG_4CH_F dlog_4ch1" (declared at line 1087) main.c /fcl_f2837x_tmdxiddk/sources_ line 1088 C/C++ Problem
#148 declaration is incompatible with "DLOG_4CH_F dlog_4ch1" (declared at line 1088) main.c /fcl_f2837x_tmdxiddk/sources_ line 1089 C/C++ Problem
#148 declaration is incompatible with "DLOG_4CH_F dlog_4ch1" (declared at line 1089) main.c /fcl_f2837x_tmdxiddk/sources_ line 1090 C/C++ Problem
#148 declaration is incompatible with "DLOG_4CH_F dlog_4ch1" (declared at line 1090) main.c /fcl_f2837x_tmdxiddk/sources_ line 1091 C/C++ Problem
#148 declaration is incompatible with "DLOG_4CH_F dlog_4ch1" (declared at line 1091) main.c /fcl_f2837x_tmdxiddk/sources_ line 1092 C/C++ Problem
#148 declaration is incompatible with "DLOG_4CH_F dlog_4ch1" (declared at line 1092) main.c /fcl_f2837x_tmdxiddk/sources_ line 1093 C/C++ Problem
#148 declaration is incompatible with "DLOG_4CH_F dlog_4ch1" (declared at line 1093) main.c /fcl_f2837x_tmdxiddk/sources_ line 1094 C/C++ Problem
#148 declaration is incompatible with "DLOG_4CH_F dlog_4ch1" (declared at line 1094) main.c /fcl_f2837x_tmdxiddk/sources_ line 1095 C/C++ Problem
#148 declaration is incompatible with "DLOG_4CH_F dlog_4ch1" (declared at line 1095) main.c /fcl_f2837x_tmdxiddk/sources_ line 1096 C/C++ Problem
#148 declaration is incompatible with "DLOG_4CH_F dlog_4ch1" (declared at line 1096) main.c /fcl_f2837x_tmdxiddk/sources_ line 1097 C/C++ Problem
#148 declaration is incompatible with "DLOG_4CH_F dlog_4ch1" (declared at line 453) main.c /fcl_f2837x_tmdxiddk/sources_ line 1086 C/C++ Problem
#148 declaration is incompatible with "ENC_Status_e lsw" (declared at line 62 of "C:/Users/asus/Desktop/zhang/28379D_test _sincos_linear/fcl_f2837x_tmdxiddk/include_/fcl_cpu_cla.h") main.c /fcl_f2837x_tmdxiddk/sources_ line 1074 C/C++ Problem
#148 declaration is incompatible with "float32_t IdRef" (declared at line 389) main.c /fcl_f2837x_tmdxiddk/sources_ line 1065 C/C++ Problem
#148 declaration is incompatible with "float32_t IqRef" (declared at line 391) main.c /fcl_f2837x_tmdxiddk/sources_ line 1068 C/C++ Problem
#148 declaration is incompatible with "float32_t speedRef" (declared at line 392) main.c /fcl_f2837x_tmdxiddk/sources_ line 1064 C/C++ Problem
#148 declaration is incompatible with "MotorRunStop_e runMotor" (declared at line 365) main.c /fcl_f2837x_tmdxiddk/sources_ line 1075 C/C++ Problem
#148 declaration is incompatible with "RAMP_GEN_CLA rg1" (declared at line 75 of "C:/Users/asus/Desktop/zhang/28379D_test _sincos_linear/fcl_f2837x_tmdxiddk/include_/fcl_cpu_cla.h") main.c /fcl_f2837x_tmdxiddk/sources_ line 1057 C/C++ Problem
#148 declaration is incompatible with "uint16_t fclClrCntr" (declared at line 378) main.c /fcl_f2837x_tmdxiddk/sources_ line 1077 C/C++ Problem
#148 declaration is incompatible with "uint16_t ledCnt1" (declared at line 367) main.c /fcl_f2837x_tmdxiddk/sources_ line 1076 C/C++ Problem
#148 declaration is incompatible with "void CLA_setTriggerSource(CLA_TaskNumber, CLA_Trigger)" (declared at line 963 of "E:/ti/CCS1011/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/driverlib/f2837xd/driverlib/cla.h") main.c /fcl_f2837x_tmdxiddk/sources_ line 1030 C/C++ Problem
#148 declaration is incompatible with "void configureCLA(void)" (declared at line 144) main.c /fcl_f2837x_tmdxiddk/sources_ line 1026 C/C++ Problem
#148 declaration is incompatible with "void configureDAC(void)" (declared at line 147) main.c /fcl_f2837x_tmdxiddk/sources_ line 995 C/C++ Problem
#148 declaration is incompatible with "void configureHVDMCProtection(void)" (declared at line 149) main.c /fcl_f2837x_tmdxiddk/sources_ line 1014 C/C++ Problem
#148 declaration is incompatible with "void configurePIControllers(void)" (declared at line 150) main.c /fcl_f2837x_tmdxiddk/sources_ line 1053 C/C++ Problem
#148 declaration is incompatible with "void configurePositionSensing(void)" (declared at line 151) main.c /fcl_f2837x_tmdxiddk/sources_ line 1003 C/C++ Problem
#148 declaration is incompatible with "void DLOG_4CH_F_init(DLOG_4CH_F *)" (declared at line 81 of "C:\Users\asus\Desktop\zhang\28379D_test _sincos_linear\fcl_f2837x_tmdxiddk\include_\dlog_4ch_f.h") main.c /fcl_f2837x_tmdxiddk/sources_ line 1085 C/C++ Problem
#148 declaration is incompatible with "void EPWM_clearEventTriggerInterruptFlag(uint32_t)" (declared at line 4812 of "E:/ti/CCS1011/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/driverlib/f2837xd/driverlib/epwm.h") main.c /fcl_f2837x_tmdxiddk/sources_ line 1116 C/C++ Problem
#148 declaration is incompatible with "void EPWM_enableADCTrigger(uint32_t, EPWM_ADCStartOfConversionType)" (declared at line 5009 of "E:/ti/CCS1011/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/driverlib/f2837xd/driverlib/epwm.h") main.c /fcl_f2837x_tmdxiddk/sources_ line 987 C/C++ Problem
#148 declaration is incompatible with "void EPWM_enableInterrupt(uint32_t)" (declared at line 4626 of "E:/ti/CCS1011/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/driverlib/f2837xd/driverlib/epwm.h") main.c /fcl_f2837x_tmdxiddk/sources_ line 1113 C/C++ Problem
#148 declaration is incompatible with "void EPWM_setADCTriggerEventPrescale(uint32_t, EPWM_ADCStartOfConversionType, uint16_t)" (declared at line 5224 of "E:/ti/CCS1011/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/driverlib/f2837xd/driverlib/epwm.h") main.c /fcl_f2837x_tmdxiddk/sources_ line 984 C/C++ Problem
#148 declaration is incompatible with "void EPWM_setADCTriggerSource(uint32_t, EPWM_ADCStartOfConversionType, EPWM_ADCStartOfConversionSource)" (declared at line 5097 of "E:/ti/CCS1011/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/driverlib/f2837xd/driverlib/epwm.h") main.c /fcl_f2837x_tmdxiddk/sources_ line 977 C/C++ Problem
#148 declaration is incompatible with "void EPWM_setInterruptEventCount(uint32_t, uint16_t)" (declared at line 4756 of "E:/ti/CCS1011/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/driverlib/f2837xd/driverlib/epwm.h") main.c /fcl_f2837x_tmdxiddk/sources_ line 1110 C/C++ Problem
#148 declaration is incompatible with "void EPWM_setInterruptEventCount(uint32_t, uint16_t)" (declared at line 4756 of "E:/ti/CCS1011/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/driverlib/f2837xd/driverlib/epwm.h") main.c /fcl_f2837x_tmdxiddk/sources_ line 1128 C/C++ Problem
#148 declaration is incompatible with "void EPWM_setInterruptSource(uint32_t, uint16_t)" (declared at line 4690 of "E:/ti/CCS1011/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/driverlib/f2837xd/driverlib/epwm.h") main.c /fcl_f2837x_tmdxiddk/sources_ line 1107 C/C++ Problem
#148 declaration is incompatible with "void EPWM_setInterruptSource(uint32_t, uint16_t)" (declared at line 4690 of "E:/ti/CCS1011/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/driverlib/f2837xd/driverlib/epwm.h") main.c /fcl_f2837x_tmdxiddk/sources_ line 1121 C/C++ Problem
#148 declaration is incompatible with "void EQEP_enableInterrupt(uint32_t, uint16_t)" (declared at line 575 of "E:/ti/CCS1011/C2000Ware_MotorControl_SDK_3_00_01_00/c2000ware/driverlib/f2837xd/driverlib/eqep.h") main.c /fcl_f2837x_tmdxiddk/sources_ line 1033 C/C++ Problem
#148 declaration is incompatible with "void FCL_initADC(uint32_t, ADC_PPBNumber, uint32_t, ADC_PPBNumber, uint32_t)" (declared at line 143 of "C:/Users/asus/Desktop/zhang/28379D_test _sincos_linear/fcl_f2837x_tmdxiddk/include_/fcl_cpu_cla.h") main.c /fcl_f2837x_tmdxiddk/sources_ line 949 C/C++ Problem
#148 declaration is incompatible with "void FCL_initPWM(uint32_t, uint32_t, uint32_t)" (declared at line 141 of "C:/Users/asus/Desktop/zhang/28379D_test _sincos_linear/fcl_f2837x_tmdxiddk/include_/fcl_cpu_cla.h") main.c /fcl_f2837x_tmdxiddk/sources_ line 958 C/C++ Problem
#148 declaration is incompatible with "void FCL_initQEP(uint32_t)" (declared at line 146 of "C:/Users/asus/Desktop/zhang/28379D_test _sincos_linear/fcl_f2837x_tmdxiddk/include_/fcl_cpu_cla.h") main.c /fcl_f2837x_tmdxiddk/sources_ line 963 C/C++ Problem
#148 declaration is incompatible with "void FCL_resetController(void)" (declared at line 147 of "C:/Users/asus/Desktop/zhang/28379D_test _sincos_linear/fcl_f2837x_tmdxiddk/include_/fcl_cpu_cla.h") main.c /fcl_f2837x_tmdxiddk/sources_ line 1054 C/C++ Problem
#148 declaration is incompatible with "void initFCLVars()" (declared at line 518) main.c /fcl_f2837x_tmdxiddk/sources_ line 966 C/C++ Problem
#148 declaration is incompatible with "void SysCtl_selectSecMaster(uint16_t, uint16_t)" (declared at line 2737 of "E:\ti\CCS1011\C2000Ware_MotorControl_SDK_3_00_01_00\c2000ware\driverlib\f2837xd\driverlib\sysctl.h") main.c /fcl_f2837x_tmdxiddk/sources_ line 1023 C/C++ Problem
#150 variable "fclClrCntr" has already been initialized main.c /fcl_f2837x_tmdxiddk/sources_ line 1077 C/C++ Problem
#150 variable "IdRef" has already been initialized main.c /fcl_f2837x_tmdxiddk/sources_ line 1065 C/C++ Problem
#150 variable "IqRef" has already been initialized main.c /fcl_f2837x_tmdxiddk/sources_ line 1068 C/C++ Problem
#150 variable "ledCnt1" has already been initialized main.c /fcl_f2837x_tmdxiddk/sources_ line 1076 C/C++ Problem
#150 variable "runMotor" has already been initialized main.c /fcl_f2837x_tmdxiddk/sources_ line 1075 C/C++ Problem
#150 variable "speedRef" has already been initialized main.c /fcl_f2837x_tmdxiddk/sources_ line 1064 C/C++ Problem
#20 identifier "kalman" is undefined main.c /fcl_f2837x_tmdxiddk/sources_ line 891 C/C++ Problem
#66 expected a ";" main.c /fcl_f2837x_tmdxiddk/sources_ line 869 C/C++ Problem
#66 expected a ";" main.c /fcl_f2837x_tmdxiddk/sources_ line 1057 C/C++ Problem
#66 expected a ";" main.c /fcl_f2837x_tmdxiddk/sources_ line 1058 C/C++ Problem
#66 expected a ";" main.c /fcl_f2837x_tmdxiddk/sources_ line 1059 C/C++ Problem
#66 expected a ";" main.c /fcl_f2837x_tmdxiddk/sources_ line 1060 C/C++ Problem
#66 expected a ";" main.c /fcl_f2837x_tmdxiddk/sources_ line 1061 C/C++ Problem
#66 expected a ";" main.c /fcl_f2837x_tmdxiddk/sources_ line 1086 C/C++ Problem
#66 expected a ";" main.c /fcl_f2837x_tmdxiddk/sources_ line 1087 C/C++ Problem
#66 expected a ";" main.c /fcl_f2837x_tmdxiddk/sources_ line 1088 C/C++ Problem
#66 expected a ";" main.c /fcl_f2837x_tmdxiddk/sources_ line 1089 C/C++ Problem
#66 expected a ";" main.c /fcl_f2837x_tmdxiddk/sources_ line 1090 C/C++ Problem
#66 expected a ";" main.c /fcl_f2837x_tmdxiddk/sources_ line 1091 C/C++ Problem
#66 expected a ";" main.c /fcl_f2837x_tmdxiddk/sources_ line 1092 C/C++ Problem
#66 expected a ";" main.c /fcl_f2837x_tmdxiddk/sources_ line 1093 C/C++ Problem
#66 expected a ";" main.c /fcl_f2837x_tmdxiddk/sources_ line 1094 C/C++ Problem
#66 expected a ";" main.c /fcl_f2837x_tmdxiddk/sources_ line 1095 C/C++ Problem
#66 expected a ";" main.c /fcl_f2837x_tmdxiddk/sources_ line 1096 C/C++ Problem
#66 expected a ";" main.c /fcl_f2837x_tmdxiddk/sources_ line 1097 C/C++ Problem
#760 constant "ADC_PPB_NUMBER1" is not a type name main.c /fcl_f2837x_tmdxiddk/sources_ line 949 C/C++ Problem
#760 constant "ADC_PPB_NUMBER1" is not a type name main.c /fcl_f2837x_tmdxiddk/sources_ line 950 C/C++ Problem
#760 constant "EPWM_SOC_A" is not a type name main.c /fcl_f2837x_tmdxiddk/sources_ line 977 C/C++ Problem
#760 constant "EPWM_SOC_A" is not a type name main.c /fcl_f2837x_tmdxiddk/sources_ line 984 C/C++ Problem
#760 constant "EPWM_SOC_A" is not a type name main.c /fcl_f2837x_tmdxiddk/sources_ line 987 C/C++ Problem
#760 constant "EPWM_SOC_TBCTR_PERIOD" is not a type name main.c /fcl_f2837x_tmdxiddk/sources_ line 977 C/C++ Problem
#80 expected a type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 949 C/C++ Problem
#80 expected a type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 950 C/C++ Problem
#80 expected a type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 951 C/C++ Problem
#80 expected a type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 958 C/C++ Problem
#80 expected a type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 963 C/C++ Problem
#80 expected a type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 977 C/C++ Problem
#80 expected a type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 984 C/C++ Problem
#80 expected a type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 987 C/C++ Problem
#80 expected a type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1023 C/C++ Problem
#80 expected a type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1033 C/C++ Problem
#80 expected a type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1085 C/C++ Problem
#80 expected a type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1107 C/C++ Problem
#80 expected a type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1110 C/C++ Problem
#80 expected a type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1113 C/C++ Problem
#80 expected a type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1116 C/C++ Problem
#80 expected a type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1121 C/C++ Problem
#80 expected a type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1128 C/C++ Problem
gmake: *** [sources_/main.obj] Error 1 fcl_f2837x_tmdxiddk C/C++ Problem
gmake: Target 'all' not remade because of errors. fcl_f2837x_tmdxiddk C/C++ Problem

警告如下:

Description Resource Path Location Type
#12-D parsing restarts here after previous syntax error main.c /fcl_f2837x_tmdxiddk/sources_ line 890 C/C++ Problem
#62-D integer operation result is out of range PM_sincos_lib.c /fcl_f2837x_tmdxiddk/sources_ line 480 C/C++ Problem
#69-D integer conversion resulted in a change of sign PM_sincos_lib.c /fcl_f2837x_tmdxiddk/sources_ line 480 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 949 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 958 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 963 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 966 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 977 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 984 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 987 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 995 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1003 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1014 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1023 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1026 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1030 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1033 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1053 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1054 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1057 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1058 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1059 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1060 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1061 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1064 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1065 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1068 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1074 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1075 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1076 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1077 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1085 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1086 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1087 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1088 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1089 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1090 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1091 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1092 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1093 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1094 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1095 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1096 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1097 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1107 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1110 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1113 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1116 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1121 C/C++ Problem
#78-D this declaration has no storage class or type specifier main.c /fcl_f2837x_tmdxiddk/sources_ line 1128 C/C++ Problem
#93-D identifier-list parameters may only be used in a function definition main.c /fcl_f2837x_tmdxiddk/sources_ line 1030 C/C++ Problem
<a href="file:/E:/ti/CCS1011/ccs/tools/compiler/dmed/HTML/225.html">#225-D</a> function "matrix_identity" declared implicitly main.c /fcl_f2837x_tmdxiddk/sources_ line 935 C/C++ Problem
<a href="file:/E:/ti/CCS1011/ccs/tools/compiler/dmed/HTML/225.html">#225-D</a> function "matrix_transpose" declared implicitly main.c /fcl_f2837x_tmdxiddk/sources_ line 933 C/C++ Problem

没加入kalman相关程序以前,没有这些错误。

猜测:kalman程序太大,占用了存储空间,导致其他变量定义错误或重复?或者还有其他原因?

          该如何解决呢?

期待答复zhang.rar

便于讨论,我将工程文件添加到附件了。

user6510059:

解决了,原因是不能在函数里再写函数体,只能在函数里赋值。

,

Green Deng:

感谢反馈。

赞(0)
未经允许不得转载:TI中文支持网 » F28379增加自己写的kalman程序后,出现大量错误
分享到: 更多 (0)