public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* maintainer update: add support for more AVR microcontrollers
@ 2006-04-20  1:52 Joerg Wunsch
  2006-04-20 10:51 ` Jan-Benedict Glaw
  0 siblings, 1 reply; 7+ messages in thread
From: Joerg Wunsch @ 2006-04-20  1:52 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 667 bytes --]

Hi again,

here's another small patch to add support for more Atmel AVR
microcontrollers.  Atmel renamed some of their parts, and added
variants that need to be handled differently from their original
counterparts inside the library.

(My binutils copyright assignment is on file with the FSF.)

gas/ChangeLog:

	* config/tc-avr.c (mcu_types): Add support for atmega165p,
	atmega169p and atmega644p device. Rename atmega164/atmega324
	devices to atmega164p/atmega324p.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

[-- Attachment #2: binutils-ATmegaXXXP.diff --]
[-- Type: text/plain, Size: 1573 bytes --]

Index: src/gas/config/tc-avr.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-avr.c,v
retrieving revision 1.32
diff -u -r1.32 tc-avr.c
--- src/gas/config/tc-avr.c	7 Apr 2006 15:18:08 -0000	1.32
+++ src/gas/config/tc-avr.c	19 Apr 2006 15:13:26 -0000
@@ -116,13 +116,15 @@
   {"atmega161", AVR_ISA_M161,     bfd_mach_avr5},
   {"atmega162", AVR_ISA_M323,     bfd_mach_avr5},
   {"atmega163", AVR_ISA_M161,     bfd_mach_avr5},
-  {"atmega164", AVR_ISA_M323,     bfd_mach_avr5},
+  {"atmega164p",AVR_ISA_M323,     bfd_mach_avr5},
   {"atmega165", AVR_ISA_M323,     bfd_mach_avr5},
+  {"atmega165p",AVR_ISA_M323,     bfd_mach_avr5},
   {"atmega168", 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},
   {"atmega323", AVR_ISA_M323,     bfd_mach_avr5},
-  {"atmega324", AVR_ISA_M323,     bfd_mach_avr5},
+  {"atmega324p",AVR_ISA_M323,     bfd_mach_avr5},
   {"atmega325", AVR_ISA_M323,     bfd_mach_avr5},
   {"atmega329", AVR_ISA_M323,     bfd_mach_avr5},
   {"atmega3250",AVR_ISA_M323,     bfd_mach_avr5},
@@ -131,6 +133,7 @@
   {"atmega64",  AVR_ISA_M323,     bfd_mach_avr5},
   {"atmega640", AVR_ISA_M323,     bfd_mach_avr5},
   {"atmega644", AVR_ISA_M323,     bfd_mach_avr5},
+  {"atmega644p",AVR_ISA_M323,     bfd_mach_avr5},
   {"atmega128", AVR_ISA_M128,     bfd_mach_avr5},
   {"atmega1280",AVR_ISA_M128,     bfd_mach_avr5},
   {"atmega1281",AVR_ISA_M128,     bfd_mach_avr5},

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: maintainer update: add support for more AVR microcontrollers
@ 2006-04-22 14:20 Björn Haase
  0 siblings, 0 replies; 7+ messages in thread
From: Björn Haase @ 2006-04-22 14:20 UTC (permalink / raw)
  To: binutils

From: Joerg Wunsch <j@uriah.heep.sax.de>, To: Eric Christopher 
<echristo@apple.com>, 
Cc: Jan-Benedict Glaw <jbglaw@lug-owl.de>, binutils@sourceware.org, Date: Thu, 
20 Apr 2006 23:01:23 +0200, Subject: 
References: 
<20060419193241.GA77330@uriah.heep.sax.de> <20060420014708.GM13324@lug-owl.de> 
<234616A5-B9B9-4A30-867D-3CD053064067@apple.com> 
<20060420050834.GC73791@uriah.heep.sax.de> 
<F610553E-74F0-44C0-AA67-94EC0BD0DD70@apple.com>, Reply-to: Joerg Wunsch 
<joerg_wunsch@uriah.heep.sax.de>

I completely agree with Joerg. IMO there is *NO* present user of the gnu 
toolchain for AVR that is not aware of the fact that the best place to find 
recent documentation is the avr-libc project. I'd like to estimate that 95% 
of the users even would not know how to access the information on the 
binutils info pages :-).

Without Joerg's changes the binutils port was extremely outdated. The only 
reason why this did not cause difficulties is, that almost every user has 
been working with pre-compiled binaries that were generated with the patches 
that were distributed and maintained by the maintainers of the avr-libc 
projects (thank's to Joerg Wunsch and Eric Weddington IIRC :-) ).

So the private binutils version of Joerg generally has a more official status 
than the cvs version :-).

Yours,

Bjoern.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-04-21 18:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-20  1:52 maintainer update: add support for more AVR microcontrollers Joerg Wunsch
2006-04-20 10:51 ` Jan-Benedict Glaw
2006-04-20 10:53   ` Eric Christopher
2006-04-20 11:05     ` Joerg Wunsch
2006-04-20 14:24       ` Eric Christopher
2006-04-21  6:55         ` Joerg Wunsch
2006-04-22 14:20 Björn Haase

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).