Re-arrange examples, in particular, move platform-specific examples to examples/platform-specific
@ -1,7 +1,7 @@
|
|||||||
all: er-example-server er-example-client
|
all: er-example-server er-example-client
|
||||||
# use target "er-plugtest-server" explicitly when requried
|
# use target "er-plugtest-server" explicitly when requried
|
||||||
|
|
||||||
CONTIKI=../..
|
CONTIKI=../../..
|
||||||
|
|
||||||
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
examples/ipv6/er-rest-example<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<simconf>
|
<simconf>
|
||||||
<project EXPORT="discard">[APPS_DIR]/mrm</project>
|
<project EXPORT="discard">[APPS_DIR]/mrm</project>
|
||||||
<project EXPORT="discard">[APPS_DIR]/mspsim</project>
|
<project EXPORT="discard">[APPS_DIR]/mspsim</project>
|
||||||
@ -48,9 +48,9 @@
|
|||||||
org.contikios.cooja.mspmote.SkyMoteType
|
org.contikios.cooja.mspmote.SkyMoteType
|
||||||
<identifier>server</identifier>
|
<identifier>server</identifier>
|
||||||
<description>Erbium Server</description>
|
<description>Erbium Server</description>
|
||||||
<source EXPORT="discard">[CONTIKI_DIR]/examples/er-rest-example/er-example-server.c</source>
|
<source EXPORT="discard">[CONTIKI_DIR]/examples/ipv6/er-rest-example/er-example-server.c</source>
|
||||||
<commands EXPORT="discard">make er-example-server.sky TARGET=sky</commands>
|
<commands EXPORT="discard">make er-example-server.sky TARGET=sky</commands>
|
||||||
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/er-rest-example/er-example-server.sky</firmware>
|
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/ipv6/er-rest-example/er-example-server.sky</firmware>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
|
||||||
@ -71,9 +71,9 @@
|
|||||||
org.contikios.cooja.mspmote.SkyMoteType
|
org.contikios.cooja.mspmote.SkyMoteType
|
||||||
<identifier>client</identifier>
|
<identifier>client</identifier>
|
||||||
<description>Erbium Client</description>
|
<description>Erbium Client</description>
|
||||||
<source EXPORT="discard">[CONTIKI_DIR]/examples/er-rest-example/er-example-client.c</source>
|
<source EXPORT="discard">[CONTIKI_DIR]/examples/ipv6/er-rest-example/er-example-client.c</source>
|
||||||
<commands EXPORT="discard">make er-example-client.sky TARGET=sky</commands>
|
<commands EXPORT="discard">make er-example-client.sky TARGET=sky</commands>
|
||||||
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/er-rest-example/er-example-client.sky</firmware>
|
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/ipv6/er-rest-example/er-example-client.sky</firmware>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
|
@ -48,9 +48,9 @@
|
|||||||
org.contikios.cooja.mspmote.SkyMoteType
|
org.contikios.cooja.mspmote.SkyMoteType
|
||||||
<identifier>server</identifier>
|
<identifier>server</identifier>
|
||||||
<description>Erbium Server</description>
|
<description>Erbium Server</description>
|
||||||
<source EXPORT="discard">[CONTIKI_DIR]/examples/er-rest-example/er-example-server.c</source>
|
<source EXPORT="discard">[CONTIKI_DIR]/examples/ipv6/er-rest-example/er-example-server.c</source>
|
||||||
<commands EXPORT="discard">make er-example-server.sky TARGET=sky</commands>
|
<commands EXPORT="discard">make er-example-server.sky TARGET=sky</commands>
|
||||||
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/er-rest-example/er-example-server.sky</firmware>
|
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/ipv6/er-rest-example/er-example-server.sky</firmware>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
|
||||||
@ -71,9 +71,9 @@
|
|||||||
org.contikios.cooja.mspmote.SkyMoteType
|
org.contikios.cooja.mspmote.SkyMoteType
|
||||||
<identifier>client</identifier>
|
<identifier>client</identifier>
|
||||||
<description>Erbium Client</description>
|
<description>Erbium Client</description>
|
||||||
<source EXPORT="discard">[CONTIKI_DIR]/examples/er-rest-example/er-example-observe-client.c</source>
|
<source EXPORT="discard">[CONTIKI_DIR]/examples/ipv6/er-rest-example/er-example-observe-client.c</source>
|
||||||
<commands EXPORT="discard">make er-example-observe-client.sky TARGET=sky</commands>
|
<commands EXPORT="discard">make er-example-observe-client.sky TARGET=sky</commands>
|
||||||
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/er-rest-example/er-example-observe-client.sky</firmware>
|
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/ipv6/er-rest-example/er-example-observe-client.sky</firmware>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
|
@ -48,9 +48,9 @@
|
|||||||
org.contikios.cooja.mspmote.SkyMoteType
|
org.contikios.cooja.mspmote.SkyMoteType
|
||||||
<identifier>server</identifier>
|
<identifier>server</identifier>
|
||||||
<description>Erbium Server</description>
|
<description>Erbium Server</description>
|
||||||
<source EXPORT="discard">[CONTIKI_DIR]/examples/er-rest-example/er-example-server.c</source>
|
<source EXPORT="discard">[CONTIKI_DIR]/examples/ipv6/er-rest-example/er-example-server.c</source>
|
||||||
<commands EXPORT="discard">make er-example-server.sky TARGET=sky</commands>
|
<commands EXPORT="discard">make er-example-server.sky TARGET=sky</commands>
|
||||||
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/er-rest-example/er-example-server.sky</firmware>
|
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/ipv6/er-rest-example/er-example-server.sky</firmware>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
|
||||||
@ -71,9 +71,9 @@
|
|||||||
org.contikios.cooja.mspmote.SkyMoteType
|
org.contikios.cooja.mspmote.SkyMoteType
|
||||||
<identifier>client</identifier>
|
<identifier>client</identifier>
|
||||||
<description>Erbium Client</description>
|
<description>Erbium Client</description>
|
||||||
<source EXPORT="discard">[CONTIKI_DIR]/examples/er-rest-example/er-example-client.c</source>
|
<source EXPORT="discard">[CONTIKI_DIR]/examples/ipv6/er-rest-example/er-example-client.c</source>
|
||||||
<commands EXPORT="discard">make er-example-client.sky TARGET=sky</commands>
|
<commands EXPORT="discard">make er-example-client.sky TARGET=sky</commands>
|
||||||
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/er-rest-example/er-example-client.sky</firmware>
|
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/ipv6/er-rest-example/er-example-client.sky</firmware>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
|
@ -48,9 +48,9 @@
|
|||||||
org.contikios.cooja.mspmote.SkyMoteType
|
org.contikios.cooja.mspmote.SkyMoteType
|
||||||
<identifier>server</identifier>
|
<identifier>server</identifier>
|
||||||
<description>Erbium Server</description>
|
<description>Erbium Server</description>
|
||||||
<source EXPORT="discard">[CONTIKI_DIR]/examples/er-rest-example/er-example-server.c</source>
|
<source EXPORT="discard">[CONTIKI_DIR]/examples/ipv6/er-rest-example/er-example-server.c</source>
|
||||||
<commands EXPORT="discard">make er-example-server.sky TARGET=sky</commands>
|
<commands EXPORT="discard">make er-example-server.sky TARGET=sky</commands>
|
||||||
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/er-rest-example/er-example-server.sky</firmware>
|
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/ipv6/er-rest-example/er-example-server.sky</firmware>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
|
||||||
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
|
<moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
|
@ -1,6 +1,6 @@
|
|||||||
all: udp-server udp-client
|
all: udp-server udp-client
|
||||||
|
|
||||||
CONTIKI = ../..
|
CONTIKI = ../../..
|
||||||
CONTIKI_WITH_IPV6 = 1
|
CONTIKI_WITH_IPV6 = 1
|
||||||
CFLAGS += -DUIP_CONF_ND6_SEND_NS=1
|
CFLAGS += -DUIP_CONF_ND6_SEND_NS=1
|
||||||
include $(CONTIKI)/Makefile.include
|
include $(CONTIKI)/Makefile.include
|
@ -3,5 +3,5 @@ CONTIKI_PROJECT = test-pwm timer-test test-uart
|
|||||||
|
|
||||||
all: $(CONTIKI_PROJECT)
|
all: $(CONTIKI_PROJECT)
|
||||||
|
|
||||||
CONTIKI = ../..
|
CONTIKI = ../../..
|
||||||
include $(CONTIKI)/Makefile.include
|
include $(CONTIKI)/Makefile.include
|
@ -3,5 +3,5 @@ CONTIKI_PROJECT += sha256-test
|
|||||||
|
|
||||||
all: $(CONTIKI_PROJECT)
|
all: $(CONTIKI_PROJECT)
|
||||||
|
|
||||||
CONTIKI = ../../..
|
CONTIKI = ../../../..
|
||||||
include $(CONTIKI)/Makefile.include
|
include $(CONTIKI)/Makefile.include
|
@ -6,5 +6,5 @@ CONTIKI_WITH_IPV6 = 1
|
|||||||
|
|
||||||
APPS += mqtt
|
APPS += mqtt
|
||||||
|
|
||||||
CONTIKI = ../../..
|
CONTIKI = ../../../..
|
||||||
include $(CONTIKI)/Makefile.include
|
include $(CONTIKI)/Makefile.include
|
@ -2,5 +2,5 @@ CONTIKI_PROJECT = ecc-ecdh ecc-sign ecc-verify
|
|||||||
|
|
||||||
all: $(CONTIKI_PROJECT)
|
all: $(CONTIKI_PROJECT)
|
||||||
|
|
||||||
CONTIKI = ../../..
|
CONTIKI = ../../../..
|
||||||
include $(CONTIKI)/Makefile.include
|
include $(CONTIKI)/Makefile.include
|
@ -3,6 +3,6 @@ CONTIKI_PROJECT = cc2538-demo
|
|||||||
|
|
||||||
all: $(CONTIKI_PROJECT)
|
all: $(CONTIKI_PROJECT)
|
||||||
|
|
||||||
CONTIKI = ../..
|
CONTIKI = ../../..
|
||||||
CONTIKI_WITH_RIME = 1
|
CONTIKI_WITH_RIME = 1
|
||||||
include $(CONTIKI)/Makefile.include
|
include $(CONTIKI)/Makefile.include
|
@ -2,7 +2,7 @@ CONTIKI_PROJECT = udp-echo-server
|
|||||||
|
|
||||||
all: $(CONTIKI_PROJECT)
|
all: $(CONTIKI_PROJECT)
|
||||||
|
|
||||||
CONTIKI = ../../..
|
CONTIKI = ../../../..
|
||||||
CONTIKI_WITH_IPV6 = 1
|
CONTIKI_WITH_IPV6 = 1
|
||||||
CFLAGS += -DUIP_CONF_ND6_SEND_NS=1
|
CFLAGS += -DUIP_CONF_ND6_SEND_NS=1
|
||||||
include $(CONTIKI)/Makefile.include
|
include $(CONTIKI)/Makefile.include
|
@ -5,5 +5,5 @@ all: $(CONTIKI_PROJECT)
|
|||||||
|
|
||||||
CONTIKI_WITH_IPV6 = 1
|
CONTIKI_WITH_IPV6 = 1
|
||||||
|
|
||||||
CONTIKI = ../..
|
CONTIKI = ../../..
|
||||||
include $(CONTIKI)/Makefile.include
|
include $(CONTIKI)/Makefile.include
|
@ -20,5 +20,5 @@ APPS += er-coap
|
|||||||
APPS += rest-engine
|
APPS += rest-engine
|
||||||
APPS += mqtt
|
APPS += mqtt
|
||||||
|
|
||||||
CONTIKI=../../..
|
CONTIKI=../../../..
|
||||||
include $(CONTIKI)/Makefile.include
|
include $(CONTIKI)/Makefile.include
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 274 KiB After Width: | Height: | Size: 274 KiB |
Before Width: | Height: | Size: 155 KiB After Width: | Height: | Size: 155 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 8.9 KiB |