Jump to content

evplasmaman

Members
  • Content Count

    1
  • Joined

  • Last visited

Everything posted by evplasmaman

  1. Hello everyone, I am having a trouble getting my structure in to ROM. It seems to work fine if I put it in to RAM but when I try to change it to ROM it doesn't store the data... I do get a few warnings saying: Coff generation: Internal Warning: Member Var:menuItem Unrecognised type id:0xF000000F Coff generation: Internal Warning: Member Var:comand Unrecognised type id:0xF000000F Coff generation: Internal Warning: Member Var:menuItem Unrecognised type id:0xF000000F Coff generation: Internal Warning: Member Var:comand Unrecognised type id:0xF000000F But I am unsure of what these mean... The code that works in RAM is: typedef struct MenuTag { char *menuItem; char comand; } Menu; Menu menuTest[] = { {"Menu", 0x00}, {"Graph", 0x00}, {"Dat", 0x00}, {"Min Max", 0x00}, {"Settings", 0x00}, {"", 0xFF}, }; What I tried to do was adding the ROM command typedef struct MenuTag { rom char *menuItem; rom char comand; } Menu; Menu menuTest[] = { {"Menu", 0x00}, {"Graph", 0x00}, {"Dat", 0x00}, {"Min Max", 0x00}, {"Settings", 0x00}, {"", 0xFF}, }; If some one would be kind enough to point out where I might be going wrong I would be very grateful. Jos Goble
×
×
  • Create New...