[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] [bug #21410] Incorrect use of 16-bit eeprom addresses

From: Joerg Wunsch
Subject: Re: [avr-libc-dev] [bug #21410] Incorrect use of 16-bit eeprom addresses in devices with 8-Bit address registers
Date: Wed, 24 Oct 2007 20:45:33 +0200
User-agent: Mutt/1.5.11

As Eric Weddington wrote:

> > The only way I'm seeing is to compile it into four different
> > object files (base address vs. 8- or 16-bit addressing), and
> > extend the macro wrapper logic in <avr/eeprom.h>.

> Ugh. Please, let's not. I'd like to also consider future devices as
> well.  ;-)

Well, I don't see any other option for the short term, short of
ignoring the bug until the infrastructure for a per-device library
scheme is ready to go, obviously.  Inlining might increase the
overall code size, so I hesitate going that route.

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

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]