📄 printer.plg
字号:
compiling irq.c...
compiling timer.c...
compiling KeyBoard.c...
compiling target.c...
compiling rtc.c...
compiling printer.c...
compiling adc.c...
compiling test_main.c...
test_main.c(1): error: #40: expected an identifier
type.h(27): warning: #12-D: parsing restarts here after previous syntax error
uart.h(41): error: #20: identifier "BYTE" is undefined
uart.h(42): error: #20: identifier "BYTE" is undefined
uart.h(42): error: #20: identifier "BYTE" is undefined
uart.h(43): error: #20: identifier "BYTE" is undefined
spi.h(18): error: #20: identifier "BYTE" is undefined
spi.h(19): error: #20: identifier "BYTE" is undefined
spi.h(20): error: #20: identifier "BYTE" is undefined
spi.h(21): error: #20: identifier "BYTE" is undefined
spi.h(21): error: #20: identifier "BYTE" is undefined
spi.h(23): warning: #1-D: last line of file ends without a newline
timer.h(20): error: #20: identifier "BYTE" is undefined
timer.h(21): error: #20: identifier "BYTE" is undefined
timer.h(22): error: #20: identifier "BYTE" is undefined
timer.h(23): error: #20: identifier "BYTE" is undefined
timer.h(24): error: #20: identifier "BYTE" is undefined
test_main.c(21): warning: #177-D: variable "cnt" was declared but never referenced
test_main.c(21): warning: #177-D: variable "send_cnt" was declared but never referenced
assembling Startup.s...
assembling swi_handler.s...
Target not created
Build target 'MCB2300'
compiling uart.c...
compiling spi.c...
compiling display.c...
compiling irq.c...
compiling timer.c...
compiling KeyBoard.c...
compiling target.c...
compiling rtc.c...
compiling printer.c...
compiling adc.c...
compiling test_main.c...
test_main.c(1): error: #40: expected an identifier
type.h(27): warning: #12-D: parsing restarts here after previous syntax error
uart.h(41): error: #20: identifier "BYTE" is undefined
uart.h(42): error: #20: identifier "BYTE" is undefined
uart.h(42): error: #20: identifier "BYTE" is undefined
uart.h(43): error: #20: identifier "BYTE" is undefined
spi.h(18): error: #20: identifier "BYTE" is undefined
spi.h(19): error: #20: identifier "BYTE" is undefined
spi.h(20): error: #20: identifier "BYTE" is undefined
spi.h(21): error: #20: identifier "BYTE" is undefined
spi.h(21): error: #20: identifier "BYTE" is undefined
timer.h(20): error: #20: identifier "BYTE" is undefined
timer.h(21): error: #20: identifier "BYTE" is undefined
timer.h(22): error: #20: identifier "BYTE" is undefined
timer.h(23): error: #20: identifier "BYTE" is undefined
timer.h(24): error: #20: identifier "BYTE" is undefined
test_main.c(21): warning: #177-D: variable "cnt" was declared but never referenced
test_main.c(21): warning: #177-D: variable "send_cnt" was declared but never referenced
assembling Startup.s...
assembling swi_handler.s...
Target not created
Build target 'MCB2300'
compiling uart.c...
compiling spi.c...
compiling display.c...
compiling irq.c...
compiling timer.c...
compiling KeyBoard.c...
compiling target.c...
compiling rtc.c...
compiling printer.c...
compiling adc.c...
compiling test_main.c...
test_main.c(21): warning: #177-D: variable "cnt" was declared but never referenced
test_main.c(21): warning: #177-D: variable "send_cnt" was declared but never referenced
assembling Startup.s...
assembling swi_handler.s...
linking...
.\Obj\printer.axf: Error: L6200E: Symbol prt_dh_flag multiply defined (by timer.o and target.o).
.\Obj\printer.axf: Error: L6200E: Symbol prt_dw_flag multiply defined (by timer.o and target.o).
.\Obj\printer.axf: Error: L6200E: Symbol shift_flag multiply defined (by keyboard.o and test_main.o).
Target not created
Build target 'MCB2300'
compiling uart.c...
compiling spi.c...
compiling display.c...
compiling irq.c...
compiling timer.c...
compiling KeyBoard.c...
compiling target.c...
compiling rtc.c...
compiling printer.c...
printer.c(49): error: #20: identifier "timer0" is undefined
printer.c(105): warning: #223-D: function "st_prt" declared implicitly
printer.c(115): warning: #223-D: function "st_prt" declared implicitly
printer.c(127): warning: #223-D: function "st_prt" declared implicitly
printer.c(135): warning: #223-D: function "st_prt" declared implicitly
printer.c(144): error: #159: declaration is incompatible with previous "st_prt" (declared at line 105)
printer.c(164): warning: #223-D: function "dotlines_dw" declared implicitly
printer.c(170): warning: #223-D: function "dotlines" declared implicitly
printer.c(186): error: #159: declaration is incompatible with previous "dotlines" (declared at line 170)
printer.c(272): error: #159: declaration is incompatible with previous "dotlines_dw" (declared at line 164)
compiling adc.c...
compiling test_main.c...
test_main.c(21): warning: #177-D: variable "cnt" was declared but never referenced
test_main.c(21): warning: #177-D: variable "send_cnt" was declared but never referenced
assembling Startup.s...
assembling swi_handler.s...
Target not created
Build target 'MCB2300'
compiling uart.c...
compiling spi.c...
compiling display.c...
compiling irq.c...
compiling timer.c...
compiling KeyBoard.c...
compiling target.c...
compiling rtc.c...
compiling printer.c...
compiling adc.c...
compiling test_main.c...
test_main.c(21): warning: #177-D: variable "cnt" was declared but never referenced
test_main.c(21): warning: #177-D: variable "send_cnt" was declared but never referenced
assembling Startup.s...
assembling swi_handler.s...
linking...
.\Obj\printer.axf: Error: L6200E: Symbol prt_dh_flag multiply defined (by timer.o and target.o).
.\Obj\printer.axf: Error: L6200E: Symbol prt_dw_flag multiply defined (by timer.o and target.o).
.\Obj\printer.axf: Error: L6200E: Symbol shift_flag multiply defined (by keyboard.o and test_main.o).
Target not created
Build target 'MCB2300'
compiling uart.c...
compiling spi.c...
compiling display.c...
compiling irq.c...
compiling timer.c...
compiling KeyBoard.c...
compiling target.c...
compiling rtc.c...
compiling printer.c...
compiling adc.c...
compiling test_main.c...
test_main.c(21): warning: #177-D: variable "cnt" was declared but never referenced
test_main.c(21): warning: #177-D: variable "send_cnt" was declared but never referenced
assembling Startup.s...
assembling swi_handler.s...
linking...
.\Obj\printer.axf: Error: L6200E: Symbol prt_dh_flag multiply defined (by timer.o and target.o).
.\Obj\printer.axf: Error: L6200E: Symbol prt_dw_flag multiply defined (by timer.o and target.o).
.\Obj\printer.axf: Error: L6200E: Symbol shift_flag multiply defined (by keyboard.o and test_main.o).
Target not created
Build target 'MCB2300'
compiling uart.c...
compiling spi.c...
compiling display.c...
compiling irq.c...
compiling timer.c...
compiling KeyBoard.c...
compiling target.c...
compiling rtc.c...
compiling printer.c...
compiling adc.c...
compiling test_main.c...
assembling Startup.s...
assembling swi_handler.s...
linking...
.\Obj\printer.axf: Error: L6200E: Symbol prt_dh_flag multiply defined (by timer.o and target.o).
.\Obj\printer.axf: Error: L6200E: Symbol prt_dw_flag multiply defined (by timer.o and target.o).
.\Obj\printer.axf: Error: L6200E: Symbol shift_flag multiply defined (by keyboard.o and test_main.o).
Target not created
Build target 'MCB2300'
compiling uart.c...
compiling spi.c...
compiling display.c...
compiling irq.c...
compiling timer.c...
compiling KeyBoard.c...
compiling target.c...
compiling rtc.c...
compiling printer.c...
compiling adc.c...
compiling test_main.c...
assembling Startup.s...
assembling swi_handler.s...
linking...
.\Obj\printer.axf: Error: L6200E: Symbol prt_dh_flag multiply defined (by timer.o and printer.o).
.\Obj\printer.axf: Error: L6200E: Symbol prt_dw_flag multiply defined (by timer.o and printer.o).
.\Obj\printer.axf: Error: L6200E: Symbol shift_flag multiply defined (by keyboard.o and test_main.o).
Target not created
Build target 'MCB2300'
compiling uart.c...
compiling spi.c...
compiling display.c...
compiling irq.c...
compiling timer.c...
compiling KeyBoard.c...
compiling target.c...
compiling rtc.c...
compiling printer.c...
compiling adc.c...
compiling test_main.c...
assembling Startup.s...
assembling swi_handler.s...
linking...
.\Obj\printer.axf: Error: L6200E: Symbol prt_dh_flag multiply defined (by timer.o and target.o).
.\Obj\printer.axf: Error: L6200E: Symbol prt_dw_flag multiply defined (by timer.o and target.o).
.\Obj\printer.axf: Error: L6200E: Symbol shift_flag multiply defined (by keyboard.o and test_main.o).
Target not created
Build target 'MCB2300'
compiling uart.c...
compiling spi.c...
compiling display.c...
compiling irq.c...
compiling timer.c...
compiling KeyBoard.c...
compiling target.c...
compiling rtc.c...
compiling printer.c...
compiling adc.c...
compiling test_main.c...
assembling Startup.s...
assembling swi_handler.s...
linking...
.\Obj\printer.axf: Error: L6200E: Symbol prt_dh_flag multiply defined (by timer.o and printer.o).
.\Obj\printer.axf: Error: L6200E: Symbol prt_dw_flag multiply defined (by timer.o and printer.o).
.\Obj\printer.axf: Error: L6200E: Symbol shift_flag multiply defined (by keyboard.o and test_main.o).
Target not created
Build target 'MCB2300'
compiling uart.c...
compiling spi.c...
compiling display.c...
compiling irq.c...
compiling timer.c...
timer.c(203): error: #20: identifier "timer0" is undefined
compiling KeyBoard.c...
compiling target.c...
compiling rtc.c...
compiling printer.c...
compiling adc.c...
compiling test_main.c...
assembling Startup.s...
assembling swi_handler.s...
Target not created
Build target 'MCB2300'
compiling uart.c...
compiling spi.c...
compiling display.c...
compiling irq.c...
compiling timer.c...
compiling KeyBoard.c...
compiling target.c...
compiling rtc.c...
compiling printer.c...
compiling adc.c...
compiling test_main.c...
assembling Startup.s...
assembling swi_handler.s...
linking...
.\Obj\printer.axf: Error: L6200E: Symbol prt_dh_flag multiply defined (by timer.o and printer.o).
.\Obj\printer.axf: Error: L6200E: Symbol prt_dw_flag multiply defined (by timer.o and printer.o).
.\Obj\printer.axf: Error: L6200E: Symbol shift_flag multiply defined (by keyboard.o and test_main.o).
Target not created
Build target 'MCB2300'
compiling uart.c...
compiling spi.c...
compiling display.c...
compiling irq.c...
compiling timer.c...
compiling KeyBoard.c...
compiling target.c...
compiling rtc.c...
compiling printer.c...
printer.c(49): error: #20: identifier "timer0" is undefined
printer.c(105): warning: #223-D: function "st_prt" declared implicitly
printer.c(115): warning: #223-D: function "st_prt" declared implicitly
printer.c(127): warning: #223-D: function "st_prt" declared implicitly
printer.c(135): warning: #223-D: function "st_prt" declared implicitly
printer.c(144): error: #159: declaration is incompatible with previous "st_prt" (declared at line 105)
printer.c(164): warning: #223-D: function "dotlines_dw" declared implicitly
printer.c(170): warning: #223-D: function "dotlines" declared implicitly
printer.c(186): error: #159: declaration is incompatible with previous "dotlines" (declared at line 170)
printer.c(272): error: #159: declaration is incompatible with previous "dotlines_dw" (declared at line 164)
compiling adc.c...
compiling test_main.c...
assembling Startup.s...
assembling swi_handler.s...
Target not created
Build target 'MCB2300'
compiling uart.c...
compiling spi.c...
compiling display.c...
compiling irq.c...
compiling timer.c...
compiling KeyBoard.c...
compiling target.c...
compiling rtc.c...
compiling printer.c...
printer.c(65): error: #20: identifier "timer0" is undefined
printer.c(105): error: #147: declaration is incompatible with "void prt_msg(unsigned char *, unsigned char)" (declared at line 21)
compiling adc.c...
compiling test_main.c...
assembling Startup.s...
assembling swi_handler.s...
Target not created
Build target 'MCB2300'
compiling uart.c...
compiling spi.c...
compiling display.c...
compiling irq.c...
compiling timer.c...
compiling KeyBoard.c...
compiling target.c...
compiling rtc.c...
compiling printer.c...
printer.c(65): error: #20: identifier "timer0" is undefined
printer.c(105): error: #147: declaration is incompatible with "void prt_msg(char *, unsigned char)" (declared at line 21)
compiling adc.c...
compiling test_main.c...
assembling Startup.s...
assembling swi_handler.s...
Target not created
Build target 'MCB2300'
compiling uart.c...
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -