[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Running code on ATmega2561
From: |
Uwe Fechner |
Subject: |
Re: [avr-gcc-list] Running code on ATmega2561 |
Date: |
Mon, 22 May 2006 01:02:44 +0200 |
User-agent: |
Mail/News 1.5 (X11/20060311) |
Khusro wrote:
> Hello,
>
> This may be a very silly question but here goes anyway. If my code image is
> less than 128KBytes, then can I run a build for the ATmega1281 on the
> ATmega2561 ?
>
>
No, this won't work, because ATmega2561 pushes three bytes on the stack
for each function call.
But there is a (not so clean) toolchain for this job available.
Look into the AVR-GCC forum at www.avrfreak.org.
(About 2 months ago.)
Regards:
Uwe Fechner
> Thanks
> Khusro
> --
> View this message in context:
> http://www.nabble.com/Running+code+on+ATmega2561-t1657499.html#a4490317
> Sent from the AVR - gcc forum at Nabble.com.
>
>
>
> _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
>