新手一枚,刚接触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) 出现过,在。h做过extern声明,.c中屏蔽过,还是报错
想请教各位大神如何解决这种问题,非常感谢
Shine:
从报错信息看是symbol 重复定义了,需要去除一个。
另外,DSP2802x属于C2000系列,请到专门的C2000论坛咨询。
e2echina.ti.com/…/
changfu tan:
回复 Shine:
好的 谢谢