This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH][AVR] Add new devices AT90PWM2B, AT90PWM3B
- From: Eric Weddington <eweddington at cso dot atmel dot com>
- To: binutils at sourceware dot org
- Cc: Denis Chertykov <denisc at overta dot ru>, Anatoly Sokolov <aesok at post dot ru>
- Date: Tue, 09 Oct 2007 14:38:22 -0600
- Subject: [PATCH][AVR] Add new devices AT90PWM2B, AT90PWM3B
The patch below adds support for the AVR devices AT90PWM2B, AT90PWM3B.
Eric Weddington
/gas:
2007-10-09 Eric B. Weddington <eweddington@cso.atmel.com>
* config/tc-avr.c (mcu_types): Add new devices: AT90PWM2B,
AT90PWM3B.
* doc/c-avr.texi: Document new devices.
--- gas/config/tc-avr.c.old 2007-10-09 09:04:20.265625000 -0600
+++ gas/config/tc-avr.c 2007-10-09 09:05:46.312500000 -0600
@@ -115,7 +115,9 @@ static struct mcu_type_s mcu_types[] =
{"atmega8hva", AVR_ISA_PWMx, bfd_mach_avr4},
{"at90pwm1", AVR_ISA_PWMx, bfd_mach_avr4},
{"at90pwm2", AVR_ISA_PWMx, bfd_mach_avr4},
+ {"at90pwm2b", AVR_ISA_PWMx, bfd_mach_avr4},
{"at90pwm3", AVR_ISA_PWMx, bfd_mach_avr4},
+ {"at90pwm3b", AVR_ISA_PWMx, bfd_mach_avr4},
{"atmega16", AVR_ISA_M323, bfd_mach_avr5},
{"atmega161", AVR_ISA_M161, bfd_mach_avr5},
{"atmega162", AVR_ISA_M323, bfd_mach_avr5},
--- gas/doc/c-avr.texi.old 2007-10-09 09:09:03.468750000 -0600
+++ gas/doc/c-avr.texi 2007-10-09 09:09:27.859375000 -0600
@@ -49,7 +49,8 @@ at76c711).
Instruction set avr4 is for the enhanced AVR core with up to 8K program
memory space (MCU types: atmega48, atmega8, atmega83, atmega85, atmega88,
-atmega8515, atmega8535, atmega8hva, at90pwm1, at90pwm2, at90pwm3).
+atmega8515, atmega8535, atmega8hva, at90pwm1, at90pwm2, at90pwm2b,
+at90pwm3, at90pwm3b).
Instruction set avr5 is for the enhanced AVR core with up to 128K program
memory space (MCU types: atmega16, atmega161, atmega162, atmega163,