[Tinyos-help] set initial stack pointer on mica2
Matthias Philipp
enuba at gmx.de
Fri Mar 2 02:06:22 PST 2007
Hello list,
is there any way to specify the initial stack pointer address when
compiling TinyOS applications? The reason is, that I'd like to install a
monitor on the Atmega128 of a mica2 mote, that resides in the upper
memory from 0x1000 to 0x10FF (end of ram). So the stack pointer of any
additional applications has to start at 0x1000 for not to overwrite the
monitor.
I tried adding CFLAGS += -minit-stack=0x1000 to the Makefile, which had
no effect at all. Any ideas would be appreciated!
Thanks in advance, Matthias
More information about the Tinyos-help
mailing list