Компилятор AVR GCC, контроллер ATxmega256a3. при подключении заголовочного файла <avr/eeprom.h> компилятор выдает следующие ошибки:
Код
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:141:4: error: #error "Unknown EEPROM register(s) location."
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:197:1: error: invalid suffix "x__EEPROM_REG_LOCATIONS__" on integer constant
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:201:1: error: invalid suffix "x__EEPROM_REG_LOCATIONS__" on integer constant
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:215:1: error: invalid suffix "x__EEPROM_REG_LOCATIONS__" on integer constant
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:217:1: error: invalid suffix "x__EEPROM_REG_LOCATIONS__" on integer constant
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:300:1: error: invalid suffix "x__EEPROM_REG_LOCATIONS__" on integer constant
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:311:1: error: invalid suffix "x__EEPROM_REG_LOCATIONS__" on integer constant
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:313:1: error: invalid suffix "x__EEPROM_REG_LOCATIONS__" on integer constant
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:324:1: error: invalid suffix "x__EEPROM_REG_LOCATIONS__" on integer constant
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h: In function 'uint8_t eeprom_read_byte(const uint8_t*)':
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:197: error: 'EEWE' was not declared in this scope
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:216: error: 'EERE' was not declared in this scope
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h: In function 'void eeprom_write_byte(uint8_t*, uint8_t)':
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:300: error: 'EEWE' was not declared in this scope
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:326: error: 'EEMWE' was not declared in this scope
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:197:1: error: invalid suffix "x__EEPROM_REG_LOCATIONS__" on integer constant
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:201:1: error: invalid suffix "x__EEPROM_REG_LOCATIONS__" on integer constant
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:215:1: error: invalid suffix "x__EEPROM_REG_LOCATIONS__" on integer constant
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:217:1: error: invalid suffix "x__EEPROM_REG_LOCATIONS__" on integer constant
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:300:1: error: invalid suffix "x__EEPROM_REG_LOCATIONS__" on integer constant
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:311:1: error: invalid suffix "x__EEPROM_REG_LOCATIONS__" on integer constant
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:313:1: error: invalid suffix "x__EEPROM_REG_LOCATIONS__" on integer constant
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:324:1: error: invalid suffix "x__EEPROM_REG_LOCATIONS__" on integer constant
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h: In function 'uint8_t eeprom_read_byte(const uint8_t*)':
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:197: error: 'EEWE' was not declared in this scope
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:216: error: 'EERE' was not declared in this scope
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h: In function 'void eeprom_write_byte(uint8_t*, uint8_t)':
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:300: error: 'EEWE' was not declared in this scope
d:/winavr/lib/gcc/../../avr/include/avr/eeprom.h:326: error: 'EEMWE' was not declared in this scope
понятно что надо что то указать (предположительно адреса), но вот что и куда не понятно...