26
26
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27
27
POSSIBILITY OF SUCH DAMAGE. */
29
/* $Id: using-tools.dox,v 1.39.2.30 2009/12/03 18:38:59 arcanum Exp $ */
29
/* $Id: using-tools.dox 2211 2011-02-14 14:04:25Z aboyapati $ */
31
31
/** \page using_tools Using the GNU tools
102
102
__AVR_ARCH__=31<BR>
104
__AVR_HAVE_RAMPZ__[4]<BR>
105
__AVR_HAVE_ELPM__[4]<BR>
103
__AVR_MEGA__ [5]<BR>
104
__AVR_HAVE_JMP_CALL__ [4]<BR>
105
__AVR_HAVE_RAMPZ__ [4]<BR>
106
__AVR_HAVE_ELPM__ [4]<BR>
106
107
__AVR_2_BYTE_PC__ [2]
108
<td>"Classic" CPU core, 128 KB of ROM</td> </tr>
109
<td>"Classic" CPU core, 128 KB of ROM</td>
110
112
<td>avr35 [3]</td>
150
152
__AVR_ARCH__=51<BR>
153
__AVR_MEGA__ [5]<BR>
154
__AVR_ENHANCED__ [5]<BR>
155
__AVR_HAVE_JMP_CALL__ [4]<BR>
153
156
__AVR_HAVE_MOVW__ [1]<BR>
154
157
__AVR_HAVE_LPMX__ [1]<BR>
155
158
__AVR_HAVE_MUL__ [1]<BR>
156
__AVR_HAVE_RAMPZ__[4]<BR>
157
__AVR_HAVE_ELPM__[4]<BR>
158
__AVR_HAVE_ELPMX__[4]<BR>
159
__AVR_HAVE_RAMPZ__ [4]<BR>
160
__AVR_HAVE_ELPM__ [4]<BR>
161
__AVR_HAVE_ELPMX__ [4]<BR>
159
162
__AVR_2_BYTE_PC__ [2]
161
164
<td>"Enhanced" CPU core, 128 KB of ROM</td>
170
173
__AVR_HAVE_MOVW__ [1]<BR>
171
174
__AVR_HAVE_LPMX__ [1]<BR>
172
175
__AVR_HAVE_MUL__ [1]<BR>
173
__AVR_HAVE_RAMPZ__[4]<BR>
174
__AVR_HAVE_ELPM__[4]<BR>
175
__AVR_HAVE_ELPMX__[4]<BR>
176
__AVR_HAVE_RAMPZ__ [4]<BR>
177
__AVR_HAVE_ELPM__ [4]<BR>
178
__AVR_HAVE_ELPMX__ [4]<BR>
176
179
__AVR_3_BYTE_PC__ [2]
178
181
<td>"Enhanced" CPU core, 256 KB of ROM</td>
246
249
<tr><td>avr2/avr25 [1]</td><td>attiny461a</td><td>__AVR_ATtiny461A__</td></tr>
247
250
<tr><td>avr2/avr25 [1]</td><td>attiny48</td><td>__AVR_ATtiny48__</td></tr>
248
251
<tr><td>avr2/avr25 [1]</td><td>attiny84</td><td>__AVR_ATtiny84__</td></tr>
252
<tr><td>avr2/avr25 [1]</td><td>attiny84a</td><td>__AVR_ATtiny84A__</td></tr>
249
253
<tr><td>avr2/avr25 [1]</td><td>attiny85</td><td>__AVR_ATtiny85__</td></tr>
250
254
<tr><td>avr2/avr25 [1]</td><td>attiny861</td><td>__AVR_ATtiny861__</td></tr>
251
255
<tr><td>avr2/avr25 [1]</td><td>attiny861a</td><td>__AVR_ATtiny861A__</td></tr>
312
316
<tr><td>avr5</td><td>atmega16hva</td><td>__AVR_ATmega16HVA__</td></tr>
313
317
<tr><td>avr5</td><td>atmega16hva2</td><td>__AVR_ATmega16HVA2__</td></tr>
314
318
<tr><td>avr5</td><td>atmega16hvb</td><td>__AVR_ATmega16HVB__</td></tr>
319
<tr><td>avr5</td><td>atmega16hvbrevb</td><td>__AVR_ATmega16HVBREVB__</td></tr>
315
320
<tr><td>avr5</td><td>atmega16m1</td><td>__AVR_ATmega16M1__</td></tr>
316
321
<tr><td>avr5</td><td>atmega16u4</td><td>__AVR_ATmega16U4__</td></tr>
317
322
<tr><td>avr5</td><td>atmega32</td><td>__AVR_ATmega32__</td></tr>
320
325
<tr><td>avr5</td><td>atmega324p</td><td>__AVR_ATmega324P__</td></tr>
321
326
<tr><td>avr5</td><td>atmega324pa</td><td>__AVR_ATmega324PA__</td></tr>
322
327
<tr><td>avr5</td><td>atmega325</td><td>__AVR_ATmega325__</td></tr>
328
<tr><td>avr5</td><td>atmega325a</td><td>__AVR_ATmega325A__</td></tr>
323
329
<tr><td>avr5</td><td>atmega325p</td><td>__AVR_ATmega325P__</td></tr>
324
330
<tr><td>avr5</td><td>atmega3250</td><td>__AVR_ATmega3250__</td></tr>
331
<tr><td>avr5</td><td>atmega3250a</td><td>__AVR_ATmega3250A__</td></tr>
325
332
<tr><td>avr5</td><td>atmega3250p</td><td>__AVR_ATmega3250P__</td></tr>
326
333
<tr><td>avr5</td><td>atmega328</td><td>__AVR_ATmega328__</td></tr>
327
334
<tr><td>avr5</td><td>atmega328p</td><td>__AVR_ATmega328P__</td></tr>
328
335
<tr><td>avr5</td><td>atmega329</td><td>__AVR_ATmega329__</td></tr>
336
<tr><td>avr5</td><td>atmega329a</td><td>__AVR_ATmega329A__</td></tr>
329
337
<tr><td>avr5</td><td>atmega329p</td><td>__AVR_ATmega329P__</td></tr>
330
338
<tr><td>avr5</td><td>atmega329pa</td><td>__AVR_ATmega329PA__</td></tr>
331
339
<tr><td>avr5</td><td>atmega3290</td><td>__AVR_ATmega3290__</td></tr>
340
<tr><td>avr5</td><td>atmega3290a</td><td>__AVR_ATmega3290A__</td></tr>
332
341
<tr><td>avr5</td><td>atmega3290p</td><td>__AVR_ATmega3290P__</td></tr>
333
342
<tr><td>avr5</td><td>atmega32c1</td><td>__AVR_ATmega32C1__</td></tr>
334
343
<tr><td>avr5</td><td>atmega32hvb</td><td>__AVR_ATmega32HVB__</td></tr>
344
<tr><td>avr5</td><td>atmega32hvbrevb</td><td>__AVR_ATmega32HVBREVB__</td></tr>
335
345
<tr><td>avr5</td><td>atmega32m1</td><td>__AVR_ATmega32M1__</td></tr>
336
346
<tr><td>avr5</td><td>atmega32u4</td><td>__AVR_ATmega32U4__</td></tr>
337
347
<tr><td>avr5</td><td>atmega32u6</td><td>__AVR_ATmega32U6__</td></tr>
357
367
<tr><td>avr5</td><td>atmega64c1</td><td>__AVR_ATmega64C1__</td></tr>
358
368
<tr><td>avr5</td><td>atmega64hve</td><td>__AVR_ATmega64HVE__</td></tr>
359
369
<tr><td>avr5</td><td>atmega64m1</td><td>__AVR_ATmega64M1__</td></tr>
370
<tr><td>avr5</td><td>m3000</td><td>__AVR_M3000__</td></tr>
361
372
<tr><td>avr5/avr51 [3]</td><td>at90can128</td><td>__AVR_AT90CAN128__</td></tr>
362
373
<tr><td>avr5/avr51 [3]</td><td>at90usb1286</td><td>__AVR_AT90USB1286__</td></tr>
372
383
<tr><td>avrxmega2</td><td>atxmega16a4</td><td>__AVR_ATxmega16A4__</td></tr>
373
384
<tr><td>avrxmega2</td><td>atxmega16d4</td><td>__AVR_ATxmega16D4__</td></tr>
385
<tr><td>avrxmega2</td><td>atxmega32a4</td><td>__AVR_ATxmega32A4__</td></tr>
374
386
<tr><td>avrxmega2</td><td>atxmega32d4</td><td>__AVR_ATxmega32D4__</td></tr>
376
<tr><td>avrxmega3</td><td>atxmega32a4</td><td>__AVR_ATxmega32A4__</td></tr>
378
388
<tr><td>avrxmega4</td><td>atxmega64a3</td><td>__AVR_ATxmega64A3__</td></tr>
379
389
<tr><td>avrxmega4</td><td>atxmega64d3</td><td>__AVR_ATxmega64D3__</td></tr>
381
391
<tr><td>avrxmega5</td><td>atxmega64a1</td><td>__AVR_ATxmega64A1__</td></tr>
392
<tr><td>avrxmega5</td><td>atxmega64a1u</td><td>__AVR_ATxmega64A1U__</td></tr>
383
394
<tr><td>avrxmega6</td><td>atxmega128a3</td><td>__AVR_ATxmega128A3__</td></tr>
384
395
<tr><td>avrxmega6</td><td>atxmega128d3</td><td>__AVR_ATxmega128D3__</td></tr>
389
400
<tr><td>avrxmega6</td><td>atxmega256d3</td><td>__AVR_ATxmega256D3__</td></tr>
391
402
<tr><td>avrxmega7</td><td>atxmega128a1</td><td>__AVR_ATxmega128A1__</td></tr>
403
<tr><td>avrxmega7</td><td>atxmega128a1u</td><td>__AVR_ATxmega128A1U__</td></tr>
405
<tr><td>avrtiny10</td><td>attiny4</td><td>__AVR_ATtiny4__</td></tr>
406
<tr><td>avrtiny10</td><td>attiny5</td><td>__AVR_ATtiny5__</td></tr>
407
<tr><td>avrtiny10</td><td>attiny9</td><td>__AVR_ATtiny9__</td></tr>
408
<tr><td>avrtiny10</td><td>attiny10</td><td>__AVR_ATtiny10__</td></tr>
409
<tr><td>avrtiny10</td><td>attiny20</td><td>__AVR_ATtiny20__</td></tr>
410
<tr><td>avrtiny10</td><td>attiny40</td><td>__AVR_ATtiny40__</td></tr>
396
415
[1] 'avr25' architecture is new in GCC 4.2<BR>
397
[2] 'avr35' architecture is new in GCC 4.2.3
416
[2] 'avr35' architecture is new in GCC 4.2.3<BR>
417
[3] 'avr31' and 'avr51' architectures is new in GCC 4.3