 | Код: Build started 4.9.2011 at 00:04:43 avr-gcc -mmcu=atmega128 -Wall -gdwarf-2 -Os -std=gnu99 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT eeprom.o -MF dep/eeprom.o.d -c ../eeprom.c ../eeprom.c:8:20: error: config.h: No such file or directory ../eeprom.c:9:18: error: comm.h: No such file or directory ../eeprom.c:10:20: error: memory.h: No such file or directory ../eeprom.c:11:19: error: usart.h: No such file or directory ../eeprom.c:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b_bcnt_mode' ../eeprom.c:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b_status_ready' ../eeprom.c:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b_read_ok' ../eeprom.c:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read_byte' ../eeprom.c:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'byte_count' ../eeprom.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'checksum' ../eeprom.c: In function 'pcCommandBytecountMode': ../eeprom.c:56: error: 'data_buffer' undeclared (first use in this function) ../eeprom.c:56: error: (Each undeclared identifier is reported only once ../eeprom.c:56: error: for each function it appears in.) ../eeprom.c:56: error: 'read_byte' undeclared (first use in this function) ../eeprom.c:57: warning: implicit declaration of function 'usartRead' ../eeprom.c:57: error: 'ROMULATOR_PROTOCOL_READ_TIMEOUT' undeclared (first use in this function) ../eeprom.c:61: warning: implicit declaration of function 'checksum' ../eeprom.c:63: error: 'b_bcnt_mode' undeclared (first use in this function) ../eeprom.c:63: error: 'true' undeclared (first use in this function) ../eeprom.c:63: error: 'false' undeclared (first use in this function) ../eeprom.c:65: warning: implicit declaration of function 'usartSendByte' ../eeprom.c: In function 'pcCommandFirmware': ../eeprom.c:75: error: 'data_buffer' undeclared (first use in this function) ../eeprom.c:75: error: 'ROMULATOR_PROTOCOL_READ_TIMEOUT' undeclared (first use in this function) ../eeprom.c:78: error: 'read_byte' undeclared (first use in this function) ../eeprom.c:81: warning: implicit declaration of function 'usartSendString_P' ../eeprom.c:81: error: 'BYTE' undeclared (first use in this function) ../eeprom.c:81: error: expected expression before ')' token ../eeprom.c:81: error: '__c' undeclared (first use in this function) ../eeprom.c:82: error: expected expression before ')' token ../eeprom.c:85: error: expected expression before ')' token ../eeprom.c:86: error: expected expression before ')' token ../eeprom.c:87: error: expected expression before ')' token ../eeprom.c:88: error: expected expression before ')' token ../eeprom.c: In function 'pcCommandModify': ../eeprom.c:95: error: 'UINT16' undeclared (first use in this function) ../eeprom.c:95: error: expected ';' before 'baudrate' ../eeprom.c:96: error: expected ';' before 'delay' ../eeprom.c:99: error: 'data_buffer' undeclared (first use in this function) ../eeprom.c:99: error: 'read_byte' undeclared (first use in this function) ../eeprom.c:100: error: 'ROMULATOR_PROTOCOL_READ_TIMEOUT' undeclared (first use in this function) ../eeprom.c:108: error: 'delay' undeclared (first use in this function) ../eeprom.c:109: error: 'NOP_DELAY' undeclared (first use in this function) ../eeprom.c:111: error: 'baudrate' undeclared (first use in this function) ../eeprom.c:112: warning: implicit declaration of function 'initUsart' ../eeprom.c: In function 'pcCommandReadBlock': ../eeprom.c:123: error: 'b_status_ready' undeclared (first use in this function) ../eeprom.c:123: error: 'false' undeclared (first use in this function) ../eeprom.c:126: error: 'data_buffer' undeclared (first use in this function) ../eeprom.c:126: error: 'read_byte' undeclared (first use in this function) ../eeprom.c:127: error: 'ROMULATOR_PROTOCOL_READ_TIMEOUT' undeclared (first use in this function) ../eeprom.c:134: error: 'byte_count' undeclared (first use in this function) ../eeprom.c:136: warning: implicit declaration of function 'memoryReadBlock' ../eeprom.c:136: error: 'UINT16' undeclared (first use in this function) ../eeprom.c:140: warning: implicit declaration of function 'usartSend' ../eeprom.c:144: warning: implicit declaration of function 'setMemoryAccessEcuRead' ../eeprom.c:147: error: 'true' undeclared (first use in this function) ../eeprom.c: In function 'pcCommandReadByte': ../eeprom.c:154: error: 'b_status_ready' undeclared (first use in this function) ../eeprom.c:154: error: 'false' undeclared (first use in this function) ../eeprom.c:156: error: 'data_buffer' undeclared (first use in this function) ../eeprom.c:156: error: 'ROMULATOR_PROTOCOL_READ_TIMEOUT' undeclared (first use in this function) ../eeprom.c:160: warning: implicit declaration of function 'memoryRead' ../eeprom.c:160: error: 'UINT16' undeclared (first use in this function) ../eeprom.c:160: error: invalid type argument of 'unary *' (have 'int') ../eeprom.c:168: error: 'true' undeclared (first use in this function) ../eeprom.c: In function 'pcCommandStatus': ../eeprom.c:175: error: 'data_buffer' undeclared (first use in this function) ../eeprom.c:175: error: 'b_status_ready' undeclared (first use in this function) ../eeprom.c: In function 'pcCommandUnknown': ../eeprom.c:183: error: 'data_buffer' undeclared (first use in this function) ../eeprom.c:183: error: 'UNKNOWN' undeclared (first use in this function) ../eeprom.c: In function 'pcCommandVersion': ../eeprom.c:191: error: 'data_buffer' undeclared (first use in this function) ../eeprom.c:191: error: 'ROMULATOR_PROTOCOL_READ_TIMEOUT' undeclared (first use in this function) ../eeprom.c:194: error: 'read_byte' undeclared (first use in this function) ../eeprom.c:196: error: 'ROMULATOR_PROTOCOL_MAJOR' undeclared (first use in this function) ../eeprom.c:197: error: 'ROMULATOR_PROTOCOL_MINOR' undeclared (first use in this function) ../eeprom.c:198: error: 'ROMULATOR_PROTOCOL_ID' undeclared (first use in this function) ../eeprom.c: In function 'pcCommandVersionResp': ../eeprom.c:208: error: 'data_buffer' undeclared (first use in this function) ../eeprom.c: In function 'pcCommandWriteW': ../eeprom.c:215: error: 'b_status_ready' undeclared (first use in this function) ../eeprom.c:215: error: 'false' undeclared (first use in this function) ../eeprom.c:218: error: 'data_buffer' undeclared (first use in this function) ../eeprom.c:218: error: 'read_byte' undeclared (first use in this function) ../eeprom.c:219: error: 'ROMULATOR_PROTOCOL_READ_TIMEOUT' undeclared (first use in this function) ../eeprom.c:223: error: 'b_bcnt_mode' undeclared (first use in this function) ../eeprom.c:224: error: 'byte_count' undeclared (first use in this function) ../eeprom.c:236: error: 'UINT8' undeclared (first use in this function) ../eeprom.c:236: error: expected ';' before 'i' ../eeprom.c:236: error: 'i' undeclared (first use in this function) ../eeprom.c:236: error: 'ROMULATOR_PROTOCOL_WRITE_RETRIES' undeclared (first use in this function) ../eeprom.c:238: warning: implicit declaration of function 'memoryWriteBlock' ../eeprom.c:238: error: 'UINT16' undeclared (first use in this function) ../eeprom.c:250: error: 'true' undeclared (first use in this function) ../eeprom.c: In function 'pcCommandWriteX': ../eeprom.c:256: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wr_checksum' ../eeprom.c:256: error: 'wr_checksum' undeclared (first use in this function) ../eeprom.c:259: error: 'b_status_ready' undeclared (first use in this function) ../eeprom.c:259: error: 'false' undeclared (first use in this function) ../eeprom.c:262: error: 'data_buffer' undeclared (first use in this function) ../eeprom.c:262: error: 'read_byte' undeclared (first use in this function) ../eeprom.c:263: error: 'ROMULATOR_PROTOCOL_READ_TIMEOUT' undeclared (first use in this function) ../eeprom.c:266: error: 'byte_count' undeclared (first use in this function) ../eeprom.c:276: error: 'UINT8' undeclared (first use in this function) ../eeprom.c:276: error: expected ';' before 'i' ../eeprom.c:276: error: 'i' undeclared (first use in this function) ../eeprom.c:276: error: 'ROMULATOR_PROTOCOL_WRITE_RETRIES' undeclared (first use in this function) ../eeprom.c:278: error: 'UINT16' undeclared (first use in this function) ../eeprom.c:283: error: expected ';' before 'j' ../eeprom.c:283: error: 'j' undeclared (first use in this function) ../eeprom.c:298: error: 'true' undeclared (first use in this function) ../eeprom.c: In function 'pcCommand': ../eeprom.c:304: error: 'read_byte' undeclared (first use in this function) ../eeprom.c:304: warning: implicit declaration of function 'usartReadByte' ../eeprom.c:304: error: 'b_read_ok' undeclared (first use in this function) ../eeprom.c:311: error: 'BYTECOUNT_MODE' undeclared (first use in this function) ../eeprom.c:315: error: 'FIRMWARE' undeclared (first use in this function) ../eeprom.c:319: error: 'MODIFY' undeclared (first use in this function) ../eeprom.c:323: error: 'READ_BLOCK' undeclared (first use in this function) ../eeprom.c:327: error: 'READ_BYTE' undeclared (first use in this function) ../eeprom.c:331: error: 'STATUS' undeclared (first use in this function) ../eeprom.c:335: error: 'VERSION' undeclared (first use in this function) ../eeprom.c:339: error: 'VERSION_RESP' undeclared (first use in this function) ../eeprom.c:343: error: 'WRITE_X' undeclared (first use in this function) ../eeprom.c:347: error: 'WRITE_W' undeclared (first use in this function) ../eeprom.c:351: error: 'WRITE_H' undeclared (first use in this function) ../eeprom.c: At top level: ../eeprom.c:364: error: expected '=', ',', ';', 'asm' or '__attribute__' before '/' token ../eeprom.c:364: error: stray '#' in program ../eeprom.c:380:20: error: global.h: No such file or directory ../eeprom.c:391: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b_status_ready' ../eeprom.c:424: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'checksum' ../eeprom.c:517:2: error: #endif without #if ../eeprom.c:519: error: expected '=', ',', ';', 'asm' or '__attribute__' before '/' token ../eeprom.c:519: error: stray '#' in program ../eeprom.c:636:2: error: #endif without #if ../eeprom.c:638: error: stray '#' in program ../eeprom.c:708:2: error: #endif without #if ../eeprom.c:710: error: expected '=', ',', ';', 'asm' or '__attribute__' before '/' token ../eeprom.c:726:16: error: io.h: No such file or directory ../eeprom.c:783: error: expected '=', ',', ';', 'asm' or '__attribute__' before '/' token ../eeprom.c:783: error: stray '#' in program ../eeprom.c:829:2: error: #endif without #if ../eeprom.c:831: error: expected '=', ',', ';', 'asm' or '__attribute__' before '/' token ../eeprom.c:847:18: error: main.h: No such file or directory ../eeprom.c:849:24: error: sync_timer.h: No such file or directory ../eeprom.c: In function 'init': ../eeprom.c:926: warning: implicit declaration of function 'initIoPorts' ../eeprom.c:927: warning: implicit declaration of function 'initSyncTimer' ../eeprom.c:930: error: 'USART_BAUD_920000' undeclared (first use in this function) ../eeprom.c:930: error: 'USART_PARITY_EVEN' undeclared (first use in this function) ../eeprom.c:933: warning: implicit declaration of function 'sei' ../eeprom.c: In function 'exec': ../eeprom.c:940: warning: implicit declaration of function 'usartUnreadBytes' ../eeprom.c:944: error: 'b_status_ready' undeclared (first use in this function) ../eeprom.c: At top level: ../eeprom.c:965: error: expected '=', ',', ';', 'asm' or '__attribute__' before '/' token ../eeprom.c:965: error: stray '#' in program ../eeprom.c:1017:2: error: #endif without #if ../eeprom.c:1019: error: expected '=', ',', ';', 'asm' or '__attribute__' before '/' token ../eeprom.c: In function 'memoryClear': ../eeprom.c:1070: warning: implicit declaration of function 'memoryWrite' ../eeprom.c: In function 'memoryTest': ../eeprom.c:1089: error: invalid type argument of 'unary *' (have 'int') ../eeprom.c:1108: error: invalid type argument of 'unary *' (have 'int') ../eeprom.c:1137: error: invalid type argument of 'unary *' (have 'int') ../eeprom.c: At top level: ../eeprom.c:1155: error: conflicting types for 'memoryWrite' ../eeprom.c:1070: error: previous implicit declaration of 'memoryWrite' was here ../eeprom.c: In function 'memoryWrite': ../eeprom.c:1161: warning: implicit declaration of function 'setMemoryAccessMcuWrite' ../eeprom.c:1162: warning: implicit declaration of function 'setMemoryAddress' ../eeprom.c:1172: error: invalid type argument of 'unary *' (have 'int') ../eeprom.c: At top level: ../eeprom.c:1185: error: conflicting types for 'memoryWriteBlock' ../eeprom.c:238: error: previous implicit declaration of 'memoryWriteBlock' was here ../eeprom.c:1197: error: conflicting types for 'memoryRead' ../eeprom.c:160: error: previous implicit declaration of 'memoryRead' was here ../eeprom.c: In function 'memoryRead': ../eeprom.c:1201: warning: implicit declaration of function 'setMemoryAccessMcuRead' ../eeprom.c: At top level: ../eeprom.c:1210: error: conflicting types for 'memoryReadBlock' ../eeprom.c:136: error: previous implicit declaration of 'memoryReadBlock' was here ../eeprom.c:1219: warning: conflicting types for 'setMemoryAccessEcuRead' ../eeprom.c:144: warning: previous implicit declaration of 'setMemoryAccessEcuRead' was here ../eeprom.c:1242: warning: conflicting types for 'setMemoryAccessMcuRead' ../eeprom.c:1201: warning: previous implicit declaration of 'setMemoryAccessMcuRead' was here ../eeprom.c:1270: warning: conflicting types for 'setMemoryAccessMcuWrite' ../eeprom.c:1161: warning: previous implicit declaration of 'setMemoryAccessMcuWrite' was here ../eeprom.c:1295: warning: conflicting types for 'setMemoryAddress' ../eeprom.c:1162: warning: previous implicit declaration of 'setMemoryAddress' was here ../eeprom.c:1314: error: expected '=', ',', ';', 'asm' or '__attribute__' before '/' token ../eeprom.c:1314: error: stray '#' in program ../eeprom.c:1421:2: error: #endif without #if ../eeprom.c:1423: error: expected '=', ',', ';', 'asm' or '__attribute__' before '/' token ../eeprom.c:1453: warning: return type defaults to 'int' ../eeprom.c: In function 'ISR': ../eeprom.c:1453: warning: type of '__vector_15' defaults to 'int' ../eeprom.c:1454: error: 'ui8_sync_timer_overflow' undeclared (first use in this function) ../eeprom.c:1463: error: 'usart_timeout' undeclared (first use in this function) ../eeprom.c: In function 'sync': ../eeprom.c:1476: warning: 'b_100' is static but used in inline function 'sync' which is not static ../eeprom.c:1478: warning: 'b_100' is static but used in inline function 'sync' which is not static ../eeprom.c: At top level: ../eeprom.c:1487: warning: conflicting types for 'initSyncTimer' ../eeprom.c:927: warning: previous implicit declaration of 'initSyncTimer' was here ../eeprom.c:1548: error: expected '=', ',', ';', 'asm' or '__attribute__' before '/' token ../eeprom.c:1548: error: stray '#' in program ../eeprom.c:1601:2: error: #endif without #if ../eeprom.c:1603: error: expected '=', ',', ';', 'asm' or '__attribute__' before '/' token ../eeprom.c:1649: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usartstatus' ../eeprom.c:1657: warning: 'USART_INT_RX' appears to be a misspelled signal handler ../eeprom.c: In function 'USART_INT_RX': ../eeprom.c:1661: error: 'USART_UCSRA' undeclared (first use in this function) ../eeprom.c:1662: error: 'usartstatus' undeclared (first use in this function) ../eeprom.c:1662: error: 'RX_STAT_FE' undeclared (first use in this function) ../eeprom.c:1664: error: 'RX_STAT_DOR' undeclared (first use in this function) ../eeprom.c:1668: error: 'RX_STAT_PE' undeclared (first use in this function) ../eeprom.c:1676: error: 'RX_OVR' undeclared (first use in this function) ../eeprom.c:1677: error: 'USART_RMASK' undeclared (first use in this function) ../eeprom.c:1680: error: 'USART_UDR' undeclared (first use in this function) ../eeprom.c:1685: error: 'RX_STAT_OVR' undeclared (first use in this function) ../eeprom.c: At top level: ../eeprom.c:1689: warning: 'USART_INT_UDRE' appears to be a misspelled signal handler ../eeprom.c: In function 'USART_INT_UDRE': ../eeprom.c:1691: error: 'usartstatus' undeclared (first use in this function) ../eeprom.c:1691: error: 'TX_FULL' undeclared (first use in this function) ../eeprom.c:1693: error: 'USART_UDR' undeclared (first use in this function) ../eeprom.c:1694: error: 'USART_TMASK' undeclared (first use in this function) ../eeprom.c:1696: error: 'TX_STAT_FULL' undeclared (first use in this function) ../eeprom.c:1699: error: 'USART_UCSRB' undeclared (first use in this function) ../eeprom.c:1699: error: 'USART_UDRIE' undeclared (first use in this function) ../eeprom.c: In function 'usartReceiveBufferOverflow': ../eeprom.c:1710: error: 'usartstatus' undeclared (first use in this function) ../eeprom.c:1710: error: 'RX_OVR' undeclared (first use in this function) ../eeprom.c: At top level: ../eeprom.c:1742: error: conflicting types for 'usartRead' ../eeprom.c:57: error: previous implicit declaration of 'usartRead' was here ../eeprom.c:1776: error: conflicting types for 'usartReadByte' ../eeprom.c:304: error: previous implicit declaration of 'usartReadByte' was here ../eeprom.c: In function 'usartReadByte': ../eeprom.c:1786: error: 'USART_RMASK' undeclared (first use in this function) ../eeprom.c:1787: error: 'usartstatus' undeclared (first use in this function) ../eeprom.c:1787: error: 'RX_STAT_OVR' undeclared (first use in this function) ../eeprom.c:1792: error: 'RX_FE' undeclared (first use in this function) ../eeprom.c:1792: error: 'RX_PE' undeclared (first use in this function) ../eeprom.c:1792: error: 'RX_DOR' undeclared (first use in this function) ../eeprom.c:1797: error: 'RX_STAT_FE' undeclared (first use in this function) ../eeprom.c:1798: error: 'RX_STAT_PE' undeclared (first use in this function) ../eeprom.c:1799: error: 'RX_STAT_DOR' undeclared (first use in this function) ../eeprom.c: At top level: ../eeprom.c:1821: error: conflicting types for 'usartUnreadBytes' ../eeprom.c:940: error: previous implicit declaration of 'usartUnreadBytes' was here ../eeprom.c: In function 'usartUnreadBytes': ../eeprom.c:1823: error: 'usartstatus' undeclared (first use in this function) ../eeprom.c:1823: error: 'RX_OVR' undeclared (first use in this function) ../eeprom.c: At top level: ../eeprom.c:1833: warning: conflicting types for 'initUsart' ../eeprom.c:112: warning: previous implicit declaration of 'initUsart' was here ../eeprom.c: In function 'initUsart': ../eeprom.c:1844: error: 'usartstatus' undeclared (first use in this function) ../eeprom.c:1850: error: 'USART_F_CPU' undeclared (first use in this function) ../eeprom.c:1855: error: 'USART_UCSRA' undeclared (first use in this function) ../eeprom.c:1867: error: 'USART_UBRRH' undeclared (first use in this function) ../eeprom.c:1868: error: 'USART_UBRRL' undeclared (first use in this function) ../eeprom.c:1871: error: 'USART_UCSRB' undeclared (first use in this function) ../eeprom.c:1881: error: 'USART_PARITY_EVEN' undeclared (first use in this function) ../eeprom.c:1883: error: 'USART_PARITY_ODD' undeclared (first use in this function) ../eeprom.c:1891: error: 'USART_UCSRC' undeclared (first use in this function) ../eeprom.c: In function 'usartFlush': ../eeprom.c:1898: error: 'usartstatus' undeclared (first use in this function) ../eeprom.c:1898: error: 'RX_STAT_OVR' undeclared (first use in this function) ../eeprom.c: At top level: ../eeprom.c:1902: warning: conflicting types for 'usartSend' ../eeprom.c:140: warning: previous implicit declaration of 'usartSend' was here ../eeprom.c:1921: warning: conflicting types for 'usartSendByte' ../eeprom.c:65: warning: previous implicit declaration of 'usartSendByte' was here ../eeprom.c: In function 'usartSendByte': ../eeprom.c:1924: error: 'usartstatus' undeclared (first use in this function) ../eeprom.c:1924: error: 'TX_FULL' undeclared (first use in this function) ../eeprom.c:1928: error: 'USART_TMASK' undeclared (first use in this function) ../eeprom.c:1931: error: 'TX_STAT_FULL' undeclared (first use in this function) ../eeprom.c:1933: error: 'USART_UCSRB' undeclared (first use in this function) ../eeprom.c:1933: error: 'USART_UDRIE' undeclared (first use in this function) ../eeprom.c: At top level: ../eeprom.c:1956: warning: conflicting types for 'usartSendString_P' ../eeprom.c:81: warning: previous implicit declaration of 'usartSendString_P' was here ../eeprom.c:1969: error: expected '=', ',', ';', 'asm' or '__attribute__' before '/' token ../eeprom.c:1969: error: stray '#' in program ../eeprom.c:2236:2: error: #endif without #if make: *** [eeprom.o] Error 1 Build failed with 210 errors and 43 warnings...
|  |