This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH, AVR] Add support for new AVR device ATmega16U4
- From: "Weddington, Eric" <eweddington at cso dot atmel dot com>
- To: <binutils at sourceware dot org>
- Cc: "Anatoly Sokolov" <aesok at post dot ru>, <chertykov at gmail dot com>
- Date: Thu, 28 Aug 2008 22:24:59 -0600
- Subject: [PATCH, AVR] Add support for new AVR device ATmega16U4
The patch below adds support for the new AVR device ATmega16U4.
Eric Weddington
/gas:
2008-08-28 Eric B. Weddington <eric.weddington@atmel.com>
* config/tc-avr.c (mcu_types): Add atmega16u4.
* 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.59
diff -u -p -r1.59 tc-avr.c
--- gas/config/tc-avr.c 9 Aug 2008 05:35:13 -0000 1.59
+++ gas/config/tc-avr.c 29 Aug 2008 01:12:27 -0000
@@ -169,6 +169,7 @@ static struct mcu_type_s mcu_types[] =
{"at90can64" , AVR_ISA_AVR5, bfd_mach_avr5},
{"at90pwm216", AVR_ISA_AVR5, bfd_mach_avr5},
{"at90pwm316", AVR_ISA_AVR5, bfd_mach_avr5},
+ {"atmega16u4", AVR_ISA_AVR5, bfd_mach_avr5},
{"atmega32c1", AVR_ISA_AVR5, bfd_mach_avr5},
{"atmega32m1", AVR_ISA_AVR5, bfd_mach_avr5},
{"atmega32u4", AVR_ISA_AVR5, bfd_mach_avr5},
Index: gas/doc/c-avr.texi
===================================================================
RCS file: /cvs/src/src/gas/doc/c-avr.texi,v
retrieving revision 1.20
diff -u -p -r1.20 c-avr.texi
--- gas/doc/c-avr.texi 9 Aug 2008 05:35:13 -0000 1.20
+++ gas/doc/c-avr.texi 29 Aug 2008 01:21:13 -0000
@@ -66,8 +66,8 @@ atmega165, atmega165p, atmega168, atmega
atmega323, atmega324p, atmega325, atmega325p, atmega3250, atmega3250p,
atmega328p, atmega329, atmega329p, atmega3290, atmega3290p, atmega406, atmega64,
atmega640, atmega644, atmega644p, atmega645, atmega6450, atmega649, atmega6490,
-atmega16hva, at90can32, at90can64, at90pwm216, at90pwm316, atmega32c1,
-atmega32m1, atmega32u4, at90usb646, at90usb647, at94k).
+atmega16hva, at90can32, at90can64, at90pwm216, at90pwm316, atmega16u4,
+atmega32c1, atmega32m1, atmega32u4, at90usb646, at90usb647, at94k).
Instruction set avr51 is for the enhanced AVR core with exactly 128K program
memory space (MCU types: atmega128, atmega1280, atmega1281, atmega1284p,