This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH, AVR] Committed: Add support for atmega32u4
- From: "Weddington, Eric" <eweddington at cso dot atmel dot com>
- To: <binutils at sourceware dot org>
- Cc: "Denis Chertykov" <chertykov at gmail dot com>, "Anatoly Sokolov" <aesok at post dot ru>
- Date: Fri, 28 Mar 2008 15:05:55 -0600
- Subject: [PATCH, AVR] Committed: Add support for atmega32u4
The patch below adds support for the new AVR device ATmega32C1 and has
been committed, with pre-approval from Nick Clifton.
Eric Weddington
/gas:
2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
* config/tc-avr.c (mcu_types): Add atmega32u4.
* doc/c-avr.texi: Likewise.
Index: gas/config/tc-avr.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-avr.c,v
retrieving revision 1.53
diff -u -p -r1.53 tc-avr.c
--- gas/config/tc-avr.c 28 Mar 2008 19:24:52 -0000 1.53
+++ gas/config/tc-avr.c 28 Mar 2008 20:59:49 -0000
@@ -163,6 +163,7 @@ static struct mcu_type_s mcu_types[] =
{"at90pwm316", AVR_ISA_M323, bfd_mach_avr5},
{"atmega32c1", AVR_ISA_M323, bfd_mach_avr5},
{"atmega32m1", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega32u4", AVR_ISA_M323, bfd_mach_avr5},
{"at90usb646", AVR_ISA_M323, bfd_mach_avr5},
{"at90usb647", AVR_ISA_M323, bfd_mach_avr5},
{"at90usb1286",AVR_ISA_M128, bfd_mach_avr5},
Index: gas/doc/c-avr.texi
===================================================================
RCS file: /cvs/src/src/gas/doc/c-avr.texi,v
retrieving revision 1.15
diff -u -p -r1.15 c-avr.texi
--- gas/doc/c-avr.texi 28 Mar 2008 19:24:52 -0000 1.15
+++ gas/doc/c-avr.texi 28 Mar 2008 20:59:50 -0000
@@ -60,8 +60,8 @@ atmega328p, atmega329, atmega329p, atmeg
atmega3290p, atmega32hvb, atmega406, atmega64, atmega640, atmega644,
atmega644p, atmega128, atmega1280, atmega1281, atmega1284p, atmega645,
atmega649, atmega6450, atmega6490, atmega16hva, at90can32, at90can64,
-at90can128, at90pwm216, at90pwm316, atmega32c1, atmega32m1, at90usb646,
-at90usb647, at90usb1286, at90usb1287, at94k).
+at90can128, at90pwm216, at90pwm316, atmega32c1, atmega32m1, atmega32u4,
+at90usb646, at90usb647, at90usb1286, at90usb1287, at94k).
Instruction set avr6 is for the enhanced AVR core with 256K program
memory space (MCU types: atmega2560, atmega2561).