From 6f8a4444ff2b2239ccc23fb175f89d8c5fc4435f Mon Sep 17 00:00:00 2001 From: "Eric B. Weddington" Date: Wed, 23 Mar 2011 15:02:06 +0000 Subject: [PATCH] 2011-03-23 Eric B. Weddington * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u, atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu. * doc/c-avr.texi: Document new device names. --- gas/ChangeLog | 6 ++++++ gas/config/tc-avr.c | 6 ++++++ gas/doc/c-avr.texi | 14 ++++++++------ 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 7bfd52c..3112924 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2011-03-23 Eric B. Weddington + + * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u, + atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu. + * doc/c-avr.texi: Document new device names. + 2011-03-22 Eric B. Weddington * config/tc-avr.c (struct avr_opcodes_s): Add opcode field. diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c index e924939..37ba1bf 100644 --- a/gas/config/tc-avr.c +++ b/gas/config/tc-avr.c @@ -247,19 +247,25 @@ static struct mcu_type_s mcu_types[] = {"atmega2561", AVR_ISA_AVR6, bfd_mach_avr6}, {"atxmega16a4", AVR_ISA_XMEGA, bfd_mach_avrxmega2}, {"atxmega16d4", AVR_ISA_XMEGA, bfd_mach_avrxmega2}, + {"atxmega16x1", AVR_ISA_XMEGA, bfd_mach_avrxmega2}, {"atxmega32a4", AVR_ISA_XMEGA, bfd_mach_avrxmega2}, {"atxmega32d4", AVR_ISA_XMEGA, bfd_mach_avrxmega2}, + {"atxmega32x1", AVR_ISA_XMEGA, bfd_mach_avrxmega2}, {"atxmega64a3", AVR_ISA_XMEGA, bfd_mach_avrxmega4}, {"atxmega64d3", AVR_ISA_XMEGA, bfd_mach_avrxmega4}, {"atxmega64a1", AVR_ISA_XMEGA, bfd_mach_avrxmega5}, + {"atxmega64a1u",AVR_ISA_XMEGA, bfd_mach_avrxmega5}, {"atxmega128a3", AVR_ISA_XMEGA, bfd_mach_avrxmega6}, + {"atxmega128b1", AVR_ISA_XMEGA, bfd_mach_avrxmega6}, {"atxmega128d3", AVR_ISA_XMEGA, bfd_mach_avrxmega6}, {"atxmega192a3", AVR_ISA_XMEGA, bfd_mach_avrxmega6}, {"atxmega192d3", AVR_ISA_XMEGA, bfd_mach_avrxmega6}, {"atxmega256a3", AVR_ISA_XMEGA, bfd_mach_avrxmega6}, {"atxmega256a3b",AVR_ISA_XMEGA, bfd_mach_avrxmega6}, + {"atxmega256a3bu",AVR_ISA_XMEGA,bfd_mach_avrxmega6}, {"atxmega256d3", AVR_ISA_XMEGA, bfd_mach_avrxmega6}, {"atxmega128a1", AVR_ISA_XMEGA, bfd_mach_avrxmega7}, + {"atxmega128a1u", AVR_ISA_XMEGA, bfd_mach_avrxmega7}, {NULL, 0, 0} }; diff --git a/gas/doc/c-avr.texi b/gas/doc/c-avr.texi index 347dfa5..90b0dbd 100644 --- a/gas/doc/c-avr.texi +++ b/gas/doc/c-avr.texi @@ -87,24 +87,26 @@ atmega2560, atmega2561). Instruction set avrxmega2 is for the XMEGA AVR core with 8K to 64K program memory space and less than 64K data space (MCU types: atxmega16a4, atxmega16d4, -atxmega32d4). +atxmega16x1, atxmega32a4, atxmega32d4, atxmega32x1). Instruction set avrxmega3 is for the XMEGA AVR core with 8K to 64K program -memory space and greater than 64K data space (MCU types: atxmega32a4). +memory space and greater than 64K data space (MCU types: none). Instruction set avrxmega4 is for the XMEGA AVR core with up to 64K program memory space and less than 64K data space (MCU types: atxmega64a3, atxmega64d3). Instruction set avrxmega5 is for the XMEGA AVR core with up to 64K program -memory space and greater than 64K data space (MCU types: atxmega64a1). +memory space and greater than 64K data space (MCU types: atxmega64a1, +atxmega64a1u). Instruction set avrxmega6 is for the XMEGA AVR core with up to 256K program memory space and less than 64K data space (MCU types: atxmega128a3, -atxmega128d3, atxmega192a3, atxmega192d3, atxmega256a3, atxmega256a3b, -atxmega192d3). +atxmega128d3, atxmega192a3, atxmega128b1, atxmega192d3, atxmega256a3, +atxmega256a3b, atxmega256a3bu, atxmega192d3). Instruction set avrxmega7 is for the XMEGA AVR core with up to 256K program -memory space and greater than 64K data space (MCU types: atxmega128a1). +memory space and greater than 64K data space (MCU types: atxmega128a1, +atxmega128a1u). @cindex @code{-mall-opcodes} command line option, AVR @item -mall-opcodes -- 2.7.4