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