bootloader size too big with gcc 4.4 and standard Makefile configuration
Closed this issue · 1 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. run make in bootloaders/atmega644p with PROGRAM = ATmegaBOOT_644P and
MCU_TARGET = atmega644p, using gcc 4.4
2. upload the bootloader image to an Atmega 644p
What is the expected output? What do you see instead?
The bootloader should be succesfully uploaded. But it will not be
completed, because the image size is too big (2192 bytes for me).
What version of the product are you using? On what operating system?
Sanguino-0018r1_1_4.zip
running on Gentoo Linux
Please provide any additional information below.
The problem can be solved by switching from -O2 to -Os in the Makefile
(size is then 2006 bytes)
Original issue reported on code.google.com by walch.ma...@web.de
on 25 Apr 2010 at 7:53
GoogleCodeExporter commented
done in 0023r3
Original comment by sutt...@gmail.com
on 19 Feb 2012 at 10:29
- Changed state: Fixed