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.

TMS320F28388D: 我想使用EtherCAT完成PC端与开发板的通信,编译例程f2838x_cm_cia402_solution时报错。

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

**** Build of configuration RAM for project f2838x_cm_cia402_solution ****

"D:\\CCS\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

Building target: "f2838x_cm_cia402_solution.out"
Invoking: Arm Linker
"D:/CCS/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --float_support=none -me -O2 --define=ETHERCAT_STACK --define=RAM --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --verbose_diagnostics --gen_func_subsections=on --embedded_constants=off -z -m"f2838x_cm_cia402_solution.map" --heap_size=0x1000 --stack_size=0x200 -i"D:/CCS/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/lib" -i"D:/CCS/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --reread_libs --define=RAM --diag_wrap=off --display_error_number --warn_sections --xml_link_info="f2838x_cm_cia402_solution_linkInfo.xml" --rom_model -o "f2838x_cm_cia402_solution.out" "./ethercat_slave_cm_hal.obj" "./startup_cm.obj" "./device/cm.obj" "../2838x_RAM_lnk_ecat_cm.cmd" "D:/C2000Ware_5_04_00_00/driverlib/f2838x/driverlib_cm/ccs/Debug/driverlib_cm.lib" -l"D:/CCS/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/lib/rtsv7M4_T_le_eabi.lib" -llibc.a
<Linking>

undefined first referenced
symbol in file
--------- ----------------
PDI_Isr ./ethercat_slave_cm_hal.obj
Sync0_Isr ./ethercat_slave_cm_hal.obj
Sync1_Isr ./ethercat_slave_cm_hal.obj
main D:/CCS/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/lib/rtsv7M4_T_le_eabi.lib<boot_cortex_m.c.obj>

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "f2838x_cm_cia402_solution.out" not built

>> Compilation failure
makefile:141: recipe for target 'f2838x_cm_cia402_solution.out' failed
gmake[1]: *** [f2838x_cm_cia402_solution.out] Error 1
makefile:137: recipe for target 'all' failed
gmake: *** [all] Error 2

**** Build Finished ****