[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Mega48 EEPROM problem?
From: |
Parthasaradhi Nayani |
Subject: |
Re: [avr-gcc-list] Mega48 EEPROM problem? |
Date: |
Wed, 30 Mar 2005 20:02:43 -0800 (PST) |
Thanks for the question and also the possible answer.
This will help those planning to use the Mega48. I do
not understand why you have defined a macro for CLI?
is CLI not supported in the latest version of GCC?
Nayani
--- Bob Paddock <address@hidden> wrote:
>
> For the Mega48 the logic at the end of
> <avr/io.h> is flawed because iomx8.h sets E2END to
> 0xFF.
>
> #if E2END < 0x100 &&
> !defined(__COMPILING_AVR_LIBC__)
> # undef EEAR
> # if E2END > 0
> # define EEAR _SFR_IO8(0x1E)
> # endif
> # undef EEARH
> #endif
>
__________________________________
Do you Yahoo!?
Make Yahoo! your home page
http://www.yahoo.com/r/hs