[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: |
Theodore A. Roth |
Subject: |
Re: [avr-gcc-list] Migration from AVR GCC to WinAVR or new Linux avr-gcc |
Date: |
Mon, 15 Sep 2003 10:54:17 -0700 (PDT) |
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);
to
port = val;
instead of continuing to use the deprecated interfaces.
Ted Roth
- [avr-gcc-list] Migration from AVR GCC to WinAVR or new Linux avr-gcc, Goran Pufler, 2003/09/15
- Re: [avr-gcc-list] Migration from AVR GCC to WinAVR or new Linux avr-gcc,
Theodore A. Roth <=
- Re: [avr-gcc-list] Migration from AVR GCC to WinAVR or new Linux avr-gcc, Joerg Wunsch, 2003/09/15
- Re: [avr-gcc-list] Migration from AVR GCC to WinAVR or new Linux avr-gcc, Goran Pufler, 2003/09/15
- Re: [avr-gcc-list] Migration from AVR GCC to WinAVR or new Linux avr-gcc, Brian Dean, 2003/09/15
- Re: [avr-gcc-list] Migration from AVR GCC to WinAVR or new Linux avr-gcc, Goran Pufler, 2003/09/16
- Re: [avr-gcc-list] Migration from AVR GCC to WinAVR or new Linux avr-gcc, Julius Luukko, 2003/09/16
- Re: [avr-gcc-list] Migration from AVR GCC to WinAVR or new Linux avr-gcc, Jamie Lawson, 2003/09/16
- Re: [avr-gcc-list] Migration from AVR GCC to WinAVR or new Linux avr-gcc, Theodore A. Roth, 2003/09/16
- Re: [avr-gcc-list] Migration from AVR GCC to WinAVR or new Linux avr-gcc, Goran Pufler, 2003/09/17
Re: [avr-gcc-list] Migration from AVR GCC to WinAVR or new Linux avr-gcc, Goran Pufler, 2003/09/15