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

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

RE: [avr-gcc-list] basic compiler issues for ATMEGA128


From: Jim Davis
Subject: RE: [avr-gcc-list] basic compiler issues for ATMEGA128
Date: Mon, 7 Feb 2005 13:33:46 -0800

Yes,  Im using WinAVR and the makefile that came with the package.

I can remove the pragmas, but how does gcc handle device specific I/O
mapping as required by the
Atmel part?  And yes, I'm gonna have a look at the manual...  sometime.

> >-----Original Message-----
> >From: E. Weddington [mailto:address@hidden
> >Sent: Monday, February 07, 2005 1:10 PM
> >To: Jim Davis
> >Cc: address@hidden
> >Subject: Re: [avr-gcc-list] basic compiler issues for ATMEGA128
> >
> >
> >Jim Davis wrote:
> >
> >>Anybody help a newcomer to this tool?
> >>
> >>I get the errors listed here when trying to compile source that
> >works fine
> >>with the imagecraft compiler
> >>I specified the atmega128 cpu but there are keywords the compiler is
> >>complaining about.  Im using the
> >>boilerplate makefile that came with winavr...
> >>
> >>
> >>#pragma used+
> >>sfrb PINF=0;
> >>sfrb PINE=1;
> >>...
> >>#pragma used-
> >>
> >>
> >>
> >>
> >Huh?
> >There are no such pragmas in the GCC compiler, much less it doesn't know
> >anything about "sfrb".
> >
> >Have you taken a look at the avr-libc user manual?
> >
> >Are you using WinAVR?
> >
> >Eric
> >


reply via email to

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