Skip to content
Snippets Groups Projects
Commit a320b945 authored by kYc0o's avatar kYc0o
Browse files

examples/gcoap: remove non-necessary dependencies

parent db3a5453
No related branches found
No related tags found
No related merge requests found
...@@ -26,17 +26,12 @@ BOARD_BLACKLIST := nrf52dk ...@@ -26,17 +26,12 @@ BOARD_BLACKLIST := nrf52dk
#GCOAP_TOKENLEN = 2 #GCOAP_TOKENLEN = 2
#CFLAGS += -DGCOAP_TOKENLEN=$(GCOAP_TOKENLEN) #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. # Include packages that pull up and auto-init the link layer.
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present # NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
USEMODULE += gnrc_netdev_default USEMODULE += gnrc_netdev_default
USEMODULE += auto_init_gnrc_netif USEMODULE += auto_init_gnrc_netif
# Specify the mandatory networking modules # Specify the mandatory networking modules
USEMODULE += gnrc_ipv6_default USEMODULE += gnrc_ipv6_default
USEMODULE += gnrc_sock_udp
USEMODULE += gcoap USEMODULE += gcoap
# Additional networking modules that can be dropped if not needed # Additional networking modules that can be dropped if not needed
USEMODULE += gnrc_icmpv6_echo USEMODULE += gnrc_icmpv6_echo
......
...@@ -42,16 +42,11 @@ INCLUDES += -I$(CURDIR) ...@@ -42,16 +42,11 @@ INCLUDES += -I$(CURDIR)
CFLAGS += -DSLIP_UART=$(SLIP_UART) CFLAGS += -DSLIP_UART=$(SLIP_UART)
CFLAGS += -DSLIP_BAUDRATE=$(SLIP_BAUDRATE) 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. # Include packages that pull up and auto-init the link layer.
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present # NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
USEMODULE += gnrc_netdev_default USEMODULE += gnrc_netdev_default
USEMODULE += auto_init_gnrc_netif USEMODULE += auto_init_gnrc_netif
# Specify the mandatory networking modules # Specify the mandatory networking modules
USEMODULE += gnrc_sock_udp
USEMODULE += gcoap USEMODULE += gcoap
# Add a routing protocol # Add a routing protocol
USEMODULE += gnrc_rpl USEMODULE += gnrc_rpl
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment