[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] SPMCR poisoning workaround for ATmega128
From: |
John Beard |
Subject: |
Re: [avr-libc-dev] SPMCR poisoning workaround for ATmega128 |
Date: |
Fri, 07 Jun 2013 16:38:21 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 |
On 30/05/13 16:22, Weddington, Eric wrote:
> Hi John,
>
> Since this will be on your local installation, there's really no right or
> wrong way to do it. Like you said, if you toggle the *DEPRECATED_ENABLE
> identifier, then it unpoisons everything else; you may not want to do that.
> If you remove the poison from the header file, then you may unknowingly use
> it elsewhere. The real issue, the way I see it, is that boot.h uses SPMCR,
> when it shouldn't. Therefore I would recommend removing the check from boot.h.
>
> And of course the real fix should be done in avr-libc.
>
> Eric
Hi Eric,
Thanks for the quick reply! I removed the boot.h check for my system.
I'm still curious, though: what would a patch for avr-libc look like?
Just doing something like just removing the check for "defined (SPMCR)"
in boot.h when compiling for mega128?
Best regards,
John
- Re: [avr-libc-dev] SPMCR poisoning workaround for ATmega128,
John Beard <=