[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Location of symbol definition
From: |
James Hamilton |
Subject: |
Re: [avr-gcc-list] Location of symbol definition |
Date: |
Sun, 26 Jan 2014 06:57:15 -0500 |
That particular #define is one of many that is set by the compiler. That one is based on the architecture you selected in the "-mmcu" option to GCC.
In GCC, you can see all of the macros defined by using the "-dM -E" options. For example, this will show you everything the compiler is adding before it even looks at your source:
avr-gcc -mmcu=atmega168 -dM -E - < /dev/null
Hope this helps!
~James