diff options
author | Anatoly Sokolov <aesok@post.ru> | 2009-07-17 22:49:03 +0400 |
---|---|---|
committer | Anatoly Sokolov <aesok@gcc.gnu.org> | 2009-07-17 22:49:03 +0400 |
commit | a0ce0e6e57acacb2fb3ccbc1179dd5247401ea40 (patch) | |
tree | 21192278db0c6e0ca637a0777da61405965f7bca | |
parent | a406865a0845cdef8bdd3eefa53e7f3992cb34ff (diff) | |
download | gcc-a0ce0e6e57acacb2fb3ccbc1179dd5247401ea40.zip gcc-a0ce0e6e57acacb2fb3ccbc1179dd5247401ea40.tar.gz gcc-a0ce0e6e57acacb2fb3ccbc1179dd5247401ea40.tar.bz2 |
avr-devices.c (avr_mcu_t): Add atmega8u2, atmega16u2 and atmega32u2 devices.
* config/avr/avr-devices.c (avr_mcu_t): Add atmega8u2, atmega16u2 and
atmega32u2 devices.
* config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
From-SVN: r149755
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rwxr-xr-x | gcc/config/avr/avr-devices.c | 3 | ||||
-rw-r--r-- | gcc/config/avr/t-avr | 3 |
3 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 046c1ef..264f65f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-07-17 Anatoly Sokolov <aesok@post.ru> + + * config/avr/avr-devices.c (avr_mcu_t): Add atmega8u2, atmega16u2 and + atmega32u2 devices. + * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.). + 2009-07-17 Richard Guenther <rguenther@suse.de> PR c/40401 diff --git a/gcc/config/avr/avr-devices.c b/gcc/config/avr/avr-devices.c index f422b4e..ad58772b 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 c27118e..5865617 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 \ |