avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Symbol for target MCU within my C code


From: E. Weddington
Subject: Re: [avr-gcc-list] Symbol for target MCU within my C code
Date: Tue, 29 Oct 2002 13:44:48 -0700

On 29 Oct 2002 at 11:07, Larry Barello wrote:

> What symbol(s) are defined for the MCU type that are accessible to my
> code (e.g. #ifdef)  I know they are there, I have seen them somewhere
> before. This would be a good thing to add to the FAQ.
> 
> avr-gcc-list at http://avr1.org

It should be defined in the specific <ioXXXX.h> file.

For example, I use an ATmega128, and include iom128.h. At the top of 
the file, the symbol _AVR_IOM128_H_ is defined.

HTH,
Eric
avr-gcc-list at http://avr1.org



reply via email to

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