This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[patch, AVR] Add new ATmega*RFR* devices
- From: Joerg Wunsch <joerg dot wunsch at atmel dot com>
- To: <binutils at sourceware dot org>
- Cc: <eric dot weddington at atmel dot com>, <avr at gjlay dot de>
- Date: Tue, 19 Mar 2013 14:47:33 +0100
- Subject: [patch, AVR] Add new ATmega*RFR* devices
The attached patch adds the new ATmega*RFR* devices to GNU binutils.
If there are no objections, someone please commit it.
--
Joerg Wunsch * Development engineer, Dresden, Germany
Atmel Automotive GmbH, Theresienstrasse 2, D-74027 Heilbronn
Geschaeftsfuehrung: Steven A. Laub, Stephen Cumming
Amtsgericht Stuttgart, Registration HRB 106594
ChangeLog entry:
2013-03-19 Joerg Wunsch <joerg.wunsch@atmel.com>
* gas/config/tc-avr.c (mcu_types): Add ATmega64RFR2,
ATmega644RFR2, ATmega128RFR2, ATmega1284RFR2, ATmega256RFR2,
ATmega2564RFR2
* gas/doc/c-avr.texi (-mmcu documentation): Dito.
Index: gas/config/tc-avr.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-avr.c,v
retrieving revision 1.85
diff -u -r1.85 tc-avr.c
--- gas/config/tc-avr.c 5 Feb 2013 23:02:54 -0000 1.85
+++ gas/config/tc-avr.c 18 Feb 2013 12:00:04 -0000
@@ -219,6 +219,8 @@
{"atmega6490", AVR_ISA_AVR5, bfd_mach_avr5},
{"atmega6490a",AVR_ISA_AVR5, bfd_mach_avr5},
{"atmega6490p",AVR_ISA_AVR5, bfd_mach_avr5},
+ {"atmega64rfr2",AVR_ISA_AVR5, bfd_mach_avr5},
+ {"atmega644rfr2",AVR_ISA_AVR5, bfd_mach_avr5},
{"atmega16hva",AVR_ISA_AVR5, bfd_mach_avr5},
{"atmega16hva2",AVR_ISA_AVR5, bfd_mach_avr5},
{"atmega16hvb",AVR_ISA_AVR5, bfd_mach_avr5},
@@ -249,11 +251,15 @@
{"atmega1281", AVR_ISA_AVR51, bfd_mach_avr51},
{"atmega1284p",AVR_ISA_AVR51, bfd_mach_avr51},
{"atmega128rfa1",AVR_ISA_AVR51, bfd_mach_avr51},
+ {"atmega128rfr2",AVR_ISA_AVR51, bfd_mach_avr51},
+ {"atmega1284rfr2",AVR_ISA_AVR51, bfd_mach_avr51},
{"at90can128", AVR_ISA_AVR51, bfd_mach_avr51},
{"at90usb1286",AVR_ISA_AVR51, bfd_mach_avr51},
{"at90usb1287",AVR_ISA_AVR51, bfd_mach_avr51},
{"atmega2560", AVR_ISA_AVR6, bfd_mach_avr6},
{"atmega2561", AVR_ISA_AVR6, bfd_mach_avr6},
+ {"atmega256rfr2", AVR_ISA_AVR6, bfd_mach_avr6},
+ {"atmega2564rfr2", AVR_ISA_AVR6, bfd_mach_avr6},
{"atxmega16a4", AVR_ISA_XMEGA, bfd_mach_avrxmega2},
{"atxmega16d4", AVR_ISA_XMEGA, bfd_mach_avrxmega2},
{"atxmega16x1", AVR_ISA_XMEGA, bfd_mach_avrxmega2},
Index: gas/doc/c-avr.texi
===================================================================
RCS file: /cvs/src/src/gas/doc/c-avr.texi,v
retrieving revision 1.34
diff -u -r1.34 c-avr.texi
--- gas/doc/c-avr.texi 10 Jan 2013 19:51:55 -0000 1.34
+++ gas/doc/c-avr.texi 18 Feb 2013 12:00:05 -0000
@@ -73,7 +73,9 @@
atmega3290a, atmega3290p, atmega3290pa, atmega406, atmega64, atmega640,
atmega644, atmega644a, atmega644p, atmega644pa, atmega645, atmega645a,
atmega645p, atmega6450, atmega6450a, atmega6450p, atmega649, atmega649a,
-atmega649p, atmega6490, atmega6490a, atmega6490p, atmega16hva, atmega16hva2,
+atmega649p, atmega6490, atmega6490a, atmega6490p,
+atmega64rfr2, atmega644rfr2,
+atmega16hva, atmega16hva2,
atmega16hvb, atmega16hvbrevb, atmega32hvb, atmega32hvbrevb, atmega64hve,
at90can32, at90can64, at90pwm161, at90pwm216, at90pwm316, atmega32c1,
atmega64c1, atmega16m1, atmega32m1, atmega64m1, atmega16u4, atmega32u4,
@@ -81,10 +83,13 @@
Instruction set avr51 is for the enhanced AVR core with exactly 128K program
memory space (MCU types: atmega128, atmega1280, atmega1281, atmega1284p,
-atmega128rfa1, at90can128, at90usb1286, at90usb1287, m3000).
+atmega128rfa1,
+atmega128rfr2, atmega1284rfr2,
+at90can128, at90usb1286, at90usb1287, m3000).
Instruction set avr6 is for the enhanced AVR core with a 3-byte PC (MCU types:
-atmega2560, atmega2561).
+atmega2560, atmega2561,
+atmega256rfr2, atmega2564rfr2).
Instruction set avrxmega2 is for the XMEGA AVR core with 8K to 64K program
memory space and less than 64K data space (MCU types: atxmega16a4, atxmega16d4,