diff --git a/examples/ipv6/coap-example/Makefile b/examples/coap-example/Makefile
similarity index 98%
rename from examples/ipv6/coap-example/Makefile
rename to examples/coap-example/Makefile
index 1e5373698..1c8f2d21e 100644
--- a/examples/ipv6/coap-example/Makefile
+++ b/examples/coap-example/Makefile
@@ -1,7 +1,7 @@
all: coap-example-server coap-example-client
# use target "plugtest-server" explicitly when required
-CONTIKI=../../..
+CONTIKI=../..
# automatically build RESTful resources
REST_RESOURCES_DIR = ./resources
diff --git a/examples/ipv6/coap-example/README.md b/examples/coap-example/README.md
similarity index 100%
rename from examples/ipv6/coap-example/README.md
rename to examples/coap-example/README.md
diff --git a/examples/ipv6/coap-example/coap-example-client.c b/examples/coap-example/coap-example-client.c
similarity index 100%
rename from examples/ipv6/coap-example/coap-example-client.c
rename to examples/coap-example/coap-example-client.c
diff --git a/examples/ipv6/coap-example/coap-example-observe-client.c b/examples/coap-example/coap-example-observe-client.c
similarity index 100%
rename from examples/ipv6/coap-example/coap-example-observe-client.c
rename to examples/coap-example/coap-example-observe-client.c
diff --git a/examples/ipv6/coap-example/coap-example-server.c b/examples/coap-example/coap-example-server.c
similarity index 100%
rename from examples/ipv6/coap-example/coap-example-server.c
rename to examples/coap-example/coap-example-server.c
diff --git a/examples/ipv6/coap-example/in6addr.patch b/examples/coap-example/in6addr.patch
similarity index 100%
rename from examples/ipv6/coap-example/in6addr.patch
rename to examples/coap-example/in6addr.patch
diff --git a/examples/ipv6/coap-example/plugtest-server.c b/examples/coap-example/plugtest-server.c
similarity index 100%
rename from examples/ipv6/coap-example/plugtest-server.c
rename to examples/coap-example/plugtest-server.c
diff --git a/examples/ipv6/coap-example/plugtest.h b/examples/coap-example/plugtest.h
similarity index 100%
rename from examples/ipv6/coap-example/plugtest.h
rename to examples/coap-example/plugtest.h
diff --git a/examples/ipv6/coap-example/project-conf.h b/examples/coap-example/project-conf.h
similarity index 100%
rename from examples/ipv6/coap-example/project-conf.h
rename to examples/coap-example/project-conf.h
diff --git a/examples/ipv6/coap-example/resources/res-b1-sep-b2.c b/examples/coap-example/resources/res-b1-sep-b2.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-b1-sep-b2.c
rename to examples/coap-example/resources/res-b1-sep-b2.c
diff --git a/examples/ipv6/coap-example/resources/res-battery.c b/examples/coap-example/resources/res-battery.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-battery.c
rename to examples/coap-example/resources/res-battery.c
diff --git a/examples/ipv6/coap-example/resources/res-chunks.c b/examples/coap-example/resources/res-chunks.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-chunks.c
rename to examples/coap-example/resources/res-chunks.c
diff --git a/examples/ipv6/coap-example/resources/res-event.c b/examples/coap-example/resources/res-event.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-event.c
rename to examples/coap-example/resources/res-event.c
diff --git a/examples/ipv6/coap-example/resources/res-hello.c b/examples/coap-example/resources/res-hello.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-hello.c
rename to examples/coap-example/resources/res-hello.c
diff --git a/examples/ipv6/coap-example/resources/res-leds.c b/examples/coap-example/resources/res-leds.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-leds.c
rename to examples/coap-example/resources/res-leds.c
diff --git a/examples/ipv6/coap-example/resources/res-light.c b/examples/coap-example/resources/res-light.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-light.c
rename to examples/coap-example/resources/res-light.c
diff --git a/examples/ipv6/coap-example/resources/res-mirror.c b/examples/coap-example/resources/res-mirror.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-mirror.c
rename to examples/coap-example/resources/res-mirror.c
diff --git a/examples/ipv6/coap-example/resources/res-plugtest-create1.c b/examples/coap-example/resources/res-plugtest-create1.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-plugtest-create1.c
rename to examples/coap-example/resources/res-plugtest-create1.c
diff --git a/examples/ipv6/coap-example/resources/res-plugtest-create2.c b/examples/coap-example/resources/res-plugtest-create2.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-plugtest-create2.c
rename to examples/coap-example/resources/res-plugtest-create2.c
diff --git a/examples/ipv6/coap-example/resources/res-plugtest-create3.c b/examples/coap-example/resources/res-plugtest-create3.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-plugtest-create3.c
rename to examples/coap-example/resources/res-plugtest-create3.c
diff --git a/examples/ipv6/coap-example/resources/res-plugtest-large-create.c b/examples/coap-example/resources/res-plugtest-large-create.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-plugtest-large-create.c
rename to examples/coap-example/resources/res-plugtest-large-create.c
diff --git a/examples/ipv6/coap-example/resources/res-plugtest-large-update.c b/examples/coap-example/resources/res-plugtest-large-update.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-plugtest-large-update.c
rename to examples/coap-example/resources/res-plugtest-large-update.c
diff --git a/examples/ipv6/coap-example/resources/res-plugtest-large.c b/examples/coap-example/resources/res-plugtest-large.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-plugtest-large.c
rename to examples/coap-example/resources/res-plugtest-large.c
diff --git a/examples/ipv6/coap-example/resources/res-plugtest-links.c b/examples/coap-example/resources/res-plugtest-links.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-plugtest-links.c
rename to examples/coap-example/resources/res-plugtest-links.c
diff --git a/examples/ipv6/coap-example/resources/res-plugtest-locquery.c b/examples/coap-example/resources/res-plugtest-locquery.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-plugtest-locquery.c
rename to examples/coap-example/resources/res-plugtest-locquery.c
diff --git a/examples/ipv6/coap-example/resources/res-plugtest-longpath.c b/examples/coap-example/resources/res-plugtest-longpath.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-plugtest-longpath.c
rename to examples/coap-example/resources/res-plugtest-longpath.c
diff --git a/examples/ipv6/coap-example/resources/res-plugtest-multi.c b/examples/coap-example/resources/res-plugtest-multi.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-plugtest-multi.c
rename to examples/coap-example/resources/res-plugtest-multi.c
diff --git a/examples/ipv6/coap-example/resources/res-plugtest-obs.c b/examples/coap-example/resources/res-plugtest-obs.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-plugtest-obs.c
rename to examples/coap-example/resources/res-plugtest-obs.c
diff --git a/examples/ipv6/coap-example/resources/res-plugtest-path.c b/examples/coap-example/resources/res-plugtest-path.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-plugtest-path.c
rename to examples/coap-example/resources/res-plugtest-path.c
diff --git a/examples/ipv6/coap-example/resources/res-plugtest-query.c b/examples/coap-example/resources/res-plugtest-query.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-plugtest-query.c
rename to examples/coap-example/resources/res-plugtest-query.c
diff --git a/examples/ipv6/coap-example/resources/res-plugtest-separate.c b/examples/coap-example/resources/res-plugtest-separate.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-plugtest-separate.c
rename to examples/coap-example/resources/res-plugtest-separate.c
diff --git a/examples/ipv6/coap-example/resources/res-plugtest-test.c b/examples/coap-example/resources/res-plugtest-test.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-plugtest-test.c
rename to examples/coap-example/resources/res-plugtest-test.c
diff --git a/examples/ipv6/coap-example/resources/res-plugtest-validate.c b/examples/coap-example/resources/res-plugtest-validate.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-plugtest-validate.c
rename to examples/coap-example/resources/res-plugtest-validate.c
diff --git a/examples/ipv6/coap-example/resources/res-push.c b/examples/coap-example/resources/res-push.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-push.c
rename to examples/coap-example/resources/res-push.c
diff --git a/examples/ipv6/coap-example/resources/res-radio.c b/examples/coap-example/resources/res-radio.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-radio.c
rename to examples/coap-example/resources/res-radio.c
diff --git a/examples/ipv6/coap-example/resources/res-separate.c b/examples/coap-example/resources/res-separate.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-separate.c
rename to examples/coap-example/resources/res-separate.c
diff --git a/examples/ipv6/coap-example/resources/res-sht11.c b/examples/coap-example/resources/res-sht11.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-sht11.c
rename to examples/coap-example/resources/res-sht11.c
diff --git a/examples/ipv6/coap-example/resources/res-sub.c b/examples/coap-example/resources/res-sub.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-sub.c
rename to examples/coap-example/resources/res-sub.c
diff --git a/examples/ipv6/coap-example/resources/res-temperature.c b/examples/coap-example/resources/res-temperature.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-temperature.c
rename to examples/coap-example/resources/res-temperature.c
diff --git a/examples/ipv6/coap-example/resources/res-toggle.c b/examples/coap-example/resources/res-toggle.c
similarity index 100%
rename from examples/ipv6/coap-example/resources/res-toggle.c
rename to examples/coap-example/resources/res-toggle.c
diff --git a/examples/ipv6/coap-example/server-client-native.csc b/examples/coap-example/server-client-native.csc
similarity index 95%
rename from examples/ipv6/coap-example/server-client-native.csc
rename to examples/coap-example/server-client-native.csc
index d61cc89b0..db8daba1a 100644
--- a/examples/ipv6/coap-example/server-client-native.csc
+++ b/examples/coap-example/server-client-native.csc
@@ -48,9 +48,9 @@
org.contikios.cooja.mspmote.SkyMoteType
server
Erbium Server
-
+
make coap-example-server.sky TARGET=sky
- [CONTIKI_DIR]/examples/ipv6/coap-example/coap-example-server.sky
+ [CONTIKI_DIR]/examples/coap-example/coap-example-server.sky
org.contikios.cooja.interfaces.Position
org.contikios.cooja.interfaces.RimeAddress
org.contikios.cooja.interfaces.IPAddress
@@ -71,9 +71,9 @@
org.contikios.cooja.mspmote.SkyMoteType
client
Erbium Client
-
+
make coap-example-client.sky TARGET=sky
- [CONTIKI_DIR]/examples/ipv6/coap-example/coap-example-client.sky
+ [CONTIKI_DIR]/examples/coap-example/coap-example-client.sky
org.contikios.cooja.interfaces.Position
org.contikios.cooja.interfaces.RimeAddress
org.contikios.cooja.interfaces.IPAddress
diff --git a/examples/ipv6/coap-example/server-client-observe.csc b/examples/coap-example/server-client-observe.csc
similarity index 95%
rename from examples/ipv6/coap-example/server-client-observe.csc
rename to examples/coap-example/server-client-observe.csc
index ebedb70b9..709b85e9d 100644
--- a/examples/ipv6/coap-example/server-client-observe.csc
+++ b/examples/coap-example/server-client-observe.csc
@@ -48,9 +48,9 @@
org.contikios.cooja.mspmote.SkyMoteType
server
Erbium Server
-
+
make coap-example-server.sky TARGET=sky
- [CONTIKI_DIR]/examples/ipv6/coap-example/coap-example-server.sky
+ [CONTIKI_DIR]/examples/coap-example/coap-example-server.sky
org.contikios.cooja.interfaces.Position
org.contikios.cooja.interfaces.RimeAddress
org.contikios.cooja.interfaces.IPAddress
@@ -71,9 +71,9 @@
org.contikios.cooja.mspmote.SkyMoteType
client
Erbium Client
-
+
make coap-example-observe-client.sky TARGET=sky
- [CONTIKI_DIR]/examples/ipv6/coap-example/coap-example-observe-client.sky
+ [CONTIKI_DIR]/examples/coap-example/coap-example-observe-client.sky
org.contikios.cooja.interfaces.Position
org.contikios.cooja.interfaces.RimeAddress
org.contikios.cooja.interfaces.IPAddress
diff --git a/examples/ipv6/coap-example/server-client.csc b/examples/coap-example/server-client.csc
similarity index 95%
rename from examples/ipv6/coap-example/server-client.csc
rename to examples/coap-example/server-client.csc
index 8e8e75a09..e6d1212db 100644
--- a/examples/ipv6/coap-example/server-client.csc
+++ b/examples/coap-example/server-client.csc
@@ -48,9 +48,9 @@
org.contikios.cooja.mspmote.SkyMoteType
server
Erbium Server
-
+
make coap-example-server.sky TARGET=sky
- [CONTIKI_DIR]/examples/ipv6/coap-example/coap-example-server.sky
+ [CONTIKI_DIR]/examples/coap-example/coap-example-server.sky
org.contikios.cooja.interfaces.Position
org.contikios.cooja.interfaces.RimeAddress
org.contikios.cooja.interfaces.IPAddress
@@ -71,9 +71,9 @@
org.contikios.cooja.mspmote.SkyMoteType
client
Erbium Client
-
+
make coap-example-client.sky TARGET=sky
- [CONTIKI_DIR]/examples/ipv6/coap-example/coap-example-client.sky
+ [CONTIKI_DIR]/examples/coap-example/coap-example-client.sky
org.contikios.cooja.interfaces.Position
org.contikios.cooja.interfaces.RimeAddress
org.contikios.cooja.interfaces.IPAddress
diff --git a/examples/ipv6/coap-example/server-only.csc b/examples/coap-example/server-only.csc
similarity index 97%
rename from examples/ipv6/coap-example/server-only.csc
rename to examples/coap-example/server-only.csc
index 473b78357..11636cda4 100644
--- a/examples/ipv6/coap-example/server-only.csc
+++ b/examples/coap-example/server-only.csc
@@ -48,9 +48,9 @@
org.contikios.cooja.mspmote.SkyMoteType
server
Erbium Server
-
+
make coap-example-server.sky TARGET=sky
- [CONTIKI_DIR]/examples/ipv6/coap-example/coap-example-server.sky
+ [CONTIKI_DIR]/examples/coap-example/coap-example-server.sky
org.contikios.cooja.interfaces.Position
org.contikios.cooja.interfaces.RimeAddress
org.contikios.cooja.interfaces.IPAddress
diff --git a/tests/02-compile-arm-ports/Makefile b/tests/02-compile-arm-ports/Makefile
index 1836943bf..02fb871cb 100644
--- a/tests/02-compile-arm-ports/Makefile
+++ b/tests/02-compile-arm-ports/Makefile
@@ -14,7 +14,7 @@ platform-specific/cc26xx/very-sleepy-demo/srf06-cc26xx \
hello-world/cc2538dk \
ipv6/rpl-border-router/cc2538dk \
ipv6/rpl-udp/cc2538dk \
-ipv6/coap-example/cc2538dk \
+coap-example/cc2538dk \
ipso-objects/cc2538dk \
udp-echo-server/cc2538dk \
ipv6/multicast/cc2538dk \
@@ -27,7 +27,7 @@ platform-specific/cc2538-common/mqtt-demo/zoul \
platform-specific/cc2538-common/crypto/zoul \
platform-specific/cc2538-common/pka/zoul \
platform-specific/zoul/orion/ip64-router/zoul:BOARD=orion \
-ipv6/coap-example/zoul \
+coap-example/zoul \
ipso-objects/zoul \
hello-world/zoul \
sensniff/cc2538dk \