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

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

Re: [avr-gcc-list] sfr-defs.h


From: E. Weddington
Subject: Re: [avr-gcc-list] sfr-defs.h
Date: Tue, 17 Sep 2002 10:24:14 -0600

On 17 Sep 2002 at 7:36, Larry Barello wrote:

> how would I go about viewing the latest CVS version of  "sfr-defs.h"
> to see if a problem has been corrected?
> 
> Specifically, in 3.2 (avrfreaks) the definition of VECTOR is
> inappropriately placed in a C only section.  It should be defined for
> both C and assembly as writers of assembly only interrupt handlers
> need to use it.  The definition of "BV" is also misplaced in the same
> way.
> 
> avr-gcc-list at http://avr1.org

You can view the latest CVS through a web interface. Here's the 
avrlibc project on savannah:
http://nongnu.org/projects/avr-libc/
Look under CVS Repository and click on Browse CVS (Sources).
sfr_defs.h is specifically:
http://savannah.gnu.org/cgi-bin/viewcvs/avr-libc/avr-
libc/include/avr/sfr_defs.h

However: AFAIK, VECTOR has changed to _VECTOR and both _VECTOR and 
_BV are defined for C language only.

I would ask, though,  why you need to write an ISR completely in 
assembly. You can write a C function shell and write code with inline-
assembly:
http://nongnu.org/download/avr-libc/doc/avr-libc-user-manual/
Click on Related Page / Inline Asm in the TOC to the left.

HTH,
Eric
avr-gcc-list at http://avr1.org



reply via email to

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