diff options
author | Eric B. Weddington <eric.weddington@atmel.com> | 2008-06-17 17:30:31 +0000 |
---|---|---|
committer | Anatoly Sokolov <aesok@gcc.gnu.org> | 2008-06-17 21:30:31 +0400 |
commit | e416eb8f028f20ae4eb1f7b7beeee64715c342d8 (patch) | |
tree | 7c402b793b0e224942e63e41cd967ce615a818fb | |
parent | 59928a837f4eaf59c7c67fe5ab3c06423a967ebe (diff) | |
download | gcc-e416eb8f028f20ae4eb1f7b7beeee64715c342d8.zip gcc-e416eb8f028f20ae4eb1f7b7beeee64715c342d8.tar.gz gcc-e416eb8f028f20ae4eb1f7b7beeee64715c342d8.tar.bz2 |
avr.c (avr_mcu_t): Add attiny167.
* config/avr/avr.c (avr_mcu_t): Add attiny167.
* config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
* gcc/config/avr/t-avr (MULTILIB_MATCHES): Likewise.
From-SVN: r136870
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/avr/avr.c | 1 | ||||
-rw-r--r-- | gcc/config/avr/avr.h | 5 | ||||
-rw-r--r-- | gcc/config/avr/t-avr | 1 |
4 files changed, 12 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ec81fd3..f083a8d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2008-06-17 Eric B. Weddington <eric.weddington@atmel.com> + * config/avr/avr.c (avr_mcu_t): Add attiny167. + * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Likewise. + * gcc/config/avr/t-avr (MULTILIB_MATCHES): Likewise. + +2008-06-17 Eric B. Weddington <eric.weddington@atmel.com> + * config/avr/avr.c (avr_mcu_t): Add atmega32u4. * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Likewise. * config/avr/t-avr (MULTILIB_MATCHES): Likewise. diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index 1c9fcc2..36a59a2 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -199,6 +199,7 @@ static const struct mcu_type_s avr_mcu_types[] = { { "avr35", ARCH_AVR35, NULL }, { "at90usb82", ARCH_AVR35, "__AVR_AT90USB82__" }, { "at90usb162", ARCH_AVR35, "__AVR_AT90USB162__" }, + { "attiny167", ARCH_AVR35, "__AVR_ATtiny167__" }, /* Enhanced, <= 8K. */ { "avr4", ARCH_AVR4, NULL }, { "atmega8", ARCH_AVR4, "__AVR_ATmega8__" }, diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h index 66e10d4..5e5f932 100644 --- a/gcc/config/avr/avr.h +++ b/gcc/config/avr/avr.h @@ -828,7 +828,8 @@ mmcu=*:-mmcu=%*}" mmcu=at43*|\ mmcu=at76*|\ mmcu=at90usb82|\ - mmcu=at90usb162: -m avr3}\ + mmcu=at90usb162|\ + mmcu=attiny167: -m avr3}\ %{mmcu=atmega8*|\ mmcu=atmega48*|\ mmcu=at90pwm1|\ @@ -871,6 +872,7 @@ mmcu=*:-mmcu=%*}" mmcu=atmega32hvb|\ mmcu=attiny48|\ mmcu=attiny88|\ + mmcu=attiny167|\ mmcu=at90can*|\ mmcu=at90pwm*|\ mmcu=atmega32c1|\ @@ -928,6 +930,7 @@ mmcu=*:-mmcu=%*}" %{mmcu=attiny43u:crttn43u.o%s} \ %{mmcu=attiny48:crttn48.o%s} \ %{mmcu=attiny88:crttn88.o%s} \ +%{mmcu=attiny167:crttn167.o%s} \ %{mmcu=at43usb320|mmcu=avr3:crt43320.o%s} \ %{mmcu=at43usb355:crt43355.o%s} \ %{mmcu=at76c711:crt76711.o%s} \ diff --git a/gcc/config/avr/t-avr b/gcc/config/avr/t-avr index 644df9a..08e5409 100644 --- a/gcc/config/avr/t-avr +++ b/gcc/config/avr/t-avr @@ -63,6 +63,7 @@ MULTILIB_MATCHES = \ mmcu?avr31=mmcu?atmega103 \ mmcu?avr35=mmcu?at90usb82 \ mmcu?avr35=mmcu?at90usb162 \ + mmcu?avr35=mmcu?attiny167 \ mmcu?avr4=mmcu?atmega48 \ mmcu?avr4=mmcu?atmega48p \ mmcu?avr4=mmcu?atmega8 \ |