This is the mail archive of the
mailing list for the binutils project.
RE: [PATCH] Add support for ATtiny4/5/9/10/20/40 microcontrollers
- From: "S, Pitchumani" <Pitchumani dot S at atmel dot com>
- To: Barney Stratford <barney_stratford at fastmail dot fm>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>, Denis Chertykov <chertykov at gmail dot com>
- Date: Tue, 24 Jun 2014 08:27:06 +0000
- Subject: RE: [PATCH] Add support for ATtiny4/5/9/10/20/40 microcontrollers
- Authentication-results: sourceware.org; auth=none
- References: <E9E59840-5D78-495C-9D50-3A68F3EC3152 at fastmail dot fm>
> -----Original Message-----
> From: email@example.com [mailto:firstname.lastname@example.org]
> On Behalf Of Barney Stratford
> Sent: Sunday, June 15, 2014 12:35 AM
> To: email@example.com
> Subject: [PATCH] Add support for ATtiny4/5/9/10/20/40 microcontrollers
> I've recently been working on getting the assembler and linker to work
> with the ATtiny40 family of microcontrollers. I've also added some
> functionality to the avr assembler in general. As this may be useful to
> others, I'm attaching my patches against the current git head. Can someone
> review and commit them please?
> 1_avrtiny10.patch contains the basic avrtiny10 code, including a linker
> reloc for the 16-bit version of the lds and sts instructions.
> 2_avr_io_relocs.patch allows you to refer to the I/O registers by symbol
> 3_avr_reg_name.patch allows you to refer to r26-r31 by name as
> /[xyz][hl]?/. It also fixes a bug that would prevent you from using a
> symbol whose name begins with 'r' to refer to a register.
I looked at your patches. Atmel distributed binutils also have tiny
architecture support. Though both are similar, there are some differences
such as architecture name, id, LDS16 reloc size, memory access range (0xbf) etc.
I can check all the differences and we can sync to avoid conflicts.