[Top][All Lists]

[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: Goran Pufler
Subject: Re: [avr-gcc-list] Migration from AVR GCC to WinAVR or new Linux avr-gcc
Date: Mon, 15 Sep 2003 11:26:58 -0700 (PDT)

No, I use outp(), ok I know that this is an depricated function, but I don't 
think that this should be a problem, or maybe ?

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

On Mon, 15 Sep 2003, Goran Pufler wrote:

> Hi guys,
> I'am sorry for bothering you again, but I have some problems, while
> transfering existing projects from old AVR GCC to the new WinAVR
> 20030913 or the new version for Linux (20030805).
> I took the code from AVR GCC and without any changes try to compile
> this with new avr-gcc.
> OK, I receive few warnings (io.h -> avr/io.h, ...) and when I change
> this compilation complete without any warnings or errors, but whe I
> programm device - nothing - it's not working ?? :-((

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);


port = val;

instead of continuing to use the deprecated interfaces.

Ted Roth

Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

reply via email to

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