Hi, you could solve your problem by using -Wl,--relax . The linker first starts
with worst-case assumptions that imply that it needs a trampoline for any
function.
The linker thus reserves the space for all possibly needed trampolines and
starts the application code behind the trampolines. If
Hi...
I'm a student working with ATMEGA 8, 16 and 32, making autonomous robots for
college contests and projects. I'm looking for a bootloader that will search
for an SD/MMC card, find a hex file on it and program itself. This will make it
quite easy to make hassle-free code changes or
Hi Björn,
From your description, it sounds like -Wl,--relax should be used all the
time. Is there ever a case where it should *not* be used? Can it be used for
all architectures (avr2, avr3,...)?
If it can be used all the time, then I can add it to the Makefile Template
that gets distributed
-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
org] On Behalf Of Erik Christiansen
Sent: Wednesday, March 21, 2007 2:42 AM
To: Joerg Wunsch
Cc: avr-gcc-list@nongnu.org
Subject: Re: [avr-gcc-list] ATmega256x trampolines? (Was: Why
is there 1200bytes of
Hi!
It's a good idea and normaly quite easy. The main problem will be to crush a
FAT files system into the 4kByte Bootloader Section of the AVR ATMEGA.
Best Reegards,
Thomas
- Original Message -
From: Abhijit Kshirsagar [EMAIL PROTECTED]
To: avr-gcc-list@nongnu.org
Date: Wed, 21 Mar
Hello Abhijit,
I'm a student working with ATMEGA 8, 16 and 32, making autonomous robots for
college contests and projects. I'm looking for a bootloader that will search
for an SD/MMC card, find a hex file on it and program itself. This will make it
quite easy to make hassle-free code changes
TTTechsDomino sez,
It's a good idea and normaly quite easy. The main problem will be
to crush a FAT files system into the 4kByte Bootloader Section of
the AVR ATMEGA.
And actually only the code that writes to flash needs to be in the
boot section. The code that reads fat can exist in it's