Hi

Is this the same problem as this:
https://savannah.nongnu.org/bugs/index.php?30552

Frédéric Nadeau ing. jr

On Tue, Sep 21, 2010 at 5:40 AM, Boyapati, Anitha
<anitha.boyap...@atmel.com> wrote:
>
> Hi,
>
> Many header files use __ASSEMBLER__ (predefined macro automatically set by 
> gcc front end when processing assembly files) to protect some macros. As far 
> as I notice, ADC is mostly protected. For e.g., the change introduced in the 
> below link does that.
> http://svn.savannah.nongnu.org/viewvc/trunk/avr-libc/include/avr/iom8.h?root=avr-libc&r1=274&r2=280
>
> #ifndef __ASSEMBLER__
>        #define ADC _SFR_MEM16(...)
> #endif
>
> Can someone explain why this is intended only for ADC and that too only for 
> some devices? (For e.g., iom32u4.h doesn't have)
>
> Thanks
> Anitha
>
>
> _______________________________________________
> AVR-libc-dev mailing list
> AVR-libc-dev@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
>

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

Reply via email to