2005-01-13 Joerg Wunsch * include/avr/eeprom.h: Document all devices that are not supported by the library routines; add a #warning as well. Index: include/avr/eeprom.h =================================================================== RCS file: /cvsroot/avr-libc/avr-libc/include/avr/eeprom.h,v retrieving revision 1.11 diff -u -u -r1.11 eeprom.h --- include/avr/eeprom.h 1 Nov 2004 21:19:54 -0000 1.11 +++ include/avr/eeprom.h 13 Jan 2005 10:48:37 -0000 @@ -63,11 +63,30 @@ should first poll the EEPROM e. g. using eeprom_is_ready() before attempting any actual I/O. - \note This library will \e not work with the ATmega169 since this - device has the EEPROM IO ports at different locations! + \note This library will \e not work with the following devices since these + devices have the EEPROM IO ports at different locations: + + - AT90CAN128 + - ATmega48 + - ATmega88 + - ATmega165 + - ATmega168 + - ATmega169 + - ATmega325 + - ATmega3250 + - ATmega645 + - ATmega6450 */ +#if defined(__AVR_AT90CAN128__) || defined(__AVR_ATmega48__) ||\ + defined(__AVR_ATmega88__) || defined(__AVR_ATmega165__) ||\ + defined(__AVR_ATmega168__) || defined(__AVR_ATmega169__) ||\ + defined(__AVR_ATmega325__) || defined(__AVR_ATmega3250__) ||\ + defined(__AVR_ATmega645__) || defined(__AVR_ATmega6450__) +# warning "The functions from are not supported on this MCU." +#endif + /** \name avr-libc declarations */ /address@hidden/