avr-libc-dev
[Top][All Lists]
Advanced

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

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


From: Joerg Wunsch
Subject: [avr-libc-dev] [bug #21410] Incorrect use of 16-bit eeprom addresses in devices with 8-Bit address registers
Date: Wed, 24 Oct 2007 10:56:01 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417

Follow-up Comment #2, bug #21410 (project avr-libc):

> If we skip this then we might be ok, if the eeprom.S
> file is build per device not per architecture.

Unfortunately, it actually *is* per architecture, not per
device.  That's the reason why it is compiled into two
different object files (for two different EEPROM base
addresses).

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

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?21410>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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