下面是2407中用到的.asm文件,但是用到2812编译时会发现有下面的错误,是不是我的驱动没有设置好,请高手指教!谢谢! <br /> .title "vectors.asm"<br /> .ref _c_int0<br /> .sect ".vectors"<br /><br />reset: b _c_int0 <br />int1: b int1<br />int2: b int2<br />int3: b int3<br />int4: b int4<br />int5: b int5<br />int6: b int6<br /><br /><br /><br />------------------------------ 2812.pjt - Debug ------------------------------<br />"C: ic2400cgtoolsindspcl" -g -q -fr"F:/xiaohandsome/program/2812/SRVMOTOR/Debug" -d"_DEBUG" -v2xx -@"Debug.lkf" "2812.c"<br />[2812.c]<br /><br />"C: ic2400cgtoolsindspcl" -g -q -fr"F:/xiaohandsome/program/2812/SRVMOTOR/Debug" -d"_DEBUG" -v2xx -@"Debug.lkf" "vectors.asm"<br /><vectors.asm><br /><br />"C: ic2400cgtoolsindspcl" -@"Debug.lkf"<br /><Linking><br />TMS320C24xx COFF Linker Version 7.02<br />Copyright (c) 1987-2002 Texas Instruments Incorporated <br /><br />>> warning: entry point symbol _c_int0 undefined<br /><br />undefined first referenced<br /> symbol in file<br />--------- ----------------<br />_direction2 F:xiaohandsomeprogram2812SRVMOTORDebug2812.obj<br />_directionini F:xiaohandsomeprogram2812SRVMOTORDebug2812.obj<br />I$$SAVE F:xiaohandsomeprogram2812SRVMOTORDebug2812.obj<br />I$$REST F:xiaohandsomeprogram2812SRVMOTORDebug2812.obj<br />_c_int0 F:xiaohandsomeprogram2812SRVMOTORDebugvectors.obj<br />>> symbol referencing errors - ./Debug/lf2407.out not built<br /><br />Build Complete,<br /> 1 Errors, 1 Warnings, 0 Remarks. |
|