[Top][All Lists]

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

Re: [avr-libc-dev] [task #3693][task #4102] Add new devices: mega640-128

From: Björn Haase
Subject: Re: [avr-libc-dev] [task #3693][task #4102] Add new devices: mega640-1280-1281-2560-2561
Date: Tue, 6 Sep 2005 18:23:37 +0200
User-agent: KMail/1.7.1

Darcy Watkins wrote on Dienstag, 6. September 2005 16:56 :
> Hi,
> Just to let you know.  I have just soldered an ATmega2561 to plug into an
> old Kanda STK300 board so I'll be in a position to check out some 256x
> related changes to the tool set.
Unfortunately, I fear that unless you are having an Atmega128 compatibility 
switch somewhere in the ATmega256 you might run into severe problems because 
the return address of calls now happens to take 3 bytes. Gcc will, e.g. no 
longer be able to find the correct location of function parameters that have 
been passed on the stack. :-(.

Adding support for the > 128k devices is much more than just adding a new 
header file. It's re-writing a small but important fraction of the compiler.



reply via email to

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