刚接触CCS, 在编译时出现104errors,
error #10056: symbol "_ADCINT2_ISR" redefined: first defined in "./17k_slave_V0.02/Debug/DSP2802x_Defaul
tisr.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中屏蔽过,还是报错
想请教各位大神如何解决这种问题,非常感谢
一周热门 更多>