SKcoch / optiboot

Automatically exported from code.google.com/p/optiboot
0 stars 0 forks source link

fails to build for atmega88 #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attempt to build optiboot for atmega88 with "make atmega88"
2.
3.

What is the expected output? What do you see instead?

It should build without errors.  Instead, you see:
d:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/bin/ld.exe: address
0x3ffa of optiboot_atmega88.elf section .text is not within region text
d:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/bin/ld.exe: address
0x3ffa of optiboot_atmega88.elf section .text is not within region text
make: *** [optiboot_atmega88.elf] Error 1

What version of the product are you using? On what operating system?

Please provide any additional information below.
The atmega88 targets are missing the (re)definition of the LDSECTION that 
locates the bootloader at the end of the 8k flash, rather than the end of the 
16k flash that is the default (for mega168):

atmega88: LDSECTION  = --section-start=.text=0x1e00 

Original issue reported on code.google.com by wes...@gmail.com on 19 Apr 2011 at 5:49

GoogleCodeExporter commented 9 years ago

Original comment by wes...@gmail.com on 29 Oct 2011 at 5:27

GoogleCodeExporter commented 9 years ago
Fixed as part of the great optiboot/Arduino sync-up
http://code.google.com/p/optiboot/source/detail?r=8559b64fd093d3976cae58778a1540
256cde5c8e

Original comment by wes...@gmail.com on 30 Oct 2011 at 8:19