This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[AVR, Committed] Add support for ata6289 new device


Hello.

  The attached patch to add support for the new ata6289 device in GCC.

2009-02-07  Anatoly Sokolov  <aesok@post.ru>


        * config/avr/avr.c (avr_mcu_t): Add ata6289 device.
        * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
        * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.)


Index: gcc/config/avr/avr.c
===================================================================
--- gcc/config/avr/avr.c        (revision 144005)
+++ gcc/config/avr/avr.c        (working copy)
@@ -175,6 +175,7 @@
   { "at90s8535",    ARCH_AVR2, "__AVR_AT90S8535__" },
     /* Classic + MOVW, <= 8K.  */
   { "avr25",        ARCH_AVR25, NULL },
+  { "ata6289",      ARCH_AVR25, "__AVR_ATA6289__" },
   { "attiny13",     ARCH_AVR25, "__AVR_ATtiny13__" },
   { "attiny13a",    ARCH_AVR25, "__AVR_ATtiny13A__" },
   { "attiny2313",   ARCH_AVR25, "__AVR_ATtiny2313__" },
Index: gcc/config/avr/t-avr
===================================================================
--- gcc/config/avr/t-avr        (revision 144005)
+++ gcc/config/avr/t-avr        (working copy)
@@ -43,6 +43,7 @@
 
 # The many avr2 matches are not listed here - this is the default.
 MULTILIB_MATCHES = \
+       mmcu?avr25=mmcu?ata6289 \
        mmcu?avr25=mmcu?attiny13 \
        mmcu?avr25=mmcu?attiny13a \
        mmcu?avr25=mmcu?attiny2313 \
Index: gcc/config/avr/avr.h
===================================================================
--- gcc/config/avr/avr.h        (revision 144005)
+++ gcc/config/avr/avr.h        (working copy)
@@ -826,6 +826,7 @@
   mmcu=at90s8*|\
   mmcu=at90c8*|\
   mmcu=at86rf401|\
+  mmcu=ata6289|\
   mmcu=attiny13*|\
   mmcu=attiny2313|\
   mmcu=attiny24|\
@@ -900,6 +901,7 @@
   mmcu=atmega16u4|\
   mmcu=atmega32u*|\
   mmcu=at90scr100|\
+  mmcu=ata6289|\
   mmcu=at90usb*: -Tdata 0x800100}\
 %{mmcu=atmega640|\
   mmcu=atmega1280|\
@@ -957,6 +959,7 @@
 %{mmcu=attiny87:crttn87.o%s} \
 %{mmcu=attiny48:crttn48.o%s} \
 %{mmcu=attiny88:crttn88.o%s} \
+%{mmcu=ata6289:crta6289.o%s} \
 %{mmcu=at43usb355|mmcu=avr3:crt43355.o%s} \
 %{mmcu=at76c711:crt76711.o%s} \
 %{mmcu=atmega103|mmcu=avr31:crtm103.o%s} \


Anatoly.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]