From: Eric Weddington <eweddington@cso.atmel.com>
To: gcc-patches@gcc.gnu.org
Cc: Anatoly Sokolov <aesok@post.ru>, Denis Chertykov <denisc@overta.ru>
Subject: [PATCH][AVR] Add new AVR device: ATtiny43U
Date: Mon, 08 Oct 2007 21:30:00 -0000 [thread overview]
Message-ID: <001f01c809f2$7bc36e00$2b745f0a@corp.atmel.com> (raw)
The patch below adds support for the new AVR device: ATtiny43U.
Eric Weddington
/gcc:
2007-10-08 Eric B. Weddington <eweddington@cso.atmel.com>
* config/avr/avr.c (avr_mcu_types): Add attiny43u.
* config/avr/avr.h (CRT_BINUTILS_SPECS): Likewsie.
* config/avr/t-avr (MULTILIB_MATCHES): Likewise.
--- gcc/config/avr/avr.c.old 2007-09-26 10:04:29.856125000 -0600
+++ gcc/config/avr/avr.c 2007-09-26 10:31:39.028000000 -0600
@@ -218,6 +218,7 @@ static const struct mcu_type_s avr_mcu_t
{ "attiny261", ARCH_AVR25, "__AVR_ATtiny261__" },
{ "attiny461", ARCH_AVR25, "__AVR_ATtiny461__" },
{ "attiny861", ARCH_AVR25, "__AVR_ATtiny861__" },
+ { "attiny43u", ARCH_AVR25, "__AVR_ATtiny43U__" },
{ "at86rf401", ARCH_AVR25, "__AVR_AT86RF401__" },
/* Classic, > 8K. */
{ "avr3", ARCH_AVR3, NULL },
--- gcc/config/avr/avr.h.old 2007-09-26 10:31:54.840500000 -0600
+++ gcc/config/avr/avr.h 2007-09-26 10:33:50.762375000 -0600
@@ -858,6 +858,7 @@ mmcu=*:-mmcu=%*}"
%{mmcu=attiny261:crttn261.o%s} \
%{mmcu=attiny461:crttn461.o%s} \
%{mmcu=attiny861:crttn861.o%s} \
+%{mmcu=attiny43u:crttn43u.o%s} \
%{mmcu=atmega103|mmcu=avr3:crtm103.o%s} \
%{mmcu=atmega603:crtm603.o%s} \
%{mmcu=at43usb320:crt43320.o%s} \
--- gcc/config/avr/t-avr.old 2007-09-26 10:34:04.199875000 -0600
+++ gcc/config/avr/t-avr 2007-09-26 10:34:50.824875000 -0600
@@ -53,6 +53,7 @@ MULTILIB_MATCHES = \
mmcu?avr25=mmcu?attiny261 \
mmcu?avr25=mmcu?attiny461 \
mmcu?avr25=mmcu?attiny861 \
+ mmcu?avr25=mmcu?attiny43u \
mmcu?avr25=mmcu?at86rf401 \
mmcu?avr3=mmcu?atmega103 \
mmcu?avr3=mmcu?atmega603 \
next reply other threads:[~2007-10-08 21:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-08 21:30 Eric Weddington [this message]
2007-10-17 17:21 ` Anatoly Sokolov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001f01c809f2$7bc36e00$2b745f0a@corp.atmel.com' \
--to=eweddington@cso.atmel.com \
--cc=aesok@post.ru \
--cc=denisc@overta.ru \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).