bruno wrote:Hello,
PIC18F4620 :
Code: Select all
typedef struct
{
char buf[255] ;
char dummy ;
} TEST ;
TEST t ;
void main()
{
t.dummy = 0 ;
}
I get a "not enough RAM t" error message
struct size limit is not documented in manual
it would be great to have bigger struct on P18
Thanks !
struct size is limited by memory organization only, we will document it.
internal ram of 8051 derivates are up to 128 bytes idata or data
some derivates have internal extended ram which goes up to few kB
and of course there can always be additional external ram which can have size up to 64kB, see memory organization section of help.