This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[AVR] Add support for ATmega32M1
- 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: Mon, 24 Mar 2008 11:52:24 -0600
- Subject: [AVR] Add support for ATmega32M1
The patch below adds support for the new ATmega32M1 to the AVR port.
/gas:
2008-03-24 Eric B. Weddington <eric.weddington@atmel.com>
Add support for ATmega32M1.
* config/tc-avr.c (mcu_types): Add atmega32m1.
* doc/c-avr.texi: Likewise.
--- gas/config/tc-avr.c.old 2008-03-02 12:38:55.671875000 -0700
+++ gas/config/tc-avr.c 2008-03-02 12:44:35.562500000 -0700
@@ -172,6 +172,7 @@ static struct mcu_type_s mcu_types[] =
{"at90can128", AVR_ISA_M128, bfd_mach_avr5},
{"at90pwm216", AVR_ISA_M323, bfd_mach_avr5},
{"at90pwm316", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega32m1", 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},
--- gas/doc/c-avr.texi.old 2008-03-02 12:38:55.359375000 -0700
+++ gas/doc/c-avr.texi 2008-03-02 12:45:04.546875000 -0700
@@ -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, at90usb646, at90usb647, at90usb1286,
at90usb1287,
-at94k).
+at90pwm216, at90pwm316, atmega32m1, at90usb646, at90usb647,
at90usb1286,
+at90usb1287, at94k).
Instruction set avr6 is for the enhanced AVR core with 256K program
memory space (MCU types: atmega2560, atmega2561).