程序是正确的,但是在电脑上编译出现如下提示: --------------------Building project: annunciator --------------------- arm-elf-gcc -gdwarf -c -IE:EmbestIDETargetsat91 -IE:EmbestIDEBuildxgcc-arm-elfarm- elfinclude E:jqannunciator_zhuozhou.c -oE:jqdebugannunciator_zhuozhou.o In file included from E:/bjq/annunciator.h:16, from E:/bjq/annunciator_zhuozhou.c:36: E:/bjq/lcd.h:33: warning: useless keyword or type name in empty declaration
arm-elf-as -gdwarf2 --defsym AT91R40008=1 --defsym AT91EB40A=1 --defsym AT91_DEBUG_NONE=1 - IE:EmbestIDETargetsat91 -IE:EmbestIDETargetsat91parts
40008 -IE:EmbestIDETargetsat91 argetseb40a E:EmbestIDETargetsat91 argetseb40acstartup.s -oE:jqdebugcstartup.o E:EmbestIDETargetsat91/targets/eb40a/eb40a.inc: Assembler messages: E:EmbestIDETargetsat91/targets/eb40a/eb40a.inc:48: Warning: Line numbers must be positive; line number 0 rejected. E:EmbestIDETargetsat91/targets/eb40a/eb40a.inc:62: Warning: Line numbers must be positive; line number 0 rejected. E:EmbestIDETargetsat91/targets/eb40a/eb40a.inc:72: Warning: Line numbers must be positive; line number 0 rejected. E:EmbestIDETargetsat91/targets/eb40a/eb40a.inc:76: Warning: Line numbers must be positive; line number 0 rejected. E:EmbestIDETargetsat91/targets/eb40a/eb40a.inc:81: Warning: Line numbers must be positive; line number 0 rejected. E:EmbestIDETargetsat91/targets/eb40a/eb40a.inc:82: Warning: Line numbers must be positive; line number 0 rejected.
arm-elf-gcc -gdwarf -c -IE:EmbestIDETargetsat91 -IE:EmbestIDEBuildxgcc-arm-elfarm- elfinclude E:jqlcd.c -oE:jqdebuglcd.o In file included from E:/bjq/lcd.c:31: E:/bjq/lcd.h:33: warning: useless keyword or type name in empty declaration
arm-elf-as -gdwarf2 --defsym AT91R40008=1 --defsym AT91EB40A=1 --defsym AT91_DEBUG_NONE=1 - IE:EmbestIDETargetsat91 -IE:EmbestIDETargetsat91parts
40008 -IE:EmbestIDETargetsat91 argetseb40a E:jq erminal_irq1.s -oE:jqdebug erminal_irq1.o
arm-elf-gcc -gdwarf -c -IE:EmbestIDETargetsat91 -IE:EmbestIDEBuildxgcc-arm-elfarm- elfinclude E:jq l16c752.c -oE:jqdebug l16c752.o
arm-elf-ld -TE:jqldscript_FLASH -LE:EmbestIDEBuildxgcc-arm-elfarm-elflibarm-inter - o.debugannunciator.elf E:jqdebugcstartup.o E:jqdebugannunciator_zhuozhou.o E:jqdebuglcd.o E:jqdebug erminal_irq1.o E:jqdebug l16c752.o E:EmbestIDETargetsat91driverslib_drvarm- interlib_drv_32.lib E:EmbestIDETargetsat91parts
40008arm-inter
40008_lib32.lib -lc E:jqdebug erminal_irq1.o:E:jq erminal_irq1.s:66: undefined reference to `at91_terminal_c_handler1"
Error executing above command.
|