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

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

Re: [avr-libc-dev] patch for iom162.h - signal name consistency


From: Theodore A. Roth
Subject: Re: [avr-libc-dev] patch for iom162.h - signal name consistency
Date: Wed, 25 Feb 2004 22:36:43 -0800 (PST)

On Tue, 17 Feb 2004, Artur Lipowski wrote:

> Hi,
> 
> This is (iom162_h_p1.patch) my proposal to make m162 USART signal names 
> consistent with rest of the world.
> 
> The second patch (iom162_h_p1.patch) prohibits compilation of code with 
> old signal names.

I don't think these will go in.

I had tried to do this a while back and met some resistance so I dropped it:

  http://mail.gnu.org/archive/html/avr-libc-dev/2002-12/msg00074.html

If the data sheets says USART, the rule has been that the io*.h file should 
say that too.

In my opion, I agree with you and would rather see all the SIG_* names be 
more consistent across all devices. Since the signal names already have 
differences from those given in the datasheets, it's already unlikely that a 
user can infer a signal from the interrupt vector tables in the datasheets 
and since we can't have the compiler check for an incorrect name, the user 
is likely to end up with a broken program.

Ted Roth





reply via email to

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