avr-libc-dev
[Top][All Lists]
Advanced

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

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


From: Colin O'Flynn
Subject: Re: [avr-libc-dev] SIGNAL / INTERRUPT checking
Date: Fri, 27 Feb 2004 13:14:37 +0000
User-agent: KMail/1.5.3

Hi,

> sigcheck: $(TARGET).elf
>       nm $(TARGET).elf | grep SIG_ >/dev/null && \
>       echo "Warning: it is likely that there are misspelled SIG_* names"

Sounds good for a quick solution, but I wanted to do a AWK/GAWK solution I 
think so that

(1) Could detect misspelled SIG_ part in addition to wrong signal name
(2) Could give more useful information, like:

*NOTE: No SIG_DEFAULT (sorry I don't remember off-hand what the real default 
name is) defined, any interrupts that occur for which there are no interrupt 
handlers declared will result in a default behaviour of a reset
*WARNING: You have used SIGNAL(SIG_FOOFAKE) on line 23 or main.c, but that 
signal does not exist on your selected microcontroller. 

Just some thoughts ;-)

Regards,

  -Colin





reply via email to

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