📄 uart.plg
字号:
compiling i2c.c...
i2c.c(263): error: #147: declaration is incompatible with "BYTE I2C_SendByte(BYTE, BYTE, BYTE)" (declared at line 79 of "i2c.h")
i2c.c(289): error: #147: declaration is incompatible with "BYTE I2C_RcvByte(BYTE, BYTE, BYTE *)" (declared at line 91 of "i2c.h")
i2c.c(319): error: #147: declaration is incompatible with "BYTE I2C_ReadNByte(BYTE, BYTE, DWORD, DWORD, BYTE *, DWORD)" (declared at line 107 of "i2c.h")
i2c.c(380): error: #147: declaration is incompatible with "BYTE I2C_WriteNByte(BYTE, BYTE, BYTE, DWORD, BYTE *, DWORD)" (declared at line 123 of "i2c.h")
i2c.c(434): warning: #167-D: argument of type "char *" is incompatible with parameter of type "BYTE *"
i2c.c(475): warning: #1-D: last line of file ends without a newline
compiling i2ctest.c...
i2ctest.c(37): error: #20: identifier "PINSEL2" is undefined
i2ctest.c(40): error: #20: identifier "IODIR0" is undefined
i2ctest.c(41): error: #20: identifier "IODIR1" is undefined
i2ctest.c(47): warning: #223-D: function "init_timer" declared implicitly
i2ctest.c(48): warning: #223-D: function "enable_timer" declared implicitly
i2ctest.c(53): warning: #223-D: function "I2C_Init" declared implicitly
i2ctest.c(91): warning: #223-D: function "Printf_UART" declared implicitly
i2ctest.c(94): warning: #223-D: function "EEPROM_Write" declared implicitly
i2ctest.c(109): warning: #223-D: function "EEPROM_Read" declared implicitly
i2ctest.c(110): warning: #223-D: function "sprintf" declared implicitly
i2ctest.c(113): warning: #223-D: function "Read_Temp" declared implicitly
i2ctest.c(129): warning: #111-D: statement is unreachable
i2ctest.c(30): warning: #177-D: variable "i" was declared but never referenced
Target not created
Build target 'Target 1'
assembling Startup.s...
compiling irq.c...
compiling target.c...
compiling uart.c...
uart.c(34): warning: #550-D: variable "Dummy" was set but never used
uart.c(162): warning: #223-D: function "strlen" declared implicitly
compiling rtc.c...
rtc.c(234): warning: #223-D: function "sprintf" declared implicitly
compiling timer.c...
compiling wdt.c...
compiling i2c.c...
i2c.c(289): error: #147: declaration is incompatible with "BYTE I2C_RcvByte(BYTE, BYTE, BYTE *)" (declared at line 91 of "i2c.h")
i2c.c(319): error: #147: declaration is incompatible with "BYTE I2C_ReadNByte(BYTE, BYTE, DWORD, DWORD, BYTE *, DWORD)" (declared at line 107 of "i2c.h")
i2c.c(380): error: #147: declaration is incompatible with "BYTE I2C_WriteNByte(BYTE, BYTE, BYTE, DWORD, BYTE *, DWORD)" (declared at line 123 of "i2c.h")
i2c.c(434): warning: #167-D: argument of type "char *" is incompatible with parameter of type "BYTE *"
i2c.c(475): warning: #1-D: last line of file ends without a newline
compiling i2ctest.c...
i2ctest.c(37): error: #20: identifier "PINSEL2" is undefined
i2ctest.c(40): error: #20: identifier "IODIR0" is undefined
i2ctest.c(41): error: #20: identifier "IODIR1" is undefined
i2ctest.c(47): warning: #223-D: function "init_timer" declared implicitly
i2ctest.c(48): warning: #223-D: function "enable_timer" declared implicitly
i2ctest.c(53): warning: #223-D: function "I2C_Init" declared implicitly
i2ctest.c(91): warning: #223-D: function "Printf_UART" declared implicitly
i2ctest.c(94): warning: #223-D: function "EEPROM_Write" declared implicitly
i2ctest.c(109): warning: #223-D: function "EEPROM_Read" declared implicitly
i2ctest.c(110): warning: #223-D: function "sprintf" declared implicitly
i2ctest.c(113): warning: #223-D: function "Read_Temp" declared implicitly
i2ctest.c(129): warning: #111-D: statement is unreachable
i2ctest.c(30): warning: #177-D: variable "i" was declared but never referenced
Target not created
Build target 'Target 1'
assembling Startup.s...
compiling irq.c...
compiling target.c...
compiling uart.c...
uart.c(34): warning: #550-D: variable "Dummy" was set but never used
uart.c(162): warning: #223-D: function "strlen" declared implicitly
compiling rtc.c...
rtc.c(234): warning: #223-D: function "sprintf" declared implicitly
compiling timer.c...
compiling wdt.c...
compiling i2c.c...
i2c.c(434): warning: #167-D: argument of type "char *" is incompatible with parameter of type "BYTE *"
i2c.c(475): warning: #1-D: last line of file ends without a newline
compiling i2ctest.c...
i2ctest.c(37): error: #20: identifier "PINSEL2" is undefined
i2ctest.c(40): error: #20: identifier "IODIR0" is undefined
i2ctest.c(41): error: #20: identifier "IODIR1" is undefined
i2ctest.c(47): warning: #223-D: function "init_timer" declared implicitly
i2ctest.c(48): warning: #223-D: function "enable_timer" declared implicitly
i2ctest.c(53): warning: #223-D: function "I2C_Init" declared implicitly
i2ctest.c(91): warning: #223-D: function "Printf_UART" declared implicitly
i2ctest.c(94): warning: #223-D: function "EEPROM_Write" declared implicitly
i2ctest.c(109): warning: #223-D: function "EEPROM_Read" declared implicitly
i2ctest.c(110): warning: #223-D: function "sprintf" declared implicitly
i2ctest.c(113): warning: #223-D: function "Read_Temp" declared implicitly
i2ctest.c(129): warning: #111-D: statement is unreachable
i2ctest.c(30): warning: #177-D: variable "i" was declared but never referenced
Target not created
Build target 'Target 1'
assembling Startup.s...
compiling irq.c...
compiling target.c...
compiling uart.c...
uart.c(34): warning: #550-D: variable "Dummy" was set but never used
uart.c(162): warning: #223-D: function "strlen" declared implicitly
compiling rtc.c...
rtc.c(234): warning: #223-D: function "sprintf" declared implicitly
compiling timer.c...
compiling wdt.c...
compiling i2c.c...
i2c.c(434): warning: #167-D: argument of type "char *" is incompatible with parameter of type "BYTE *"
i2c.c(475): warning: #1-D: last line of file ends without a newline
compiling i2ctest.c...
i2ctest.c(39): error: #20: identifier "IODIR0" is undefined
i2ctest.c(40): error: #20: identifier "IODIR1" is undefined
i2ctest.c(46): warning: #223-D: function "init_timer" declared implicitly
i2ctest.c(47): warning: #223-D: function "enable_timer" declared implicitly
i2ctest.c(52): warning: #223-D: function "I2C_Init" declared implicitly
i2ctest.c(90): warning: #223-D: function "Printf_UART" declared implicitly
i2ctest.c(93): warning: #223-D: function "EEPROM_Write" declared implicitly
i2ctest.c(108): warning: #223-D: function "EEPROM_Read" declared implicitly
i2ctest.c(109): warning: #223-D: function "sprintf" declared implicitly
i2ctest.c(112): warning: #223-D: function "Read_Temp" declared implicitly
i2ctest.c(128): warning: #111-D: statement is unreachable
i2ctest.c(30): warning: #177-D: variable "i" was declared but never referenced
Target not created
Build target 'Target 1'
assembling Startup.s...
compiling irq.c...
compiling target.c...
compiling uart.c...
uart.c(34): warning: #550-D: variable "Dummy" was set but never used
uart.c(162): warning: #223-D: function "strlen" declared implicitly
compiling rtc.c...
rtc.c(234): warning: #223-D: function "sprintf" declared implicitly
compiling timer.c...
compiling wdt.c...
compiling i2c.c...
i2c.c(434): warning: #167-D: argument of type "char *" is incompatible with parameter of type "BYTE *"
i2c.c(475): warning: #1-D: last line of file ends without a newline
compiling i2ctest.c...
i2ctest.c(44): warning: #223-D: function "init_timer" declared implicitly
i2ctest.c(45): warning: #223-D: function "enable_timer" declared implicitly
i2ctest.c(50): warning: #223-D: function "I2C_Init" declared implicitly
i2ctest.c(88): warning: #223-D: function "Printf_UART" declared implicitly
i2ctest.c(91): warning: #223-D: function "EEPROM_Write" declared implicitly
i2ctest.c(106): warning: #223-D: function "EEPROM_Read" declared implicitly
i2ctest.c(107): warning: #223-D: function "sprintf" declared implicitly
i2ctest.c(110): warning: #223-D: function "Read_Temp" declared implicitly
i2ctest.c(126): warning: #111-D: statement is unreachable
i2ctest.c(30): warning: #177-D: variable "i" was declared but never referenced
linking...
"uart.axf" - 0 Error(s), 15 Warning(s).
Build target 'Target 1'
assembling Startup.s...
compiling irq.c...
compiling target.c...
compiling uart.c...
uart.c(34): warning: #550-D: variable "Dummy" was set but never used
uart.c(162): warning: #223-D: function "strlen" declared implicitly
compiling rtc.c...
rtc.c(234): warning: #223-D: function "sprintf" declared implicitly
compiling timer.c...
compiling wdt.c...
compiling i2c.c...
i2c.c(434): warning: #167-D: argument of type "char *" is incompatible with parameter of type "BYTE *"
i2c.c(475): warning: #1-D: last line of file ends without a newline
compiling i2ctest.c...
i2ctest.c(44): warning: #223-D: function "init_timer" declared implicitly
i2ctest.c(45): warning: #223-D: function "enable_timer" declared implicitly
i2ctest.c(50): warning: #223-D: function "I2C_Init" declared implicitly
i2ctest.c(88): warning: #223-D: function "Printf_UART" declared implicitly
i2ctest.c(91): warning: #223-D: function "EEPROM_Write" declared implicitly
i2ctest.c(106): warning: #223-D: function "EEPROM_Read" declared implicitly
i2ctest.c(107): warning: #223-D: function "sprintf" declared implicitly
i2ctest.c(110): warning: #223-D: function "Read_Temp" declared implicitly
i2ctest.c(126): warning: #111-D: statement is unreachable
i2ctest.c(30): warning: #177-D: variable "i" was declared but never referenced
linking...
"uart.axf" - 0 Error(s), 15 Warning(s).
Load "C:\\Documents and Settings\\owey\\桌面\\LPC2103 Tutor Kit\\I2c\\uart.AXF"
Erase Done.
Programming Done.
Verify OK.
Build target 'Target 1'
assembling Startup.s...
compiling irq.c...
compiling target.c...
compiling uart.c...
uart.c(34): warning: #550-D: variable "Dummy" was set but never used
uart.c(162): warning: #223-D: function "strlen" declared implicitly
compiling rtc.c...
rtc.c(234): warning: #223-D: function "sprintf" declared implicitly
compiling timer.c...
compiling wdt.c...
compiling i2c.c...
i2c.c(434): warning: #167-D: argument of type "char *" is incompatible with parameter of type "BYTE *"
i2c.c(475): warning: #1-D: last line of file ends without a newline
compiling i2ctest.c...
i2ctest.c(44): warning: #223-D: function "init_timer" declared implicitly
i2ctest.c(45): warning: #223-D: function "enable_timer" declared implicitly
i2ctest.c(50): warning: #223-D: function "I2C_Init" declared implicitly
i2ctest.c(88): warning: #223-D: function "Printf_UART" declared implicitly
i2ctest.c(91): warning: #223-D: function "EEPROM_Write" declared implicitly
i2ctest.c(106): warning: #223-D: function "EEPROM_Read" declared implicitly
i2ctest.c(107): warning: #223-D: function "sprintf" declared implicitly
i2ctest.c(110): warning: #223-D: function "Read_Temp" declared implicitly
i2ctest.c(126): warning: #111-D: statement is unreachable
i2ctest.c(30): warning: #177-D: variable "i" was declared but never referenced
linking...
"uart.axf" - 0 Error(s), 15 Warning(s).
Load "C:\\Documents and Settings\\owey\\桌面\\LPC2103 Tutor Kit\\I2c\\uart.AXF"
Erase Done.
Programming Done.
Verify OK.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -