CCS7进行编译时,遇到重复性定义的错误,想请教一下,非常感谢

2019-07-15 18:19发布


刚接触CCS,    在编译时出现104errors,

error #10056: symbol "_ADCINT2_ISR" redefined: first defined in "./17k_slave_V0.02/Debug/DSP2802x_Defaultisr.obj"; redefined in "../17k_slave_V0.02/Debug/DSP2802x_DefaultIsr.obj"
error #10056: symbol "_ECAP1_INT_ISR" redefined: first defined in "./17k_slave_V0.02/Debug/DSP2802x_DefaultIsr.obj"; redefined in "../17k_slave_V0.02/Debug/DSP2802x_DefaultIsr.obj"
error #10056: symbol "_ADCINT3_ISR" redefined: first defined in "./17k_slave_V0.02/Debug/DSP2802x_DefaultIsr.obj"; redefined in "../17k_slave_V0.02/Debug/DSP2802x_DefaultIsr.obj"
error #10056: symbol "_EPWM3_TZINT_ISR" redefined: first defined in "./17k_slave_V0.02/Debug/DSP2802x_DefaultIsr.obj"; redefined in "../17k_slave_V0.02/Debug/DSP2802x_DefaultIsr.obj"
error #10056: symbol "_NMI_ISR" redefined: first defined in "./17k_slave_V0.02/Debug/DSP2802x_DefaultIsr.obj"; redefined in "../17k_slave_V0.02/Debug/DSP2802x_DefaultIsr.obj"
error #10056: symbol "_EPWM3_INT_ISR" redefined: first defined in "./17k_slave_V0.02/Debug/DSP2802x_DefaultIsr.obj"; redefined in "../17k_slave_V0.02/Debug/DSP2802x_DefaultIsr.obj"
error #10056: symbol "_WAKEINT_ISR" redefined: first defined in "./17k_slave_V0.02/Debug/DSP2802x_DefaultIsr.obj"; redefined in "../17k_slave_V0.02/Debug/DSP2802x_DefaultIsr.obj"
error #10056: symbol "_EPWM2_INT_ISR" redefined: first defined in "./17k_slave_V0.02/Debug/DSP2802x_DefaultIsr.obj"; redefined in "../17k_slave_V0.02/Debug/DSP2802x_DefaultIsr.obj"

我尝试过的方法:Search“ ADCINT2_ISR“”在DSP2802x_DefaultIsr.c和initial.c (5 matches) 出现过。

1在.h做过extern声明,报错。

2 symbol多次出现,在.c中屏蔽过,还是报错

想请教各位大神如何解决这种问题,非常感谢



友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。