[En-Nut-Discussion] RE: Using upper 64k of flash

Lars Haack lars.haack at gmx.de
Wed Dec 4 22:31:27 CET 2002


Hi,

here are the changes I had to make in the linkerscript avr3.x to let my
programs larger 64kb work.
I hope it helps others as well

Lars


7d6
<   text2  (rx)   : ORIGIN = 0x1000, LENGTH = 124K       /* new segment,
adjust start/size according to size of .progmem */
93,94d91
<
< /* moved to new section text2
98d94
< */
139,148d134
<
< /* new segment */
<   .text2 :
<   {
<     *(.text)
<     . = ALIGN(2);
<     *(.text.*)
<     . = ALIGN(2);
<   }  > text2
<




More information about the En-Nut-Discussion mailing list