Hello all. I'm trying to allocate a circular buffer. The element is a 
user defined type containing two timestamps.
This all works great if my queue (array) size is 100 elements. But if I 
change it to 200 elements, the mote never boots.

     typedef struct WhiteSpaceStructure
     {
       uint32_t begin;
       uint32_t end;
     } WhiteSpace;

     WhiteSpace spaceQue[QUEUE_SIZE];

Any suggestions? I've considered using LogStorage (as in PacketParrot), 
but I'm if it is feasible to enque and deque several hundred objects per 
second.
Is there is a compiler flag that will allow me to user larger arrays.

FYI: I can't run tos-ramsize
$ tos-ramsize -verbosity=2 micaz ./build/micaz/main.exe
analyzing elf file './build/micaz/main.exe' for platform 'micaz'
there are:
   126 labels
   7788 instructions
tos-ramsize FAIL: cannot process raw store to SP at 2616 at 
/usr/local/bin/tos-ramsize line 1347.

I also can't use objdump:
$ objdump -d build/micaz/main.exe
build/micaz/main.exe:     file format elf32-little
objdump: can't disassemble for architecture UNKNOWN!

Ted Ward



_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to