avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Migration from AVR GCC to WinAVR or new Linux avr-gcc


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Migration from AVR GCC to WinAVR or new Linux avr-gcc
Date: Mon, 15 Sep 2003 19:52:21 +0200 (MET DST)

As "Theodore A. Roth" <address@hidden> wrote:

>If your code is using outb() or outw(), note that the argument order
>has changed (Documented in the NEWS file). It's best to just change
>
>  outb (val, port);
>
>to
>
>  port = val;
>
>instead of continuing to use the deprecated interfaces.

Also, don't forget to use the appropriate -mmcu=xxx option not only on
the command-line used for the actual compilation but also for the
linking step, otherwise the wrong interrupt vector table and stack
pointer initialization will be linked.
-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/


reply via email to

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