|
From: | Tero Sinervo |
Subject: | Re: [avr-gcc-list] Problem allocating memory in xflash |
Date: | Thu, 27 Aug 2009 14:49:29 +0300 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
Parthasaradhi Nayani wrote:
I have a structure "prclkp" of size 32 bytes. When I define struct prclkp XFLASH PLULOC1[1023]; No error is reported, whereasstruct 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.
-- Tero Sinervo
[Prev in Thread] | Current Thread | [Next in Thread] |