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

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

Re: [avr-gcc-list] Strings in upper 64K


From: dimax un
Subject: Re: [avr-gcc-list] Strings in upper 64K
Date: Fri, 18 Aug 2006 15:15:32 -0700

BTW how to make GCC not to cross 64K boundary while allocating ROM constants? Is any care required to make sure it will not happen?

On 8/17/06, Joerg Wunsch <address@hidden> wrote:
Don Ingram <address@hidden> wrote:

> Is there any move afoot to rehash the avr-libs to allow strings to
> reside in Flash above the 64K mark?

Not that I know of -- it would require using a "memory model" with
32-bit pointers, as GCC doesn't support 24-bit pointers at all.
What's your issue with it, do you have more than 64 KB of ROM
constants?

Of course, you can always place your strings anywhere, it's only that
all those ..._P() functions can only handle the lower 64 KB of ROM.

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

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



_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list


reply via email to

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