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.

Yours,

Bjoern.


_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to