avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Re: "progmem_far" attribute


From: Andy H
Subject: Re: [avr-gcc-list] Re: "progmem_far" attribute
Date: Sun, 20 Jul 2008 14:39:34 -0400
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

Yes this should be more than enough for data!

I am happy with "high" or anything that is not "far".

(Its bad enough with "trampolines" that are not really trampolines.) ;-)

Andy

Anatoly Sokolov wrote:
Hi.


From: "Andy H" <address@hidden>
Sent: Sunday, July 20, 2008 8:51 PM


A better name would be  progmem_high. FAR is entirely different.

Ok.

Unlike some cpu AVR does not need different direct JMP/CALL/RET...

This patch adderss only to data. User space of 'progmem' section limeted to ~62KB. On 256KB devices it can be little. For this reason I suggest to add the second "progmem_far(high)" section, and for data access use *_PF() function from Carlos Lamas patch.

http://savannah.nongnu.org/patch/?6352

Anatoly.




reply via email to

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