Hi Frédéric, I think we'll need your help to get it in. I don't have the time at the moment to look into it. :-/
Eric > -----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: Wednesday, October 24, 2012 9:40 AM > To: avr-libc-dev@nongnu.org > Subject: Re: [avr-libc-dev] [bug #37627] #define PA0_DDR DDRADC without > ever defining DDRADC > > Did the Device Pin Definitions made it into avr-libc yet? > > It kinda look like what I did a while ago. > > http://svn.savannah.nongnu.org/viewvc/trunk/avr- > libc/include/avr/iotn261a.h?revision=2063&root=avr-libc&view=markup > https://code.google.com/p/avr- > drv/source/browse/trunk/src/io_pin/iotn261a_pin.h > > Eric Weddington: Would you like to integrate part of my project into > avr-libc so that device pin definition would be available for most > devices? If so, let me know I'll be willing to help. > > On Wed, Oct 24, 2012 at 11:13 AM, anonymous <invalid.nore...@gnu.org> > wrote: > > URL: > > <http://savannah.nongnu.org/bugs/?37627> > > > > Summary: #define PA0_DDR DDRADC without ever defining > > DDRADC > > Project: AVR C Runtime Library > > Submitted by: None > > Submitted on: Wed 24 Oct 2012 03:13:11 PM UTC > > Category: Header > > Severity: 3 - Normal > > Priority: 5 - Normal > > Item Group: Header files > > Status: None > > Percent Complete: 0% > > Assigned to: None > > Originator Email: samwise.gam...@gmx.net > > Open/Closed: Open > > Discussion Lock: Any > > Release: 1.8.0 > > Fixed Release: None > > > > _______________________________________________________ > > > > Details: > > > > A number of header files contains macros definitions like: > > #define PA0_DDR DDRADC > > #define PA0_PORT PORTADC > > #define PA0_PIN PINADC > > #define PA0_BIT ADC0 > > or > > #define PCINT1_DDR DDRADC > > #define PCINT1_PORT PORTADC > > #define PCINT1_PIN PINADC > > #define PCINT1_BIT ADC1 > > > > without ever defining DDRADC, PORTADC, ADC0... > > > > I assume these lines were supposed to read: > > #define PA0_DDR DDRA > > #define PA0_PORT PORTA > > #define PA0_PIN PINA > > #define PA0_BIT 0 > > ?? > > > > This applies to all device pin definitions in: > > avr/iotn861a.h > > avr/iom88pa.h > > avr/iotn20.h > > avr/iotn461a.h > > avr/iotn40.h > > avr/iotn261a.h > > > > > > > > > > > > _______________________________________________________ > > > > Reply to this item at: > > > > <http://savannah.nongnu.org/bugs/?37627> > > > > _______________________________________________ > > Message sent via/by Savannah > > http://savannah.nongnu.org/ > > > > > > _______________________________________________ > > AVR-libc-dev mailing list > > AVR-libc-dev@nongnu.org > > https://lists.nongnu.org/mailman/listinfo/avr-libc-dev > > _______________________________________________ > AVR-libc-dev mailing list > AVR-libc-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/avr-libc-dev _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev