Move packet-processing inside rpl-udp, an example which it already relied on

This commit is contained in:
Simon Duquennoy 2017-10-30 16:42:18 +01:00 committed by George Oikonomou
parent a473de7e1f
commit 564398b44f
4 changed files with 3 additions and 14 deletions

View File

@ -1,11 +0,0 @@
all: packet-debug ../rpl-udp/udp-server
CONTIKI=../..
ifdef SERVER_REPLY
CFLAGS+=-DSERVER_REPLY=$(SERVER_REPLY)
endif
ifdef PERIOD
CFLAGS+=-DPERIOD=$(PERIOD)
endif
include $(CONTIKI)/Makefile.include

View File

@ -1,4 +1,4 @@
all: udp-client udp-server
all: udp-client udp-server udp-client-packet-debug
CONTIKI=../..
ifdef SERVER_REPLY

View File

@ -47,9 +47,9 @@
org.contikios.cooja.mspmote.SkyMoteType
<identifier>sky2</identifier>
<description>Sky Mote Type #sky2</description>
<source EXPORT="discard">[CONTIKI_DIR]/examples/packet-processing/packet-debug.c</source>
<source EXPORT="discard">[CONTIKI_DIR]/examples/rpl-udp/udp-client-packet-debug.c</source>
<commands EXPORT="discard">make clean packet-debug.sky TARGET=sky</commands>
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/packet-processing/packet-debug.sky</firmware>
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/rpl-udp/udp-client-packet-debug.sky</firmware>
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
<moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>