TI的专家们 能不能帮我看下我的程序, 我在lab04的中改了点程序,增加了几个变量和中断 结果我改的这个lab04程序编译没有任何问题,也能运行 而其他的示例程序编译都出错了 而且错误都一样,都是下图中的错误, 能不能帮我看下是因为什么原因?
Eric Ma:
你要看一下console里面详细的编译信息,从出错的结果来看,_XINT3没有定义。
ERIC
TI的专家们 能不能帮我看下我的程序, 我在lab04的中改了点程序,增加了几个变量和中断 结果我改的这个lab04程序编译没有任何问题,也能运行 而其他的示例程序编译都出错了 而且错误都一样,都是下图中的错误, 能不能帮我看下是因为什么原因?
yuhan wang:
回复 Eric Ma:
**** Build of configuration Flash for project proj_lab02b ****
"E:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 'Building target: proj_lab02b.out''Invoking: C2000 Linker'"E:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/bin/cl2000" -v28 -ml -mt -O2 -g –define=FLASH –define=FAST_ROM_V1p7 –define=F2802xF –diag_warning=225 –display_error_number –asm_listing -z -m"proj_lab02b.map" –stack_size=0x180 –warn_sections -i"E:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/lib" -i"E:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.6/include" –reread_libs –priority –disable_auto_rts –diag_suppress=16002 –xml_link_info="proj_lab02b_linkInfo.xml" –rom_model -o "proj_lab02b.out" "F:/motorware_1_01_00_16/sw/modules/fast/lib/32b/f28x/f2802x/2802xRevB_Fast_IQ_ROMSymbols.lib" "F:/motorware_1_01_00_16/sw/modules/fast/lib/32b/f28x/f2802x/2802xRevB_Fast_ONLY_ROMSymbols.lib" "F:/motorware_1_01_00_16/sw/modules/fast/lib/32b/f28x/f2802x/2802xRevB_Fast_RTS_ROMSymbols.lib" -l"rts2800_ml.lib" "F:/motorware_1_01_00_16/sw/modules/fast/lib/32b/f28x/f2802x/fast_public.lib" "F:/motorware_1_01_00_16/sw/modules/iqmath/lib/f28x/32b/IQmath.lib" "./CodeStartBranch.obj" "./adc.obj" "./clarke.obj" "./clk.obj" "./cpu.obj" "./ctrl.obj" "./drv8305.obj" "./filter_fo.obj" "./flash.obj" "./gpio.obj" "./hal.obj" "./ipark.obj" "./memCopy.obj" "./offset.obj" "./osc.obj" "./park.obj" "./pid.obj" "./pie.obj" "./pll.obj" "./proj_lab02b.obj" "./pwm.obj" "./pwr.obj" "./spi.obj" "./svgen.obj" "./timer.obj" "./traj.obj" "./usDelay.obj" "./user.obj" "./wdog.obj" "F:/motorware_1_01_00_16/sw/ide/ccs/cmd/f2802x/F28027F.cmd" <Linking>
undefined first referenced symbol in file ——— —————- _Xint3 ./proj_lab02b.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "proj_lab02b.out" not built>> Compilation failuregmake: *** [proj_lab02b.out] Error 1gmake: Target `all' not remade because of errors.
**** Build Finished ****
上面是一个console里面的内容,里面也是显示说_Xint3没有定义, 但是为什么我申请并且使用这个中断的例程里没错误,其他没有声明也没有使用到这个中断的程序都出错误了呢?