>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 _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list