]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/avr/avr-devices.c
1 /* Copyright (C) 2009-2013 Free Software Foundation, Inc.
2 Contributed by Anatoly Sokolov (aesok@post.ru)
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3, or (at your option)
11 GCC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
20 #ifndef IN_GEN_AVR_MMCU_TEXI
23 #include "coretypes.h"
25 #endif /* IN_GEN_AVR_MMCU_TEXI */
27 /* List of all known AVR MCU architectures.
28 Order as of enum avr_arch from avr.h. */
33 /* unknown device specified */
34 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x0060, 32, NULL
, "avr2" },
36 A M J LM E E E X R d S S O A
37 S U M PO L L I M A a t F ff r
38 M L P MV P P J E M t a R s c
41 { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0x0060, 32, "1", "avr1" },
42 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x0060, 32, "2", "avr2" },
43 { 0, 0, 0, 1, 0, 0, 0, 0, 0, 0x0060, 32, "25", "avr25" },
44 { 0, 0, 1, 0, 0, 0, 0, 0, 0, 0x0060, 32, "3", "avr3" },
45 { 0, 0, 1, 0, 1, 0, 0, 0, 0, 0x0060, 32, "31", "avr31" },
46 { 0, 0, 1, 1, 0, 0, 0, 0, 0, 0x0060, 32, "35", "avr35" },
47 { 0, 1, 0, 1, 0, 0, 0, 0, 0, 0x0060, 32, "4", "avr4" },
48 { 0, 1, 1, 1, 0, 0, 0, 0, 0, 0x0060, 32, "5", "avr5" },
49 { 0, 1, 1, 1, 1, 1, 0, 0, 0, 0x0060, 32, "51", "avr51" },
50 { 0, 1, 1, 1, 1, 1, 1, 0, 0, 0x0060, 32, "6", "avr6" },
52 { 0, 1, 1, 1, 0, 0, 0, 1, 0, 0x2000, 0, "102", "avrxmega2" },
53 { 0, 1, 1, 1, 1, 1, 0, 1, 0, 0x2000, 0, "104", "avrxmega4" },
54 { 0, 1, 1, 1, 1, 1, 0, 1, 1, 0x2000, 0, "105", "avrxmega5" },
55 { 0, 1, 1, 1, 1, 1, 1, 1, 0, 0x2000, 0, "106", "avrxmega6" },
56 { 0, 1, 1, 1, 1, 1, 1, 1, 1, 0x2000, 0, "107", "avrxmega7" }
63 "This ISA is implemented by the minimal AVR core and supported "
64 "for assembler only." },
66 "``Classic'' devices with up to 8@tie{}KiB of program memory." },
68 "``Classic'' devices with up to 8@tie{}KiB of program memory and with "
69 "the @code{MOVW} instruction." },
71 "``Classic'' devices with 16@tie{}KiB up to 64@tie{}KiB of "
74 "``Classic'' devices with 128@tie{}KiB of program memory." },
76 "``Classic'' devices with 16@tie{}KiB up to 64@tie{}KiB of "
77 "program memory and with the @code{MOVW} instruction." },
79 "``Enhanced'' devices with up to 8@tie{}KiB of program memory." },
81 "``Enhanced'' devices with 16@tie{}KiB up to 64@tie{}KiB of "
84 "``Enhanced'' devices with 128@tie{}KiB of program memory." },
86 "``Enhanced'' devices with 3-byte PC, i.e.@: with more than 128@tie{}KiB "
87 "of program memory." },
89 "``XMEGA'' devices with more than 8@tie{}KiB and up to 64@tie{}KiB "
90 "of program memory." },
92 "``XMEGA'' devices with more than 64@tie{}KiB and up to 128@tie{}KiB "
93 "of program memory." },
95 "``XMEGA'' devices with more than 64@tie{}KiB and up to 128@tie{}KiB "
96 "of program memory and more than 64@tie{}KiB of RAM." },
98 "``XMEGA'' devices with more than 128@tie{}KiB of program memory." },
100 "``XMEGA'' devices with more than 128@tie{}KiB of program memory "
101 "and more than 64@tie{}KiB of RAM." }
107 #define AVR_MCU(NAME, ARCH, MACRO, SP8, ERR_SKIP, DATA_SEC, N_FLASH, LIBNAME)\
108 { NAME, ARCH, MACRO, SP8, ERR_SKIP, DATA_SEC, N_FLASH, LIBNAME },
109 #include "avr-mcus.def"
112 { NULL
, ARCH_UNKNOWN
, NULL
, 0, 0, 0, 0, NULL
}