[Top][All Lists]

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

Re: [avr-libc-dev] SIGNAL / INTERRUPT checking

From: E. Weddington
Subject: Re: [avr-libc-dev] SIGNAL / INTERRUPT checking
Date: Thu, 26 Feb 2004 16:09:47 -0700

On 26 Feb 2004 at 18:00, Colin O'Flynn wrote:

> Hello,
> Would there be any interest in a program to check for legal SIGNAL / INTERRUPT
> names?
> Since as I understand this is impossible to do (easily) from inside avr-gcc, 
> it
> would just be an external program that scans the input files for
> SIGNAL()/INTERRUPT(), then checks what the SIG_ name is. Then it compares it 
> to
> SIG_ names found in the header file for the AVR. If there is a mismatch, it
> generates an error.
> The program could be integrated into the makefile perhaps or something and
> called before avr-gcc is called.

I think this would be great! My only request is that it be cross-platform.

I could easily see this being a simple awk (gawk) script. Which will work in 
WinAVR as it ships with gawk in it's \utils\bin directory.

reply via email to

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