|
From: Frederik H. <he...@in...> - 2009-11-04 11:28:58
|
Hi, On Wed, Nov 4, 2009 at 12:11 PM, Melanie Schranz <sch...@gm...> wrote: > The problem is that the MOTE displays that no Node ID is set. How to set now > this ID? There's a tool for this in contiki-2.3/platform/sky/apps/. It's named burn-nodeid. It lacks a Makefile though, but you could use this for a makefile: -- snip -- TARGET = sky CONTIKI_PROJECT=burn-nodeid all: $(CONTIKI_PROJECT) CONTIKI = ../../../ include $(CONTIKI)/Makefile.include -- snip -- Then you're able to set the node id to e.g. 42 using $ CFLAGS="-DNODEID=42" make burn-nodeid.upload Best regards, /Frederik |