> -----Original Message-----
> From: 
> [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]
> org] On Behalf Of Ivan Shmakov
> Sent: Thursday, January 03, 2008 9:36 AM
> To: avr-libc-dev@nongnu.org
> Cc: Ivan Shmakov
> Subject: [avr-libc-dev] SPMEN vs SELFPRGEN
> 
> >>>>> Ivan Shmakov <[EMAIL PROTECTED]> writes:
> 
> [...]
> 
>  > BTW, since SPMEN seems to be frequent alias to SELFPRGEN, 
> why not to
>  > define one of them in a common file (`io.h'?) instead of defining
>  > both in each of the part-specific headers (where 
> applicable)?  E. g.:

In the future, the IO header files will be generated from the XML part
files from Atmel, requiring a 1-to-1 relationship of XML->IO header
file. It would be difficult to do this if common definitions are put in
separate files.
 

>       Since `SPMEN' seems to be used more widely in the AVR Libc
>       includes as the name for the bit, I suggest replacing
>       `SELFPRGEN' with `SPMEN' in the macro definitions in the
>       individual io*.h files, like the following.  (Though it could
>       easily done the other way around.)
> 

Our policy is to provide definitions that are found in the XML part
description files provided by Atmel.

Eric Weddington


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to