[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Boot loaders

From: Larry Barello
Subject: Re: [avr-gcc-list] Boot loaders
Date: Sun, 8 Jun 2003 22:15:42 -0700

Yeah, I forgot about the linker script modification.  Yuk.  I wish there was a 
straightforward way to do this than hacking the system scripts.  Now to dig 
around the
archives and find that email detailing how to do this.

Thanks for the reminder.

I reviewed what I am trying to do and I think keeping the vector tables where 
default to makes sense.  My boot code won't use interrupts - just hard loops & 
for data.  If I change my mind, it is easy enough to put in a partial vector 
table at
the beginning of my boot code.

----- Original Message ----- 
From: "Tyler Hall" <address@hidden>
To: "Larry Barello" <address@hidden>; "AVR GCC List" <address@hidden>
Sent: Sunday, June 08, 2003 7:42 PM
Subject: Re: [avr-gcc-list] Boot loaders

> Larry,
> You have to modify the linker script and add your new
> section name to the list of sections that go into the
> "code" memory space.
> The default linker script describes a lot of object
> sections and what target sections they go in, but your
> new one isn't described. The linker will happily
> relocate the bootloader section, but since you didn't
> tell it to _also_ toss it into .text it will get
> thrown away.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]