summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authoraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-17 18:49:03 +0000
committeraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-17 18:49:03 +0000
commit970c146debe1ff0cbe757daf863c8f01b0613219 (patch)
tree21192278db0c6e0ca637a0777da61405965f7bca /gcc/config
parentbfec3452cfb96a7546809ee1af3fffb9eba9d658 (diff)
downloadgcc-970c146debe1ff0cbe757daf863c8f01b0613219.tar.gz
* config/avr/avr-devices.c (avr_mcu_t): Add atmega8u2, atmega16u2 and
atmega32u2 devices. * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149755 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rwxr-xr-xgcc/config/avr/avr-devices.c3
-rw-r--r--gcc/config/avr/t-avr3
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/avr/avr-devices.c b/gcc/config/avr/avr-devices.c
index f422b4e7876..ad58772b2a1 100755
--- a/gcc/config/avr/avr-devices.c
+++ b/gcc/config/avr/avr-devices.c
@@ -93,6 +93,9 @@ const struct mcu_type_s avr_mcu_types[] = {
{ "avr35", ARCH_AVR35, NULL, 0, 0x0100, "usb162" },
{ "at90usb82", ARCH_AVR35, "__AVR_AT90USB82__", 0, 0x0100, "usb82" },
{ "at90usb162", ARCH_AVR35, "__AVR_AT90USB162__", 0, 0x0100, "usb162" },
+ { "atmega8u2", ARCH_AVR35, "__AVR_ATmega8U2__", 0, 0x0100, "m8u2" },
+ { "atmega16u2", ARCH_AVR35, "__AVR_ATmega16U2__", 0, 0x0100, "m16u2" },
+ { "atmega32u2", ARCH_AVR35, "__AVR_ATmega32U2__", 0, 0x0100, "m32u2" },
{ "attiny167", ARCH_AVR35, "__AVR_ATtiny167__", 0, 0x0100, "tn167" },
{ "attiny327", ARCH_AVR35, "__AVR_ATtiny327__", 0, 0x0100, "tn327" },
/* Enhanced, <= 8K. */
diff --git a/gcc/config/avr/t-avr b/gcc/config/avr/t-avr
index c27118e22d4..58656179b8a 100644
--- a/gcc/config/avr/t-avr
+++ b/gcc/config/avr/t-avr
@@ -94,6 +94,9 @@ MULTILIB_MATCHES = \
mmcu?avr31=mmcu?at43usb320 \
mmcu?avr35=mmcu?at90usb82 \
mmcu?avr35=mmcu?at90usb162 \
+ mmcu?avr35=mmcu?atmega8u2 \
+ mmcu?avr35=mmcu?atmega16u2 \
+ mmcu?avr35=mmcu?atmega32u2 \
mmcu?avr35=mmcu?attiny167 \
mmcu?avr35=mmcu?attiny327 \
mmcu?avr4=mmcu?atmega48 \