avr-libc-dev
[Top][All Lists]
Advanced

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

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


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 22:55:46 +0200
User-agent: KMail/1.7.1

If you know how to build the compiler, we could try a quick hack that will 
make it possible for you to use at least the lower 128k. There is one place 
where to adjust the increment on the stack due to the return address :-).

Yours,

Bjoern.


Mark E. Scott Jr. wrote on Dienstag, 6. September 2005 22:43 :
> I wished I were in a position (in terms of proper knowledge) of how to do
> that rewrite.  Could definitely use it :)
>
> Mark E. Scott, Jr.
> address@hidden
> AWS, Inc.
> 512-478-7727 x 122
>
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On Behalf Of Björn
> Haase Sent: Tuesday, September 06, 2005 11:24 AM
> To: address@hidden
> Subject: Re: [avr-libc-dev] [task #3693][task #4102] Add new
> devices:mega640-1280-1281-2560-2561
>
> 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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
>
>
> _______________________________________________
> AVR-libc-dev mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-libc-dev




reply via email to

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