This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PING: RE: [PATCH, AVR] Fix opcode set for AT86RF401 device
- 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: Tue, 22 Jan 2008 15:57:48 -0700
- Subject: PING: RE: [PATCH, AVR] Fix opcode set for AT86RF401 device
PING: I cannot commit without approval. I know that Denis is away on
vacation. Can some other maintainer approve?
Thanks,
Eric Weddington
> -----Original Message-----
> From: Weddington, Eric
> Sent: Wednesday, January 16, 2008 11:23 AM
> To: binutils@sourceware.org
> Cc: Denis Chertykov; Anatoly Sokolov
> Subject: [PATCH, AVR] Fix opcode set for AT86RF401 device
>
> The patch below fixes the opcode set for the AT86RF401
> device. According to the datasheet, this device also includes
> MOVW and LPM Z+ opcodes.
>
> Thanks,
> Eric Weddington
>
> /gas:
> 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
>
> * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
>
> /include:
> 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
>
> * opcode/avr.h (AVR_ISA_RF401): Add new opcode set for
> at86rf401.
>
>
> --- include/opcode/avr.h.old 2008-01-14 21:50:24.960032000 -0700
> +++ include/opcode/avr.h 2008-01-14 21:51:16.435550300 -0700
> @@ -34,6 +34,7 @@
> #define AVR_ISA_TINY1 (AVR_ISA_1200 | AVR_ISA_LPM)
> #define AVR_ISA_PWMx (AVR_ISA_M8 | AVR_ISA_BRK)
> #define AVR_ISA_2xxx (AVR_ISA_TINY1 | AVR_ISA_SRAM)
> +#define AVR_ISA_RF401 (AVR_ISA_2xxx | AVR_ISA_MOVW | AVR_ISA_LPMX)
> #define AVR_ISA_TINY2 (AVR_ISA_2xxx | AVR_ISA_MOVW | AVR_ISA_LPMX | \
> AVR_ISA_SPM | AVR_ISA_BRK)
> #define AVR_ISA_M8 (AVR_ISA_2xxx | AVR_ISA_MUL | AVR_ISA_MOVW | \
> --- gas/config/tc-avr.c.old 2008-01-14 21:46:45.595033500 -0700
> +++ gas/config/tc-avr.c 2008-01-14 21:51:38.911750800 -0700
> @@ -84,7 +84,7 @@ static struct mcu_type_s mcu_types[] =
> {"at90s8515", AVR_ISA_2xxx, bfd_mach_avr2},
> {"at90s8535", AVR_ISA_2xxx, bfd_mach_avr2},
> {"at90c8534", AVR_ISA_2xxx, bfd_mach_avr2},
> - {"at86rf401", AVR_ISA_2xxx, bfd_mach_avr2},
> + {"at86rf401", AVR_ISA_RF401, bfd_mach_avr2},
> {"attiny13", AVR_ISA_TINY2, bfd_mach_avr2},
> {"attiny2313", AVR_ISA_TINY2, bfd_mach_avr2},
> {"attiny261", AVR_ISA_TINY2, bfd_mach_avr2},
>