Hello all,
I have created an external flash memory section in the makefile thus

LDFLAGS += -Wl,--section-start,.exflash=0x850000

and named (defined) this section as XFLASH. 

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"

If the size of the section is 64K, then the above i well within the limit but 
still the error is popping up. Has this anything to do with sign? Please 
advice. Thank you.


Regards,
Nayani




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

Reply via email to