diff --git a/examples/coap-example/Makefile b/examples/coap/Makefile
similarity index 100%
rename from examples/coap-example/Makefile
rename to examples/coap/Makefile
diff --git a/examples/coap-example/README.md b/examples/coap/README.md
similarity index 100%
rename from examples/coap-example/README.md
rename to examples/coap/README.md
diff --git a/examples/coap-example/coap-example-client.c b/examples/coap/coap-example-client.c
similarity index 100%
rename from examples/coap-example/coap-example-client.c
rename to examples/coap/coap-example-client.c
diff --git a/examples/coap-example/coap-example-observe-client.c b/examples/coap/coap-example-observe-client.c
similarity index 100%
rename from examples/coap-example/coap-example-observe-client.c
rename to examples/coap/coap-example-observe-client.c
diff --git a/examples/coap-example/coap-example-server.c b/examples/coap/coap-example-server.c
similarity index 100%
rename from examples/coap-example/coap-example-server.c
rename to examples/coap/coap-example-server.c
diff --git a/examples/coap-example/in6addr.patch b/examples/coap/in6addr.patch
similarity index 100%
rename from examples/coap-example/in6addr.patch
rename to examples/coap/in6addr.patch
diff --git a/examples/coap-example/plugtest-server.c b/examples/coap/plugtest-server.c
similarity index 100%
rename from examples/coap-example/plugtest-server.c
rename to examples/coap/plugtest-server.c
diff --git a/examples/coap-example/plugtest.h b/examples/coap/plugtest.h
similarity index 100%
rename from examples/coap-example/plugtest.h
rename to examples/coap/plugtest.h
diff --git a/examples/coap-example/project-conf.h b/examples/coap/project-conf.h
similarity index 100%
rename from examples/coap-example/project-conf.h
rename to examples/coap/project-conf.h
diff --git a/examples/coap-example/resources/res-b1-sep-b2.c b/examples/coap/resources/res-b1-sep-b2.c
similarity index 100%
rename from examples/coap-example/resources/res-b1-sep-b2.c
rename to examples/coap/resources/res-b1-sep-b2.c
diff --git a/examples/coap-example/resources/res-battery.c b/examples/coap/resources/res-battery.c
similarity index 100%
rename from examples/coap-example/resources/res-battery.c
rename to examples/coap/resources/res-battery.c
diff --git a/examples/coap-example/resources/res-chunks.c b/examples/coap/resources/res-chunks.c
similarity index 100%
rename from examples/coap-example/resources/res-chunks.c
rename to examples/coap/resources/res-chunks.c
diff --git a/examples/coap-example/resources/res-event.c b/examples/coap/resources/res-event.c
similarity index 100%
rename from examples/coap-example/resources/res-event.c
rename to examples/coap/resources/res-event.c
diff --git a/examples/coap-example/resources/res-hello.c b/examples/coap/resources/res-hello.c
similarity index 100%
rename from examples/coap-example/resources/res-hello.c
rename to examples/coap/resources/res-hello.c
diff --git a/examples/coap-example/resources/res-leds.c b/examples/coap/resources/res-leds.c
similarity index 100%
rename from examples/coap-example/resources/res-leds.c
rename to examples/coap/resources/res-leds.c
diff --git a/examples/coap-example/resources/res-light.c b/examples/coap/resources/res-light.c
similarity index 100%
rename from examples/coap-example/resources/res-light.c
rename to examples/coap/resources/res-light.c
diff --git a/examples/coap-example/resources/res-mirror.c b/examples/coap/resources/res-mirror.c
similarity index 100%
rename from examples/coap-example/resources/res-mirror.c
rename to examples/coap/resources/res-mirror.c
diff --git a/examples/coap-example/resources/res-plugtest-create1.c b/examples/coap/resources/res-plugtest-create1.c
similarity index 100%
rename from examples/coap-example/resources/res-plugtest-create1.c
rename to examples/coap/resources/res-plugtest-create1.c
diff --git a/examples/coap-example/resources/res-plugtest-create2.c b/examples/coap/resources/res-plugtest-create2.c
similarity index 100%
rename from examples/coap-example/resources/res-plugtest-create2.c
rename to examples/coap/resources/res-plugtest-create2.c
diff --git a/examples/coap-example/resources/res-plugtest-create3.c b/examples/coap/resources/res-plugtest-create3.c
similarity index 100%
rename from examples/coap-example/resources/res-plugtest-create3.c
rename to examples/coap/resources/res-plugtest-create3.c
diff --git a/examples/coap-example/resources/res-plugtest-large-create.c b/examples/coap/resources/res-plugtest-large-create.c
similarity index 100%
rename from examples/coap-example/resources/res-plugtest-large-create.c
rename to examples/coap/resources/res-plugtest-large-create.c
diff --git a/examples/coap-example/resources/res-plugtest-large-update.c b/examples/coap/resources/res-plugtest-large-update.c
similarity index 100%
rename from examples/coap-example/resources/res-plugtest-large-update.c
rename to examples/coap/resources/res-plugtest-large-update.c
diff --git a/examples/coap-example/resources/res-plugtest-large.c b/examples/coap/resources/res-plugtest-large.c
similarity index 100%
rename from examples/coap-example/resources/res-plugtest-large.c
rename to examples/coap/resources/res-plugtest-large.c
diff --git a/examples/coap-example/resources/res-plugtest-links.c b/examples/coap/resources/res-plugtest-links.c
similarity index 100%
rename from examples/coap-example/resources/res-plugtest-links.c
rename to examples/coap/resources/res-plugtest-links.c
diff --git a/examples/coap-example/resources/res-plugtest-locquery.c b/examples/coap/resources/res-plugtest-locquery.c
similarity index 100%
rename from examples/coap-example/resources/res-plugtest-locquery.c
rename to examples/coap/resources/res-plugtest-locquery.c
diff --git a/examples/coap-example/resources/res-plugtest-longpath.c b/examples/coap/resources/res-plugtest-longpath.c
similarity index 100%
rename from examples/coap-example/resources/res-plugtest-longpath.c
rename to examples/coap/resources/res-plugtest-longpath.c
diff --git a/examples/coap-example/resources/res-plugtest-multi.c b/examples/coap/resources/res-plugtest-multi.c
similarity index 100%
rename from examples/coap-example/resources/res-plugtest-multi.c
rename to examples/coap/resources/res-plugtest-multi.c
diff --git a/examples/coap-example/resources/res-plugtest-obs.c b/examples/coap/resources/res-plugtest-obs.c
similarity index 100%
rename from examples/coap-example/resources/res-plugtest-obs.c
rename to examples/coap/resources/res-plugtest-obs.c
diff --git a/examples/coap-example/resources/res-plugtest-path.c b/examples/coap/resources/res-plugtest-path.c
similarity index 100%
rename from examples/coap-example/resources/res-plugtest-path.c
rename to examples/coap/resources/res-plugtest-path.c
diff --git a/examples/coap-example/resources/res-plugtest-query.c b/examples/coap/resources/res-plugtest-query.c
similarity index 100%
rename from examples/coap-example/resources/res-plugtest-query.c
rename to examples/coap/resources/res-plugtest-query.c
diff --git a/examples/coap-example/resources/res-plugtest-separate.c b/examples/coap/resources/res-plugtest-separate.c
similarity index 100%
rename from examples/coap-example/resources/res-plugtest-separate.c
rename to examples/coap/resources/res-plugtest-separate.c
diff --git a/examples/coap-example/resources/res-plugtest-test.c b/examples/coap/resources/res-plugtest-test.c
similarity index 100%
rename from examples/coap-example/resources/res-plugtest-test.c
rename to examples/coap/resources/res-plugtest-test.c
diff --git a/examples/coap-example/resources/res-plugtest-validate.c b/examples/coap/resources/res-plugtest-validate.c
similarity index 100%
rename from examples/coap-example/resources/res-plugtest-validate.c
rename to examples/coap/resources/res-plugtest-validate.c
diff --git a/examples/coap-example/resources/res-push.c b/examples/coap/resources/res-push.c
similarity index 100%
rename from examples/coap-example/resources/res-push.c
rename to examples/coap/resources/res-push.c
diff --git a/examples/coap-example/resources/res-radio.c b/examples/coap/resources/res-radio.c
similarity index 100%
rename from examples/coap-example/resources/res-radio.c
rename to examples/coap/resources/res-radio.c
diff --git a/examples/coap-example/resources/res-separate.c b/examples/coap/resources/res-separate.c
similarity index 100%
rename from examples/coap-example/resources/res-separate.c
rename to examples/coap/resources/res-separate.c
diff --git a/examples/coap-example/resources/res-sht11.c b/examples/coap/resources/res-sht11.c
similarity index 100%
rename from examples/coap-example/resources/res-sht11.c
rename to examples/coap/resources/res-sht11.c
diff --git a/examples/coap-example/resources/res-sub.c b/examples/coap/resources/res-sub.c
similarity index 100%
rename from examples/coap-example/resources/res-sub.c
rename to examples/coap/resources/res-sub.c
diff --git a/examples/coap-example/resources/res-temperature.c b/examples/coap/resources/res-temperature.c
similarity index 100%
rename from examples/coap-example/resources/res-temperature.c
rename to examples/coap/resources/res-temperature.c
diff --git a/examples/coap-example/resources/res-toggle.c b/examples/coap/resources/res-toggle.c
similarity index 100%
rename from examples/coap-example/resources/res-toggle.c
rename to examples/coap/resources/res-toggle.c
diff --git a/examples/coap-example/server-client-native.csc b/examples/coap/server-client-native.csc
similarity index 96%
rename from examples/coap-example/server-client-native.csc
rename to examples/coap/server-client-native.csc
index db8daba1a17de3e0b8eefe43ee8207f08e7c999a..cec9ca8a76851b3cc8c953effdda10a47db32b6c 100644
--- a/examples/coap-example/server-client-native.csc
+++ b/examples/coap/server-client-native.csc
@@ -48,9 +48,9 @@
       org.contikios.cooja.mspmote.SkyMoteType
       <identifier>server</identifier>
       <description>Erbium Server</description>
-      <source EXPORT="discard">[CONTIKI_DIR]/examples/coap-example/coap-example-server.c</source>
+      <source EXPORT="discard">[CONTIKI_DIR]/examples/coap/coap-example-server.c</source>
       <commands EXPORT="discard">make coap-example-server.sky TARGET=sky</commands>
-      <firmware EXPORT="copy">[CONTIKI_DIR]/examples/coap-example/coap-example-server.sky</firmware>
+      <firmware EXPORT="copy">[CONTIKI_DIR]/examples/coap/coap-example-server.sky</firmware>
       <moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
       <moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
       <moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
@@ -71,9 +71,9 @@
       org.contikios.cooja.mspmote.SkyMoteType
       <identifier>client</identifier>
       <description>Erbium Client</description>
-      <source EXPORT="discard">[CONTIKI_DIR]/examples/coap-example/coap-example-client.c</source>
+      <source EXPORT="discard">[CONTIKI_DIR]/examples/coap/coap-example-client.c</source>
       <commands EXPORT="discard">make coap-example-client.sky TARGET=sky</commands>
-      <firmware EXPORT="copy">[CONTIKI_DIR]/examples/coap-example/coap-example-client.sky</firmware>
+      <firmware EXPORT="copy">[CONTIKI_DIR]/examples/coap/coap-example-client.sky</firmware>
       <moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
       <moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
       <moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
diff --git a/examples/coap-example/server-client-observe.csc b/examples/coap/server-client-observe.csc
similarity index 95%
rename from examples/coap-example/server-client-observe.csc
rename to examples/coap/server-client-observe.csc
index 0b6c51d4409fae5b1da093334546dae576e942b0..a7c9cca8b8409b051c56e5eff56d5f263d120175 100644
--- a/examples/coap-example/server-client-observe.csc
+++ b/examples/coap/server-client-observe.csc
@@ -48,9 +48,9 @@
       org.contikios.cooja.mspmote.SkyMoteType
       <identifier>server</identifier>
       <description>Erbium Server</description>
-      <source EXPORT="discard">[CONTIKI_DIR]/examples/coap-example/coap-example-server.c</source>
+      <source EXPORT="discard">[CONTIKI_DIR]/examples/coap/coap-example-server.c</source>
       <commands EXPORT="discard">make coap-example-server.sky TARGET=sky</commands>
-      <firmware EXPORT="copy">[CONTIKI_DIR]/examples/coap-example/coap-example-server.sky</firmware>
+      <firmware EXPORT="copy">[CONTIKI_DIR]/examples/coap/coap-example-server.sky</firmware>
       <moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
       <moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
       <moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
@@ -71,9 +71,9 @@
       org.contikios.cooja.mspmote.SkyMoteType
       <identifier>client</identifier>
       <description>Erbium Client</description>
-      <source EXPORT="discard">[CONTIKI_DIR]/examples/coap-example/coap-example-observe-client.c</source>
+      <source EXPORT="discard">[CONTIKI_DIR]/examples/coap/coap-example-observe-client.c</source>
       <commands EXPORT="discard">make coap-example-observe-client.sky TARGET=sky</commands>
-      <firmware EXPORT="copy">[CONTIKI_DIR]/examples/coap-example/coap-example-observe-client.sky</firmware>
+      <firmware EXPORT="copy">[CONTIKI_DIR]/examples/coap/coap-example-observe-client.sky</firmware>
       <moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
       <moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
       <moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
diff --git a/examples/coap-example/server-client.csc b/examples/coap/server-client.csc
similarity index 96%
rename from examples/coap-example/server-client.csc
rename to examples/coap/server-client.csc
index 9e8353d7970b27272374187b28dd76a11942af70..a649d048ab3d795ca44f87dca72fe4342f0501b3 100644
--- a/examples/coap-example/server-client.csc
+++ b/examples/coap/server-client.csc
@@ -48,9 +48,9 @@
       org.contikios.cooja.mspmote.SkyMoteType
       <identifier>server</identifier>
       <description>Erbium Server</description>
-      <source EXPORT="discard">[CONTIKI_DIR]/examples/coap-example/coap-example-server.c</source>
+      <source EXPORT="discard">[CONTIKI_DIR]/examples/coap/coap-example-server.c</source>
       <commands EXPORT="discard">make coap-example-server.sky TARGET=sky</commands>
-      <firmware EXPORT="copy">[CONTIKI_DIR]/examples/coap-example/coap-example-server.sky</firmware>
+      <firmware EXPORT="copy">[CONTIKI_DIR]/examples/coap/coap-example-server.sky</firmware>
       <moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
       <moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
       <moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
@@ -71,9 +71,9 @@
       org.contikios.cooja.mspmote.SkyMoteType
       <identifier>client</identifier>
       <description>Erbium Client</description>
-      <source EXPORT="discard">[CONTIKI_DIR]/examples/coap-example/coap-example-client.c</source>
+      <source EXPORT="discard">[CONTIKI_DIR]/examples/coap/coap-example-client.c</source>
       <commands EXPORT="discard">make coap-example-client.sky TARGET=sky</commands>
-      <firmware EXPORT="copy">[CONTIKI_DIR]/examples/coap-example/coap-example-client.sky</firmware>
+      <firmware EXPORT="copy">[CONTIKI_DIR]/examples/coap/coap-example-client.sky</firmware>
       <moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
       <moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
       <moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
diff --git a/examples/coap-example/server-only.csc b/examples/coap/server-only.csc
similarity index 97%
rename from examples/coap-example/server-only.csc
rename to examples/coap/server-only.csc
index 683a96a38e17e4ada0905a5d441e39bded6d57a4..715deae1c192536da44e82a4195af9de10154bdd 100644
--- a/examples/coap-example/server-only.csc
+++ b/examples/coap/server-only.csc
@@ -48,9 +48,9 @@
       org.contikios.cooja.mspmote.SkyMoteType
       <identifier>server</identifier>
       <description>Erbium Server</description>
-      <source EXPORT="discard">[CONTIKI_DIR]/examples/coap-example/coap-example-server.c</source>
+      <source EXPORT="discard">[CONTIKI_DIR]/examples/coap/coap-example-server.c</source>
       <commands EXPORT="discard">make coap-example-server.sky TARGET=sky</commands>
-      <firmware EXPORT="copy">[CONTIKI_DIR]/examples/coap-example/coap-example-server.sky</firmware>
+      <firmware EXPORT="copy">[CONTIKI_DIR]/examples/coap/coap-example-server.sky</firmware>
       <moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
       <moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>
       <moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface>
diff --git a/tests/02-compile-arm-ports/Makefile b/tests/02-compile-arm-ports/Makefile
index 172769621aac38b3d55b36243183ddd386242f3f..c6dddad5e805c42e6f31b14625b25a9e92c0e385 100644
--- a/tests/02-compile-arm-ports/Makefile
+++ b/tests/02-compile-arm-ports/Makefile
@@ -16,7 +16,7 @@ rpl-border-router/cc2538dk \
 rpl-border-router/srf06-cc26xx:BOARD=launchpad/cc2650 \
 rpl-border-router/zoul \
 rpl-udp/cc2538dk \
-coap-example/cc2538dk \
+coap/cc2538dk \
 slip-radio/cc2538dk \
 ipso-objects/cc2538dk \
 multicast/cc2538dk \
@@ -29,7 +29,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 \
-coap-example/zoul \
+coap/zoul \
 ipso-objects/zoul \
 hello-world/zoul \
 sensniff/cc2538dk \