View previous topic :: View next topic |
Author |
Message |
eaton
Joined: 02 Oct 2004 Posts: 22 Location: cleveland
|
structure array size limit |
Posted: Sun Aug 14, 2005 5:53 am |
|
|
Hello,
I have a structure that uses 18 bytes. I need an array of these. if the array size is greater than 14 it doesn't work. A 15 element array takes 270 bytes. 14 elements takes 252. Is there an 8-bit cut-off point in the size of a variable? Using compiler ver 3.169 and PIC18F252.
Thanks |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
|
Ttelmah Guest
|
|
Posted: Mon Aug 15, 2005 2:56 am |
|
|
There was a fix for this type of problem in 3.189. You may be able to bodge round it as Mark describes, but the current releases seem to handle larger sizes OK.
Best Wishes |
|
|
|