* [PATCH, AVR] Fix opcode set for AT86RF401 device
@ 2008-01-18 17:13 Weddington, Eric
2008-01-24 1:08 ` Nick Clifton
0 siblings, 1 reply; 2+ messages in thread
From: Weddington, Eric @ 2008-01-18 17:13 UTC (permalink / raw)
To: binutils; +Cc: Denis Chertykov, Anatoly Sokolov
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},
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH, AVR] Fix opcode set for AT86RF401 device
2008-01-18 17:13 [PATCH, AVR] Fix opcode set for AT86RF401 device Weddington, Eric
@ 2008-01-24 1:08 ` Nick Clifton
0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2008-01-24 1:08 UTC (permalink / raw)
To: Weddington, Eric; +Cc: binutils, Denis Chertykov, Anatoly Sokolov
Hi Eric,
> /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.
Approved - please apply. (Sorry for the delay in reviewing).
Cheers
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-23 10:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-18 17:13 [PATCH, AVR] Fix opcode set for AT86RF401 device Weddington, Eric
2008-01-24 1:08 ` Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).