public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, AVR] Add support for new device: ATmega1284P.
@ 2007-11-15 10:19 Weddington, Eric
  0 siblings, 0 replies; 3+ messages in thread
From: Weddington, Eric @ 2007-11-15 10:19 UTC (permalink / raw)
  To: gcc-patches; +Cc: Denis Chertykov, Anatoly Sokolov

This patch adds support for a new AVR device: ATmega1284P.

Eric Weddington

/gcc:

2007-11-14  Eric B. Weddington  <eric.weddington@atmel.com>

	* config/avr/avr.c (avr_mcu_types): Add atmega1284p.
	* config/avr/avr.h (LINK_SPEC): Likewise.
	(CRT_BINUTILS_SPECS): Likewsie.
	* config/avr/t-avr (MULTILIB_MATCHES): Likewise.



--- gcc/config/avr/avr.c.old	2007-11-13 10:57:44.474375000 -0700
+++ gcc/config/avr/avr.c	2007-11-13 10:58:49.974375000 -0700
@@ -274,6 +274,7 @@ static const struct mcu_type_s avr_mcu_t
   { "atmega128",    ARCH_AVR5, "__AVR_ATmega128__" },
   { "atmega1280",   ARCH_AVR5, "__AVR_ATmega1280__" },
   { "atmega1281",   ARCH_AVR5, "__AVR_ATmega1281__" },
+  { "atmega1284p",  ARCH_AVR5, "__AVR_ATmega1284P__" },
   { "atmega16hva",  ARCH_AVR5, "__AVR_ATmega16HVA__" },
   { "at90can32",    ARCH_AVR5, "__AVR_AT90CAN32__" },
   { "at90can64",    ARCH_AVR5, "__AVR_AT90CAN64__" },
--- gcc/config/avr/avr.h.old	2007-11-13 10:57:52.193125000 -0700
+++ gcc/config/avr/avr.h	2007-11-13 11:03:21.786875000 -0700
@@ -798,6 +798,7 @@ mmcu=*:-mmcu=%*}"
   mmcu=atmega645*|\
   mmcu=atmega649*|\
   mmcu=atmega128|\
+  mmcu=atmega1284p|\
   mmcu=atmega162|\
   mmcu=atmega164*|\
   mmcu=atmega165*|\
@@ -912,6 +913,7 @@ mmcu=*:-mmcu=%*}"
 %{mmcu=atmega128:crtm128.o%s} \
 %{mmcu=atmega1280:crtm1280.o%s} \
 %{mmcu=atmega1281:crtm1281.o%s} \
+%{mmcu=atmega1284p:crtm1284p.o%s} \
 %{mmcu=atmega2560:crtm2560.o%s} \
 %{mmcu=atmega2561:crtm2561.o%s} \
 %{mmcu=atmega8hva:crtm8hva.o%s} \
--- gcc/config/avr/t-avr.old	2007-11-13 10:57:55.880625000 -0700
+++ gcc/config/avr/t-avr	2007-11-13 11:03:53.568125000 -0700
@@ -109,6 +109,7 @@ MULTILIB_MATCHES = \
 	mmcu?avr5=mmcu?atmega128 \
 	mmcu?avr5=mmcu?atmega1280 \
 	mmcu?avr5=mmcu?atmega1281 \
+	mmcu?avr5=mmcu?atmega1284p \
 	mmcu?avr5=mmcu?atmega16hva \
 	mmcu?avr5=mmcu?at90can32 \
 	mmcu?avr5=mmcu?at90can64 \

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-26 22:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <84ccfe8c0711151151u50c4c89apf22322abcdea99dc@mail.gmail.com>
2007-11-16  1:28 ` [PATCH, AVR] Add support for new device: ATmega1284P Weddington, Eric
2007-11-27  0:33   ` Anatoly Sokolov
2007-11-15 10:19 Weddington, Eric

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).