aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorEric B. Weddington <eric.weddington@atmel.com>2007-11-07 17:24:59 +0000
committerEric B. Weddington <eric.weddington@atmel.com>2007-11-07 17:24:59 +0000
commit5cc9c0ab34131f69b1bc34ab1f64ccc9186cf7a9 (patch)
tree5186d83a1170a37f120ec9a2bb27fb42e3a77f5c /gas
parent57d85092b174916404b84b9a2a1ddb50af270084 (diff)
downloadgdb-5cc9c0ab34131f69b1bc34ab1f64ccc9186cf7a9.zip
gdb-5cc9c0ab34131f69b1bc34ab1f64ccc9186cf7a9.tar.gz
gdb-5cc9c0ab34131f69b1bc34ab1f64ccc9186cf7a9.tar.bz2
2007-11-07 Anatoly Sokolov <aesok@post.ru>
* config/tc-avr.c (mcu_types): Add new devices: ATmega48P, ATmega88P, ATmega168P, Atmega328P * doc/c-avr.texi: Document new devices.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-avr.c4
-rw-r--r--gas/doc/c-avr.texi23
3 files changed, 21 insertions, 12 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 51c6fba..9f4df4a 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2007-11-07 Anatoly Sokolov <aesok@post.ru>
+
+ * config/tc-avr.c (mcu_types): Add new devices: ATmega48P, ATmega88P,
+ ATmega168P, Atmega328P
+ * doc/c-avr.texi: Document new devices.
+
2007-11-07 Tristan Gingold <gingold@adacore.com>
* config/tc-ppc.c (md_apply_fix): For PPC_TOC16 on XCOFF, uses offset
diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c
index 64382e6..853f05c 100644
--- a/gas/config/tc-avr.c
+++ b/gas/config/tc-avr.c
@@ -103,8 +103,10 @@ static struct mcu_type_s mcu_types[] =
{"at43usb355", AVR_ISA_M603, bfd_mach_avr3},
{"at76c711", AVR_ISA_M603, bfd_mach_avr3},
{"atmega48", AVR_ISA_PWMx, bfd_mach_avr4},
+ {"atmega48p", AVR_ISA_PWMx, bfd_mach_avr4},
{"atmega8", AVR_ISA_M8, bfd_mach_avr4},
{"atmega88", AVR_ISA_PWMx, bfd_mach_avr4},
+ {"atmega88p", AVR_ISA_PWMx, bfd_mach_avr4},
{"atmega8515", AVR_ISA_M8, bfd_mach_avr4},
{"atmega8535", AVR_ISA_M8, bfd_mach_avr4},
{"atmega8hva", AVR_ISA_PWMx, bfd_mach_avr4},
@@ -121,6 +123,7 @@ static struct mcu_type_s mcu_types[] =
{"atmega165", AVR_ISA_M323, bfd_mach_avr5},
{"atmega165p", AVR_ISA_M323, bfd_mach_avr5},
{"atmega168", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega168p", AVR_ISA_M323, bfd_mach_avr5},
{"atmega169", AVR_ISA_M323, bfd_mach_avr5},
{"atmega169p", AVR_ISA_M323, bfd_mach_avr5},
{"atmega32", AVR_ISA_M323, bfd_mach_avr5},
@@ -128,6 +131,7 @@ static struct mcu_type_s mcu_types[] =
{"atmega324p", AVR_ISA_M323, bfd_mach_avr5},
{"atmega325", AVR_ISA_M323, bfd_mach_avr5},
{"atmega325p", AVR_ISA_M323, bfd_mach_avr5},
+ {"atmega328p", AVR_ISA_M323, bfd_mach_avr5},
{"atmega329", AVR_ISA_M323, bfd_mach_avr5},
{"atmega329p", AVR_ISA_M323, bfd_mach_avr5},
{"atmega3250", AVR_ISA_M323, bfd_mach_avr5},
diff --git a/gas/doc/c-avr.texi b/gas/doc/c-avr.texi
index 6b652c2..fce1122 100644
--- a/gas/doc/c-avr.texi
+++ b/gas/doc/c-avr.texi
@@ -44,24 +44,23 @@ attiny261, attiny461, attiny861, attiny24, attiny44, attiny84, attiny25,
attiny45, attiny85, attiny43u, attiny48).
Instruction set avr3 is for the classic AVR core with up to 128K program
-memory space (MCU types: atmega103, at43usb320, at43usb355,
-at76c711).
+memory space (MCU types: atmega103, at43usb320, at43usb355, at76c711).
Instruction set avr4 is for the enhanced AVR core with up to 8K program
-memory space (MCU types: atmega48, atmega8, atmega88,
+memory space (MCU types: atmega48, atmega48p,atmega8, atmega88, atmega88p,
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,
-atmega164p, atmega165, atmega165p, atmega168, atmega169, atmega169p,
-atmega32, atmega323, atmega324p, atmega325, atmega325p, atmega329,
-atmega329p, atmega3250, atmega3250p, atmega3290, atmega3290p, atmega406,
-atmega64, atmega640, atmega644, atmega644p, atmega128, atmega1280,
-atmega1281, atmega645, atmega649, atmega6450, atmega6490, atmega16hva,
-at90can32, at90can64, at90can128, at90pwm216, at90pwm316,
-at90usb82, at90usb162, at90usb646,
-at90usb647, at90usb1286, at90usb1287, at94k).
+memory space (MCU types: atmega16, atmega161, atmega162, atmega163,
+atmega164p, atmega165, atmega165p, atmega168, atmega168p, atmega169,
+atmega169p, atmega32, atmega323, atmega324p, atmega325, atmega325p,
+atmega328p, atmega329, atmega329p, atmega3250, atmega3250p, atmega3290,
+atmega3290p, atmega406, atmega64, atmega640, atmega644, atmega644p,
+atmega128, atmega1280, atmega1281, atmega645, atmega649, atmega6450,
+atmega6490, atmega16hva, at90can32, at90can64, at90can128, at90pwm216,
+at90pwm316,at90usb82, at90usb162, at90usb646, at90usb647, at90usb1286,
+at90usb1287, at94k).
Instruction set avr6 is for the enhanced AVR core with 256K program
memory space (MCU types: atmega2560, atmega2561).