WinAVR-20070122 - попробовал
Build started 25.1.2007 at 16:41:13
avr-gcc.exe -mmcu=atmega8 -Wall -gdwarf-2 -DF_CPU=8000000UL -O0 -funsigned-char -funsigned-bitfields -fshort-enums -MD -MP -MT swistg.o -MF dep/swistg.o.d -c ../swistg.c
avr-gcc.exe -mmcu=atmega8 swistg.o -o swistg.elf
avr-objcopy -O ihex -R .eeprom swistg.elf swistg.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex swistg.elf swistg.eep
c:\WinAVR\bin\avr-objcopy.exe: there are no sections to be copied!
c:\WinAVR\bin\avr-objcopy.exe: --change-section-lma .eeprom=0x00000000 never used
make: *** [swistg.eep] Error 1
^^^^^^^^^^^^^^^^^^^^^^ !
Build succeeded with 0 Warnings...
с WinAVR-2006+498 все было Ok
если добавить пустышку
uint8_t ee __attribute__((section(".eeprom")));
ошибки нет. К чему бы это? обязательно надо указать .eeprom?