[Tinyos-help] Allocate a table in ROM

2007-03-12 Thread Imanol Padillo
Hi all! I have a table with constant values, so I need to allocate it in ROM for save RAM memory. How can I do the declaration of my table? My table is in an external file called table.h and I include it on the top of my *.nc file like this: includes table; The table.h file has this shape:

Re: [Tinyos-help] Allocate a table in ROM

2007-03-12 Thread Benjamin Madore
On Mon, March 12, 2007 6:29 am, Imanol Padillo said: I have a table with constant values, so I need to allocate it in ROM for save RAM memory. How can I do the declaration of my table? ... With const declaration it seems that the table is allocated in RAM. Why have I to declarate my table?