Other Parts Discussed in Thread: C2000WARE
使用官方c2000 生成的ssc工程并生成ethercat协议栈,编译无法通过,ethercat协议栈中的el9800hw.h中包含一个xc.h文件并不存在,且伴有大量的错误
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
使用官方c2000 生成的ssc工程并生成ethercat协议栈,编译无法通过,ethercat协议栈中的el9800hw.h中包含一个xc.h文件并不存在,且伴有大量的错误
用的是c2000自带的f2838x_cm_cia402_solution这个工程,
**** Build of configuration FLASH for project f2838x_cm_cia402_solution **** "D:\\ti\\ccs1031\\ccs\\utils\\bin\\gmake" -k -j 12 all -O Building file: "../f2838x_cm_cia402_solution/el9800hw.c" Invoking: Arm Compiler "D:/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me -O2 --include_path="D:/workspace_v7/f2838x_cm_cia402_solution" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/communications/Ethercat/f2838x/examples/f2838x_cm_cia402_solution" --include_path="D:/workspace_v7/f2838x_cm_cia402_solution/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f2838x/driverlib_cm" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/device_support/f2838x/common/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/communications/Ethercat/f2838x/include" --include_path="D:/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include" --define=ETHERCAT_STACK --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --verbose_diagnostics --gen_func_subsections=on --embedded_constants=off --preproc_with_compile --preproc_dependency="f2838x_cm_cia402_solution/el9800hw.d_raw" --obj_directory="f2838x_cm_cia402_solution" "../f2838x_cm_cia402_solution/el9800hw.c" >> Compilation failure f2838x_cm_cia402_solution/subdir_rules.mk:9: recipe for target 'f2838x_cm_cia402_solution/el9800hw.obj' failed "..\f2838x_cm_cia402_solution\ecatslv.h", line 463: error #20: identifier "TSYNCMAN" is undefined PROTO TSYNCMAN ESCMEM *GetSyncMan(UINT8 channel); ^ "..\f2838x_cm_cia402_solution\el9800hw.h", line 40: fatal error #1965: cannot open source file "xc.h" #include <xc.h> ^ 1 error and 1 catastrophic error detected in the compilation of "../f2838x_cm_cia402_solution/el9800hw.c". Compilation terminated. gmake: *** [f2838x_cm_cia402_solution/el9800hw.obj] Error 1 Building file: "../f2838x_cm_cia402_solution/mailbox.c" Invoking: Arm Compiler "D:/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me -O2 --include_path="D:/workspace_v7/f2838x_cm_cia402_solution" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/communications/Ethercat/f2838x/examples/f2838x_cm_cia402_solution" --include_path="D:/workspace_v7/f2838x_cm_cia402_solution/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f2838x/driverlib_cm" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/device_support/f2838x/common/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/communications/Ethercat/f2838x/include" --include_path="D:/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include" --define=ETHERCAT_STACK --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --verbose_diagnostics --gen_func_subsections=on --embedded_constants=off --preproc_with_compile --preproc_dependency="f2838x_cm_cia402_solution/mailbox.d_raw" --obj_directory="f2838x_cm_cia402_solution" "../f2838x_cm_cia402_solution/mailbox.c" >> Compilation failure f2838x_cm_cia402_solution/subdir_rules.mk:9: recipe for target 'f2838x_cm_cia402_solution/mailbox.obj' failed "..\f2838x_cm_cia402_solution\ecatslv.h", line 463: error #20: identifier "TSYNCMAN" is undefined PROTO TSYNCMAN ESCMEM *GetSyncMan(UINT8 channel); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 281: warning #225-D: function "HW_EscReadWord" declared implicitly HW_EscReadWord(sm1Activate,(ESC_SYNCMAN_ACTIVE_OFFSET + SIZEOF_SM_REGISTER)); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 281: error #20: identifier "ESC_SYNCMAN_ACTIVE_OFFSET" is undefined HW_EscReadWord(sm1Activate,(ESC_SYNCMAN_ACTIVE_OFFSET + SIZEOF_SM_REGISTER)); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 281: error #20: identifier "SIZEOF_SM_REGISTER" is undefined HW_EscReadWord(sm1Activate,(ESC_SYNCMAN_ACTIVE_OFFSET + SIZEOF_SM_REGISTER)); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 283: warning #225-D: function "HW_EscWriteWord" declared implicitly HW_EscWriteWord(sm1Activate,(ESC_SYNCMAN_ACTIVE_OFFSET + SIZEOF_SM_REGISTER)); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 308: error #20: identifier "TSYNCMAN" is undefined TSYNCMAN ESCMEM * pSyncMan = (TSYNCMAN ESCMEM *)GetSyncMan(MAILBOX_WRITE); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 308: error #20: identifier "pSyncMan" is undefined TSYNCMAN ESCMEM * pSyncMan = (TSYNCMAN ESCMEM *)GetSyncMan(MAILBOX_WRITE); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 308: error #29: expected an expression TSYNCMAN ESCMEM * pSyncMan = (TSYNCMAN ESCMEM *)GetSyncMan(MAILBOX_WRITE); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 308: error #66: expected a ";" TSYNCMAN ESCMEM * pSyncMan = (TSYNCMAN ESCMEM *)GetSyncMan(MAILBOX_WRITE); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 316: error #29: expected an expression pSyncMan =(TSYNCMAN ESCMEM *) GetSyncMan(MAILBOX_READ); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 316: error #66: expected a ";" pSyncMan =(TSYNCMAN ESCMEM *) GetSyncMan(MAILBOX_READ); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 411: warning #225-D: function "HW_EscReadWord" declared implicitly HW_EscReadWord(sm1Activate,(ESC_SYNCMAN_ACTIVE_OFFSET + SIZEOF_SM_REGISTER)); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 411: error #20: identifier "ESC_SYNCMAN_ACTIVE_OFFSET" is undefined HW_EscReadWord(sm1Activate,(ESC_SYNCMAN_ACTIVE_OFFSET + SIZEOF_SM_REGISTER)); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 411: error #20: identifier "SIZEOF_SM_REGISTER" is undefined HW_EscReadWord(sm1Activate,(ESC_SYNCMAN_ACTIVE_OFFSET + SIZEOF_SM_REGISTER)); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 413: warning #225-D: function "HW_EscWriteWord" declared implicitly HW_EscWriteWord(sm1Activate,(ESC_SYNCMAN_ACTIVE_OFFSET + SIZEOF_SM_REGISTER)); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 747: warning #225-D: function "HW_EscReadWord" declared implicitly HW_EscReadWord(mbxLen,u16EscAddrReceiveMbx); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 747: warning #551-D: variable "mbxLen" is used before its value is set HW_EscReadWord(mbxLen,u16EscAddrReceiveMbx); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 815: warning #225-D: function "HW_EscReadMbxMem" declared implicitly HW_EscReadMbxMem((MEM_ADDR MBXMEM *) psWriteMbx,u16EscAddrReceiveMbx,mbxLen); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 821: error #20: identifier "ESC_SYNCMAN_CONTROL_OFFSET" is undefined HW_EscReadWord(smstate,ESC_SYNCMAN_CONTROL_OFFSET); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 824: error #20: identifier "SM_STATUS_MBX_BUFFER_FULL" is undefined if(smstate & SM_STATUS_MBX_BUFFER_FULL) ^ "../f2838x_cm_cia402_solution/mailbox.c", line 885: warning #225-D: function "HW_EscWriteWord" declared implicitly HW_EscWriteWord(u16dummy, LastUsedAddr); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 891: warning #225-D: function "HW_EscWriteMbxMem" declared implicitly HW_EscWriteMbxMem((MEM_ADDR *)pMbx, u16EscAddrSendMbx, (mbxSize + MBX_HEADER_SIZE)); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 897: warning #225-D: function "HW_EscReadWord" declared implicitly HW_EscReadWord(smstate,(ESC_SYNCMAN_CONTROL_OFFSET + SIZEOF_SM_REGISTER)); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 897: error #20: identifier "ESC_SYNCMAN_CONTROL_OFFSET" is undefined HW_EscReadWord(smstate,(ESC_SYNCMAN_CONTROL_OFFSET + SIZEOF_SM_REGISTER)); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 897: error #20: identifier "SIZEOF_SM_REGISTER" is undefined HW_EscReadWord(smstate,(ESC_SYNCMAN_CONTROL_OFFSET + SIZEOF_SM_REGISTER)); ^ "../f2838x_cm_cia402_solution/mailbox.c", line 900: error #20: identifier "SM_STATUS_MBX_BUFFER_FULL" is undefined if(!(smstate & SM_STATUS_MBX_BUFFER_FULL)) ^ "../f2838x_cm_cia402_solution/mailbox.c", line 919: warning #225-D: function "HW_EscWriteWord" declared implicitly HW_EscWriteWord(u16dummy, (u16EscAddrSendMbx + u16SendMbxSize - 2)); ^ 16 errors detected in the compilation of "../f2838x_cm_cia402_solution/mailbox.c". gmake: *** [f2838x_cm_cia402_solution/mailbox.obj] Error 1 Building file: "../f2838x_cm_cia402_solution/coeappl.c" Invoking: Arm Compiler "D:/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me -O2 --include_path="D:/workspace_v7/f2838x_cm_cia402_solution" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/communications/Ethercat/f2838x/examples/f2838x_cm_cia402_solution" --include_path="D:/workspace_v7/f2838x_cm_cia402_solution/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f2838x/driverlib_cm" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/device_support/f2838x/common/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/communications/Ethercat/f2838x/include" --include_path="D:/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include" --define=ETHERCAT_STACK --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --verbose_diagnostics --gen_func_subsections=on --embedded_constants=off --preproc_with_compile --preproc_dependency="f2838x_cm_cia402_solution/coeappl.d_raw" --obj_directory="f2838x_cm_cia402_solution" "../f2838x_cm_cia402_solution/coeappl.c" >> Compilation failure f2838x_cm_cia402_solution/subdir_rules.mk:9: recipe for target 'f2838x_cm_cia402_solution/coeappl.obj' failed "..\f2838x_cm_cia402_solution\ecatslv.h", line 463: error #20: identifier "TSYNCMAN" is undefined PROTO TSYNCMAN ESCMEM *GetSyncMan(UINT8 channel); ^ "../f2838x_cm_cia402_solution/coeappl.c", line 379: warning #225-D: function "HW_EscReadDWord" declared implicitly HW_EscReadDWord(DcTime, ESC_SYSTEMTIME_OFFSET); ^ "../f2838x_cm_cia402_solution/coeappl.c", line 379: error #20: identifier "ESC_SYSTEMTIME_OFFSET" is undefined HW_EscReadDWord(DcTime, ESC_SYSTEMTIME_OFFSET); ^ "../f2838x_cm_cia402_solution/coeappl.c", line 396: warning #225-D: function "HW_EscRead" declared implicitly HW_EscRead((MEM_ADDR *)&u64Timestamp, ESC_SYSTEMTIME_OFFSET, 8); ^ "../f2838x_cm_cia402_solution/coeappl.c", line 396: error #20: identifier "ESC_SYSTEMTIME_OFFSET" is undefined HW_EscRead((MEM_ADDR *)&u64Timestamp, ESC_SYSTEMTIME_OFFSET, 8); ^ "../f2838x_cm_cia402_solution/coeappl.c", line 698: warning #225-D: function "HW_EscReadDWord" declared implicitly HW_EscReadDWord(EscFeature, ESC_FEATURES_OFFSET); ^ "../f2838x_cm_cia402_solution/coeappl.c", line 698: error #20: identifier "ESC_FEATURES_OFFSET" is undefined HW_EscReadDWord(EscFeature, ESC_FEATURES_OFFSET); ^ "../f2838x_cm_cia402_solution/coeappl.c", line 701: error #20: identifier "ESC_DC_32BIT_MASK" is undefined if ((EscFeature & ESC_DC_32BIT_MASK) > 0) ^ "../f2838x_cm_cia402_solution/coeappl.c", line 709: error #20: identifier "ESC_SYSTEMTIME_OFFSET" is undefined HW_EscReadDWord(u32LastDc32Value, ESC_SYSTEMTIME_OFFSET); ^ 6 errors detected in the compilation of "../f2838x_cm_cia402_solution/coeappl.c". gmake: *** [f2838x_cm_cia402_solution/coeappl.obj] Error 1 Building file: "../f2838x_cm_cia402_solution/ecatslv.c" Invoking: Arm Compiler "D:/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me -O2 --include_path="D:/workspace_v7/f2838x_cm_cia402_solution" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/communications/Ethercat/f2838x/examples/f2838x_cm_cia402_solution" --include_path="D:/workspace_v7/f2838x_cm_cia402_solution/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f2838x/driverlib_cm" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/device_support/f2838x/common/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/communications/Ethercat/f2838x/include" --include_path="D:/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include" --define=ETHERCAT_STACK --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --verbose_diagnostics --gen_func_subsections=on --embedded_constants=off --preproc_with_compile --preproc_dependency="f2838x_cm_cia402_solution/ecatslv.d_raw" --obj_directory="f2838x_cm_cia402_solution" "../f2838x_cm_cia402_solution/ecatslv.c" >> Compilation failure f2838x_cm_cia402_solution/subdir_rules.mk:9: recipe for target 'f2838x_cm_cia402_solution/ecatslv.obj' failed "..\f2838x_cm_cia402_solution\ecatslv.h", line 463: error #20: identifier "TSYNCMAN" is undefined PROTO TSYNCMAN ESCMEM *GetSyncMan(UINT8 channel); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 244: error #20: identifier "TSYNCMAN" is undefined TSYNCMAN SyncManInfo; ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 268: warning #225-D: function "HW_EscReadWord" declared implicitly HW_EscReadWord(mask, ESC_AL_EVENTMASK_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 268: error #20: identifier "ESC_AL_EVENTMASK_OFFSET" is undefined HW_EscReadWord(mask, ESC_AL_EVENTMASK_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 268: warning #551-D: variable "mask" is used before its value is set HW_EscReadWord(mask, ESC_AL_EVENTMASK_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 273: warning #225-D: function "DISABLE_ESC_INT" declared implicitly DISABLE_ESC_INT(); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 276: warning #225-D: function "HW_EscWriteWord" declared implicitly HW_EscWriteWord(mask, ESC_AL_EVENTMASK_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 277: warning #225-D: function "ENABLE_ESC_INT" declared implicitly ENABLE_ESC_INT(); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 289: warning #225-D: function "HW_EscReadWord" declared implicitly HW_EscReadWord(mask, ESC_AL_EVENTMASK_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 289: error #20: identifier "ESC_AL_EVENTMASK_OFFSET" is undefined HW_EscReadWord(mask, ESC_AL_EVENTMASK_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 289: warning #551-D: variable "mask" is used before its value is set HW_EscReadWord(mask, ESC_AL_EVENTMASK_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 294: warning #225-D: function "DISABLE_ESC_INT" declared implicitly DISABLE_ESC_INT(); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 297: warning #225-D: function "HW_EscWriteWord" declared implicitly HW_EscWriteWord(mask, ESC_AL_EVENTMASK_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 298: warning #225-D: function "ENABLE_ESC_INT" declared implicitly ENABLE_ESC_INT(); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 311: warning #225-D: function "HW_EscReadWord" declared implicitly HW_EscReadWord(TmpVar, ESC_EEPROM_CONTROL_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 311: error #20: identifier "ESC_EEPROM_CONTROL_OFFSET" is undefined HW_EscReadWord(TmpVar, ESC_EEPROM_CONTROL_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 315: error #20: identifier "ESC_EEPROM_ERROR_CRC" is undefined if (((TmpVar & ESC_EEPROM_ERROR_CRC) > 0) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 316: error #20: identifier "ESC_EEPROM_ERROR_LOAD" is undefined || ((TmpVar & ESC_EEPROM_ERROR_LOAD) > 0)) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 344: error #20: identifier "TSYNCMAN" is undefined TSYNCMAN ESCMEM * GetSyncMan( UINT8 channel ) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 346: warning #225-D: function "HW_EscRead" declared implicitly HW_EscRead((MEM_ADDR *)&SyncManInfo, ESC_SYNCMAN_REG_OFFSET + (channel * SIZEOF_SM_REGISTER), SIZEOF_SM_REGISTER ); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 346: error #20: identifier "ESC_SYNCMAN_REG_OFFSET" is undefined HW_EscRead((MEM_ADDR *)&SyncManInfo, ESC_SYNCMAN_REG_OFFSET + (channel * SIZEOF_SM_REGISTER), SIZEOF_SM_REGISTER ); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 346: error #20: identifier "SIZEOF_SM_REGISTER" is undefined HW_EscRead((MEM_ADDR *)&SyncManInfo, ESC_SYNCMAN_REG_OFFSET + (channel * SIZEOF_SM_REGISTER), SIZEOF_SM_REGISTER ); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 363: error #20: identifier "SM_SETTING_PDI_DISABLE" is undefined VARVOLATILE UINT16 smStatus = SM_SETTING_PDI_DISABLE; ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 364: error #20: identifier "ESC_SYNCMAN_ACTIVE_OFFSET" is undefined Offset = (ESC_SYNCMAN_ACTIVE_OFFSET + (SIZEOF_SM_REGISTER*channel)); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 364: error #20: identifier "SIZEOF_SM_REGISTER" is undefined Offset = (ESC_SYNCMAN_ACTIVE_OFFSET + (SIZEOF_SM_REGISTER*channel)); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 367: warning #225-D: function "HW_EscWriteWord" declared implicitly HW_EscWriteWord(smStatus,Offset); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 372: warning #225-D: function "HW_EscReadWord" declared implicitly HW_EscReadWord(smStatus, Offset); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 387: error #20: identifier "ESC_SYNCMAN_ACTIVE_OFFSET" is undefined Offset = (ESC_SYNCMAN_ACTIVE_OFFSET + (SIZEOF_SM_REGISTER*channel)); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 387: error #20: identifier "SIZEOF_SM_REGISTER" is undefined Offset = (ESC_SYNCMAN_ACTIVE_OFFSET + (SIZEOF_SM_REGISTER*channel)); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 390: warning #225-D: function "HW_EscWriteWord" declared implicitly HW_EscWriteWord(smStatus,Offset); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 395: warning #225-D: function "HW_EscReadWord" declared implicitly HW_EscReadWord(smStatus,Offset); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 397: error #20: identifier "SM_SETTING_PDI_DISABLE" is undefined }while((smStatus & SM_SETTING_PDI_DISABLE)); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 416: error #20: identifier "TSYNCMAN" is undefined TSYNCMAN ESCMEM *pSyncMan; ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 416: error #20: identifier "pSyncMan" is undefined TSYNCMAN ESCMEM *pSyncMan; ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 442: error #20: identifier "SM_SETTING_ACTIVATE_OFFSET" is undefined if (!(pSyncMan->Settings[SM_SETTING_ACTIVATE_OFFSET] & SM_SETTING_ENABLE_VALUE)) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 442: error #20: identifier "SM_SETTING_ENABLE_VALUE" is undefined if (!(pSyncMan->Settings[SM_SETTING_ACTIVATE_OFFSET] & SM_SETTING_ENABLE_VALUE)) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 447: error #20: identifier "SM_SETTING_CONTROL_OFFSET" is undefined else if ((pSyncMan->Settings[SM_SETTING_CONTROL_OFFSET] & SM_SETTING_DIRECTION_MASK) != SM_SETTING_DIRECTION_WRITE_VALUE) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 447: error #20: identifier "SM_SETTING_DIRECTION_MASK" is undefined else if ((pSyncMan->Settings[SM_SETTING_CONTROL_OFFSET] & SM_SETTING_DIRECTION_MASK) != SM_SETTING_DIRECTION_WRITE_VALUE) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 447: error #20: identifier "SM_SETTING_DIRECTION_WRITE_VALUE" is undefined else if ((pSyncMan->Settings[SM_SETTING_CONTROL_OFFSET] & SM_SETTING_DIRECTION_MASK) != SM_SETTING_DIRECTION_WRITE_VALUE) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 452: error #20: identifier "SM_SETTING_MODE_MASK" is undefined else if ((pSyncMan->Settings[SM_SETTING_CONTROL_OFFSET] & SM_SETTING_MODE_MASK) != SM_SETTING_MODE_ONE_BUFFER_VALUE) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 452: error #20: identifier "SM_SETTING_MODE_ONE_BUFFER_VALUE" is undefined else if ((pSyncMan->Settings[SM_SETTING_CONTROL_OFFSET] & SM_SETTING_MODE_MASK) != SM_SETTING_MODE_ONE_BUFFER_VALUE) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 493: error #20: identifier "SM_SETTING_DIRECTION_READ_VALUE" is undefined else if ((pSyncMan->Settings[SM_SETTING_CONTROL_OFFSET] & SM_SETTING_DIRECTION_MASK) != SM_SETTING_DIRECTION_READ_VALUE) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 553: error #20: identifier "SM_SETTING_DIRECTION_READ_VALUE" is undefined if ((pSyncMan->Settings[SM_SETTING_CONTROL_OFFSET] & SM_SETTING_DIRECTION_MASK) == SM_SETTING_DIRECTION_READ_VALUE) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 628: error #20: identifier "SM_SETTING_WATCHDOG_VALUE" is undefined if (pSyncMan->Settings[SM_SETTING_CONTROL_OFFSET] & SM_SETTING_WATCHDOG_VALUE) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 701: error #20: identifier "TSYNCMAN" is undefined TSYNCMAN ESCMEM * pSyncMan; ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 701: error #20: identifier "pSyncMan" is undefined TSYNCMAN ESCMEM * pSyncMan; ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 736: error #20: identifier "SM_SETTING_CONTROL_OFFSET" is undefined if (pSyncMan->Settings[SM_SETTING_CONTROL_OFFSET] & SM_SETTING_MODE_ONE_BUFFER_VALUE) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 736: error #20: identifier "SM_SETTING_MODE_ONE_BUFFER_VALUE" is undefined if (pSyncMan->Settings[SM_SETTING_CONTROL_OFFSET] & SM_SETTING_MODE_ONE_BUFFER_VALUE) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 782: warning #225-D: function "HW_EscReadWord" declared implicitly HW_EscReadWord(dcControl, ESC_DC_UNIT_CONTROL_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 782: error #20: identifier "ESC_DC_UNIT_CONTROL_OFFSET" is undefined HW_EscReadWord(dcControl, ESC_DC_UNIT_CONTROL_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 782: warning #551-D: variable "dcControl" is used before its value is set HW_EscReadWord(dcControl, ESC_DC_UNIT_CONTROL_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 786: warning #225-D: function "HW_EscReadDWord" declared implicitly HW_EscReadDWord(cycleTimeSync0, ESC_DC_SYNC0_CYCLETIME_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 786: error #20: identifier "ESC_DC_SYNC0_CYCLETIME_OFFSET" is undefined HW_EscReadDWord(cycleTimeSync0, ESC_DC_SYNC0_CYCLETIME_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 790: error #20: identifier "ESC_DC_SYNC1_CYCLETIME_OFFSET" is undefined HW_EscReadDWord(shiftTimeSync1, ESC_DC_SYNC1_CYCLETIME_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 804: error #20: identifier "ESC_DC_SYNC_UNIT_ACTIVE_MASK" is undefined if((dcControl & (ESC_DC_SYNC_UNIT_ACTIVE_MASK | ESC_DC_SYNC_UNIT_AUTO_ACTIVE_MASK)) != 0) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 804: error #20: identifier "ESC_DC_SYNC_UNIT_AUTO_ACTIVE_MASK" is undefined if((dcControl & (ESC_DC_SYNC_UNIT_ACTIVE_MASK | ESC_DC_SYNC_UNIT_AUTO_ACTIVE_MASK)) != 0) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 807: error #20: identifier "ESC_DC_SYNC0_ACTIVE_MASK" is undefined if((dcControl & (ESC_DC_SYNC0_ACTIVE_MASK | ESC_DC_SYNC1_ACTIVE_MASK)) == 0) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 807: error #20: identifier "ESC_DC_SYNC1_ACTIVE_MASK" is undefined if((dcControl & (ESC_DC_SYNC0_ACTIVE_MASK | ESC_DC_SYNC1_ACTIVE_MASK)) == 0) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 875: error #20: identifier "ESC_DC_SYNC1_ACTIVE_MASK" is undefined if((dcControl & ESC_DC_SYNC1_ACTIVE_MASK) == 0) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 885: error #20: identifier "ESC_DC_SYNC0_ACTIVE_MASK" is undefined if((dcControl & ESC_DC_SYNC0_ACTIVE_MASK) == 0) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 952: error #20: identifier "ESC_DC_SYNC1_ACTIVE_MASK" is undefined if ((dcControl & ESC_DC_SYNC1_ACTIVE_MASK) != 0) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 1101: error #20: identifier "ESC_PD_WD_TIME" is undefined HW_EscReadWord(wd, ESC_PD_WD_TIME); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 1107: error #20: identifier "ESC_WD_DIVIDER_OFFSET" is undefined HW_EscReadWord(wdiv, ESC_WD_DIVIDER_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 1163: error #20: identifier "ESC_PDI_CONFIGURATION" is undefined HW_EscReadDWord(u32TmpVar, ESC_PDI_CONFIGURATION); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 1164: error #20: identifier "ESC_SYNC0_MAPPED_TO_ALEVENT" is undefined if ((u32TmpVar & ESC_SYNC0_MAPPED_TO_ALEVENT) > 0) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 1169: error #20: identifier "ESC_SYNC1_MAPPED_TO_ALEVENT" is undefined if ((u32TmpVar & ESC_SYNC1_MAPPED_TO_ALEVENT) > 0) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 1185: error #20: identifier "ESC_DC_SYNC0_ACTIVE_MASK" is undefined if ( (dcControl & ESC_DC_SYNC0_ACTIVE_MASK) != 0 ) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 1209: error #20: identifier "ESC_DC_SYNC1_ACTIVE_MASK" is undefined if ( (dcControl & ESC_DC_SYNC1_ACTIVE_MASK) != 0 ) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 1415: warning #225-D: function "HW_EscWriteWord" declared implicitly HW_EscWriteWord(Value,ESC_AL_STATUS_CODE_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 1415: error #20: identifier "ESC_AL_STATUS_CODE_OFFSET" is undefined HW_EscWriteWord(Value,ESC_AL_STATUS_CODE_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 1420: warning #225-D: function "HW_EscWriteWord" declared implicitly HW_EscWriteWord(Value,ESC_AL_STATUS_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 1420: error #20: identifier "ESC_AL_STATUS_OFFSET" is undefined HW_EscWriteWord(Value,ESC_AL_STATUS_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2216: warning #225-D: function "DISABLE_ESC_INT" declared implicitly DISABLE_ESC_INT(); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2282: warning #225-D: function "ENABLE_ESC_INT" declared implicitly ENABLE_ESC_INT(); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2300: warning #225-D: function "HW_EscReadWord" declared implicitly HW_EscReadWord(WdStatusOK, ESC_PD_WD_STATE); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2300: error #20: identifier "ESC_PD_WD_STATE" is undefined HW_EscReadWord(WdStatusOK, ESC_PD_WD_STATE); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2303: error #20: identifier "ESC_PD_WD_TRIGGER_MASK" is undefined if (!(WdStatusOK & ESC_PD_WD_TRIGGER_MASK) && (nPdOutputSize > 0)) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2511: warning #225-D: function "HW_EscReadWord" declared implicitly HW_EscReadWord(TmpVar, ESC_COMM_INFO_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2511: error #20: identifier "ESC_COMM_INFO_OFFSET" is undefined HW_EscReadWord(TmpVar, ESC_COMM_INFO_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2514: error #20: identifier "ESC_SM_CHANNELS_MASK" is undefined nMaxSyncMan = (UINT8) ((TmpVar & ESC_SM_CHANNELS_MASK)>> ESC_SM_CHANNELS_SHIFT); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2514: error #20: identifier "ESC_SM_CHANNELS_SHIFT" is undefined nMaxSyncMan = (UINT8) ((TmpVar & ESC_SM_CHANNELS_MASK)>> ESC_SM_CHANNELS_SHIFT); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2516: error #20: identifier "ESC_DPRAM_SIZE_OFFSET" is undefined HW_EscReadWord(TmpVar, ESC_DPRAM_SIZE_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2520: error #20: identifier "ESC_DPRAM_SIZE_MASK" is undefined nMaxEscAddress = (UINT16) ((TmpVar & ESC_DPRAM_SIZE_MASK) << 10) + 0xFFF; ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2586: error #20: identifier "SM_SETTING_ENABLE_VALUE" is undefined UINT16 sm1Activate = SM_SETTING_ENABLE_VALUE; ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2601: warning #225-D: function "HW_EscReadWord" declared implicitly HW_EscReadWord(sm1Activate,(ESC_SYNCMAN_ACTIVE_OFFSET + SIZEOF_SM_REGISTER)); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2601: error #20: identifier "ESC_SYNCMAN_ACTIVE_OFFSET" is undefined HW_EscReadWord(sm1Activate,(ESC_SYNCMAN_ACTIVE_OFFSET + SIZEOF_SM_REGISTER)); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2601: error #20: identifier "SIZEOF_SM_REGISTER" is undefined HW_EscReadWord(sm1Activate,(ESC_SYNCMAN_ACTIVE_OFFSET + SIZEOF_SM_REGISTER)); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2604: error #20: identifier "ESC_SYNCMAN_CONTROL_OFFSET" is undefined HW_EscReadWord(sm1Status, (ESC_SYNCMAN_CONTROL_OFFSET + SIZEOF_SM_REGISTER)); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2610: warning #225-D: function "HW_GetALEventRegister" declared implicitly ALEventReg = HW_GetALEventRegister(); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2619: warning #225-D: function "HW_EscReadWord" declared implicitly HW_EscReadWord( EscAlControl, ESC_AL_CONTROL_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2619: error #20: identifier "ESC_AL_CONTROL_OFFSET" is undefined HW_EscReadWord( EscAlControl, ESC_AL_CONTROL_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2664: error #20: identifier "SM_STATUS_MBX_BUFFER_FULL" is undefined if (((sm1Status & SM_STATUS_MBX_BUFFER_FULL) == 0) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2672: warning #225-D: function "HW_EscWriteWord" declared implicitly HW_EscWriteWord(u16dummy,u16EscAddrSendMbx); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2682: error #20: identifier "SM_SETTING_REPAET_REQ_MASK" is undefined if (((sm1Activate & SM_SETTING_REPAET_REQ_MASK) && !bMbxRepeatToggle) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2692: error #20: identifier "SM_SETTING_REPEAT_ACK" is undefined sm1Activate |= SM_SETTING_REPEAT_ACK; //set repeat acknowledge bit (bit 9) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2696: error #20: identifier "SM_SETTING_REPEAT_ACK" is undefined sm1Activate &= ~SM_SETTING_REPEAT_ACK; //clear repeat acknowledge bit (bit 9) ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2700: warning #225-D: function "HW_EscWriteWord" declared implicitly HW_EscWriteWord(sm1Activate, (ESC_SYNCMAN_ACTIVE_OFFSET + SIZEOF_SM_REGISTER)); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2700: error #20: identifier "ESC_SYNCMAN_ACTIVE_OFFSET" is undefined HW_EscWriteWord(sm1Activate, (ESC_SYNCMAN_ACTIVE_OFFSET + SIZEOF_SM_REGISTER)); ^ "../f2838x_cm_cia402_solution/ecatslv.c", line 2700: error #20: identifier "SIZEOF_SM_REGISTER" is undefined HW_EscWriteWord(sm1Activate, (ESC_SYNCMAN_ACTIVE_OFFSET + SIZEOF_SM_REGISTER)); ^ 69 errors detected in the compilation of "../f2838x_cm_cia402_solution/ecatslv.c". gmake: *** [f2838x_cm_cia402_solution/ecatslv.obj] Error 1 Building file: "../f2838x_cm_cia402_solution/ecatappl.c" Invoking: Arm Compiler "D:/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me -O2 --include_path="D:/workspace_v7/f2838x_cm_cia402_solution" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/communications/Ethercat/f2838x/examples/f2838x_cm_cia402_solution" --include_path="D:/workspace_v7/f2838x_cm_cia402_solution/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f2838x/driverlib_cm" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/device_support/f2838x/common/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/communications/Ethercat/f2838x/include" --include_path="D:/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include" --define=ETHERCAT_STACK --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --verbose_diagnostics --gen_func_subsections=on --embedded_constants=off --preproc_with_compile --preproc_dependency="f2838x_cm_cia402_solution/ecatappl.d_raw" --obj_directory="f2838x_cm_cia402_solution" "../f2838x_cm_cia402_solution/ecatappl.c" >> Compilation failure f2838x_cm_cia402_solution/subdir_rules.mk:9: recipe for target 'f2838x_cm_cia402_solution/ecatappl.obj' failed "..\f2838x_cm_cia402_solution\ecatslv.h", line 463: error #20: identifier "TSYNCMAN" is undefined PROTO TSYNCMAN ESCMEM *GetSyncMan(UINT8 channel); ^ "../f2838x_cm_cia402_solution/ecatappl.c", line 169: warning #1181-D: #warning directive: "Define the timer ticks per ms" #warning "Define the timer ticks per ms" ^ "../f2838x_cm_cia402_solution/ecatappl.c", line 227: warning #225-D: function "HW_GetALEventRegister_Isr" declared implicitly UINT16 ALEvent = HW_GetALEventRegister_Isr(); ^ "../f2838x_cm_cia402_solution/ecatappl.c", line 243: warning #225-D: function "HW_EscWriteIsr" declared implicitly HW_EscWriteIsr(((MEM_ADDR *) aPdInputData), nEscAddrInputData, nPdInputSize ); ^ "../f2838x_cm_cia402_solution/ecatappl.c", line 310: warning #225-D: function "HW_EscReadIsr" declared implicitly HW_EscReadIsr(((MEM_ADDR *)aPdOutputData), nEscAddrOutputData, nPdOutputSize ); ^ "../f2838x_cm_cia402_solution/ecatappl.c", line 424: warning #225-D: function "HW_EscReadDWordIsr" declared implicitly HW_EscReadDWordIsr(u32CurValue, ESC_SYSTEMTIME_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatappl.c", line 464: warning #225-D: function "HW_GetALEventRegister_Isr" declared implicitly UINT16 ALEvent = HW_GetALEventRegister_Isr(); ^ "../f2838x_cm_cia402_solution/ecatappl.c", line 512: warning #225-D: function "HW_EscReadWordIsr" declared implicitly HW_EscReadWordIsr(u16dummy,nEscAddrOutputData); ^ "../f2838x_cm_cia402_solution/ecatappl.c", line 549: warning #225-D: function "HW_EscReadWordIsr" declared implicitly HW_EscReadWordIsr(u16dummy,nEscAddrOutputData); ^ "../f2838x_cm_cia402_solution/ecatappl.c", line 566: warning #225-D: function "HW_EscReadDWord" declared implicitly HW_EscReadDWord(SyncState, ESC_DC_SYNC_STATUS); ^ "../f2838x_cm_cia402_solution/ecatappl.c", line 621: warning #225-D: function "HW_GetALEventRegister_Isr" declared implicitly UINT16 ALEvent = HW_GetALEventRegister_Isr(); ^ "../f2838x_cm_cia402_solution/ecatappl.c", line 871: warning #225-D: function "HW_SetLed" declared implicitly HW_SetLed(((UINT8)bEtherCATRunLed),((UINT8)bEtherCATErrorLed)); ^ "../f2838x_cm_cia402_solution/ecatappl.c", line 929: warning #225-D: function "HW_EscReadDWordIsr" declared implicitly HW_EscReadDWordIsr(u32TimeValue, ESC_SYSTEMTIME_OFFSET); ^ "../f2838x_cm_cia402_solution/ecatappl.c", line 1001: warning #225-D: function "HW_GetALEventRegister" declared implicitly UINT16 ALEvent = HW_GetALEventRegister(); ^ "../f2838x_cm_cia402_solution/ecatappl.c", line 1025: warning #225-D: function "DISABLE_ESC_INT" declared implicitly DISABLE_ESC_INT(); ^ "../f2838x_cm_cia402_solution/ecatappl.c", line 1035: warning #225-D: function "ENABLE_ESC_INT" declared implicitly ENABLE_ESC_INT(); ^ "../f2838x_cm_cia402_solution/ecatappl.c", line 1040: warning #225-D: function "HW_GetTimer" declared implicitly UINT32 CurTimer = (UINT32)HW_GetTimer(); ^ "../f2838x_cm_cia402_solution/ecatappl.c", line 1042: error #20: identifier "ECAT_TIMER_INC_P_MS" is undefined if(CurTimer>= ECAT_TIMER_INC_P_MS) ^ "../f2838x_cm_cia402_solution/ecatappl.c", line 1046: warning #225-D: function "HW_ClearTimer" declared implicitly HW_ClearTimer(); ^ 2 errors detected in the compilation of "../f2838x_cm_cia402_solution/ecatappl.c". gmake: *** [f2838x_cm_cia402_solution/ecatappl.obj] Error 1 Building file: "../f2838x_cm_cia402_solution/objdef.c" Invoking: Arm Compiler "D:/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me -O2 --include_path="D:/workspace_v7/f2838x_cm_cia402_solution" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/communications/Ethercat/f2838x/examples/f2838x_cm_cia402_solution" --include_path="D:/workspace_v7/f2838x_cm_cia402_solution/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f2838x/driverlib_cm" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/device_support/f2838x/common/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/communications/Ethercat/f2838x/include" --include_path="D:/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include" --define=ETHERCAT_STACK --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --verbose_diagnostics --gen_func_subsections=on --embedded_constants=off --preproc_with_compile --preproc_dependency="f2838x_cm_cia402_solution/objdef.d_raw" --obj_directory="f2838x_cm_cia402_solution" "../f2838x_cm_cia402_solution/objdef.c" >> Compilation failure f2838x_cm_cia402_solution/subdir_rules.mk:9: recipe for target 'f2838x_cm_cia402_solution/objdef.obj' failed "..\f2838x_cm_cia402_solution\ecatslv.h", line 463: error #20: identifier "TSYNCMAN" is undefined PROTO TSYNCMAN ESCMEM *GetSyncMan(UINT8 channel); ^ "../f2838x_cm_cia402_solution/objdef.c", line 978: warning #770-D: conversion from pointer to smaller integer if((((MEM_ADDR)pVarPtr) & 0x1) == 0x1) ^ "../f2838x_cm_cia402_solution/objdef.c", line 985: warning #770-D: conversion from pointer to smaller integer pVarPtr = (UINT16 MBXMEM *)(((MEM_ADDR)pVarPtr)& ~(MEM_ADDR)0x1); ^ 1 error detected in the compilation of "../f2838x_cm_cia402_solution/objdef.c". gmake: *** [f2838x_cm_cia402_solution/objdef.obj] Error 1 Building file: "../f2838x_cm_cia402_solution/sdoserv.c" Invoking: Arm Compiler "D:/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=none -me -O2 --include_path="D:/workspace_v7/f2838x_cm_cia402_solution" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/communications/Ethercat/f2838x/examples/f2838x_cm_cia402_solution" --include_path="D:/workspace_v7/f2838x_cm_cia402_solution/device" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/driverlib/f2838x/driverlib_cm" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/device_support/f2838x/common/include" --include_path="C:/ti/c2000/C2000Ware_5_00_00_00/libraries/communications/Ethercat/f2838x/include" --include_path="D:/ti/ccs1031/ccs/tools/compiler/ti-cgt-arm_20.2.4.LTS/include" --define=ETHERCAT_STACK --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --verbose_diagnostics --gen_func_subsections=on --embedded_constants=off --preproc_with_compile --preproc_dependency="f2838x_cm_cia402_solution/sdoserv.d_raw" --obj_directory="f2838x_cm_cia402_solution" "../f2838x_cm_cia402_solution/sdoserv.c" >> Compilation failure f2838x_cm_cia402_solution/subdir_rules.mk:9: recipe for target 'f2838x_cm_cia402_solution/sdoserv.obj' failed "..\f2838x_cm_cia402_solution\ecatslv.h", line 463: error #20: identifier "TSYNCMAN" is undefined PROTO TSYNCMAN ESCMEM *GetSyncMan(UINT8 channel); ^ 1 error detected in the compilation of "../f2838x_cm_cia402_solution/sdoserv.c". gmake: *** [f2838x_cm_cia402_solution/sdoserv.obj] Error 1 gmake: Target 'all' not remade because of errors. **** Build Finished ****
工程路径C:\ti\c2000\C2000Ware_5_00_00_00\libraries\communications\Ethercat\f2838x\examples\f2838x_cm_cia402_solution