> -----Original Message----- > From: > avr-libc-dev-bounces+eric.weddington=atmel....@nongnu.org > [mailto:avr-libc-dev-bounces+eric.weddington=atmel....@nongnu. > org] On Behalf Of Frédéric Nadeau > Sent: Tuesday, April 14, 2009 9:11 AM > To: avr-libc-dev@nongnu.org > Subject: Re: [avr-libc-dev] Re: [bug #25300] Additional i/o port names > > Hi there, > > I'm running on an issue with at least ATtiny261 witch have > configurable pin. It appears that: DI, SDA, DO, USCK, SCL can be > configure on port A or B with a register. I might have missinterpret > the datasheet though.
You are correct. There is a register setting to change which pin does which function. > Any idea to work with that? My suggestion is to leave out those definitions completely. If they are settable by the user, then we cannot make a hard-coded definition for that pin function. The user can define it themselves. This is another reason to have a check for duplicate definitions as it may catch cases like this. _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev