From a320b9458b8145602b1a9d698e609ac77875a7d7 Mon Sep 17 00:00:00 2001
From: kYc0o <fco.ja.ac@gmail.com>
Date: Thu, 18 May 2017 01:00:57 +0200
Subject: [PATCH] examples/gcoap: remove non-necessary dependencies

---
 examples/gcoap/Makefile      | 5 -----
 examples/gcoap/Makefile.slip | 5 -----
 2 files changed, 10 deletions(-)

diff --git a/examples/gcoap/Makefile b/examples/gcoap/Makefile
index 1ccbb18908..8d1513c2d1 100644
--- a/examples/gcoap/Makefile
+++ b/examples/gcoap/Makefile
@@ -26,17 +26,12 @@ BOARD_BLACKLIST := nrf52dk
 #GCOAP_TOKENLEN = 2
 #CFLAGS += -DGCOAP_TOKENLEN=$(GCOAP_TOKENLEN)
 
-USEPKG += nanocoap
-# Required by nanocoap, but only due to issue #5959.
-USEMODULE += posix
-
 # Include packages that pull up and auto-init the link layer.
 # NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
 USEMODULE += gnrc_netdev_default
 USEMODULE += auto_init_gnrc_netif
 # Specify the mandatory networking modules
 USEMODULE += gnrc_ipv6_default
-USEMODULE += gnrc_sock_udp
 USEMODULE += gcoap
 # Additional networking modules that can be dropped if not needed
 USEMODULE += gnrc_icmpv6_echo
diff --git a/examples/gcoap/Makefile.slip b/examples/gcoap/Makefile.slip
index 8cb8a5fec1..89fd8304d9 100644
--- a/examples/gcoap/Makefile.slip
+++ b/examples/gcoap/Makefile.slip
@@ -42,16 +42,11 @@ INCLUDES += -I$(CURDIR)
 CFLAGS += -DSLIP_UART=$(SLIP_UART)
 CFLAGS += -DSLIP_BAUDRATE=$(SLIP_BAUDRATE)
 
-USEPKG += nanocoap
-# Required by nanocoap, but only due to issue #5959.
-USEMODULE += posix
-
 # Include packages that pull up and auto-init the link layer.
 # NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
 USEMODULE += gnrc_netdev_default
 USEMODULE += auto_init_gnrc_netif
 # Specify the mandatory networking modules
-USEMODULE += gnrc_sock_udp
 USEMODULE += gcoap
 # Add a routing protocol
 USEMODULE += gnrc_rpl
-- 
GitLab