David LECOMTE

#pragma.....

Discussion created by David LECOMTE on Nov 26, 2008
Latest reply on Nov 27, 2008 by David LECOMTE
I have a big structure (sizeof structure "x" equal 0x100). So my RAM equals 0x200!!!! I would like declared this structure on the first page of my flash. Is it possible??
I try to use
#pragma CONST_SEG STRUCT_ZONE_CODE
struct x{
...
....
....
};
#pragma CONST_SEG DEFAULT
 
in prm file i added
    STRUCT_ZONE =  READ_WRITE    0xE000 TO 0xE1FF;
 
STRUCT_ZONE_CODE                      INTO STRUCT_ZONE;
 
But no effect.
Thanks for your help
David
 

Outcomes