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

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

Re: [avr-gcc-list] Problem allocating memory in xflash


From: Jan Waclawek
Subject: Re: [avr-gcc-list] Problem allocating memory in xflash
Date: Thu, 27 Aug 2009 13:52:04 +0200

>Parthasaradhi Nayani wrote:
>> I have a structure "prclkp" of size 32 bytes. When I define 
>> 
>> struct prclkp XFLASH PLULOC1[1023];   No error is reported, whereas 
>> 
>> struct prclkp XFLASH PLULOC1[1024]; generates an error - "size of array too 
>> large"
>
>You've probably reached a built-in limit in gcc. It has nothing to do 
>with the size of your memory section.

I've just tried to compile a >64kB initialised variable with "gcc (GCC) 3.4.4 
(cygming special)" to confirm this is NOT limit of gcc.
So, it appears to be limit of avr-gcc specifically.

JW




reply via email to

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