From: SourceForge.net <no...@so...> - 2007-03-19 16:10:25
|
Bugs item #1671641, was opened at 2007-03-01 04:35 Message generated for change (Comment added) made by arcanum You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=520074&aid=1671641&group_id=68108 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Eric Weddington (arcanum) Summary: Error on compiling if no .eep file is generated Initial Comment: Hello, with the new version of WinAVR (220107), if EEPROM is not used, avr-objcopy generates an error: avr-objcopy: --change-section-vma .eeprom+0xff7f0000 never used avr-objcopy: --change-section-lma .eeprom+0xff7f0000 never used avr-objcopy: --change-section-vma .noinit+0xff800000 never used avr-objcopy: --change-section-lma .noinit+0xff800000 never used avr-objcopy -O binary -R .eeprom mainfile.elf mainfile.bin avr-objcopy -O ihex -R .eeprom mainfile.elf mainfile.hex avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex mainfile.elf mainfile.eep c:\Programmi\WinAVR\bin\avr-objcopy.exe: there are no sections to be copied! c:\Programmi\WinAVR\bin\avr-objcopy.exe: --change-section-lma .eeprom=0x00000000 never used make.exe: *** [mainfile.eep] Error 1 While with the previous version this didn't happen. avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex mainfile.elf mainfile.eep [No errors] Is this correct? Thank you, F. Iacopetti f_i...@li... ---------------------------------------------------------------------- >Comment By: Eric Weddington (arcanum) Date: 2007-03-19 10:09 Message: Logged In: YES user_id=543419 Originator: NO The WinAVR Makefile Template has been updated in WinAVR 20070122 to work around this. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=520074&aid=1671641&group_id=68108 |