Merge pull request #17552 from HendrikVE/pr/examples/gcoap_dtls
examples/gcoap_dtls: match Makefile of examples/gcoap
This commit is contained in:
commit
cbe9d6967b
@ -12,12 +12,22 @@ RIOTBASE ?= $(CURDIR)/../..
|
||||
# Include packages that pull up and auto-init the link layer.
|
||||
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
|
||||
USEMODULE += netdev_default
|
||||
|
||||
# use GNRC by default
|
||||
LWIP ?= 0
|
||||
|
||||
ifeq (0,$(LWIP))
|
||||
USEMODULE += auto_init_gnrc_netif
|
||||
# Specify the mandatory networking modules
|
||||
USEMODULE += gnrc_ipv6_default
|
||||
USEMODULE += gcoap
|
||||
# Additional networking modules that can be dropped if not needed
|
||||
USEMODULE += gnrc_icmpv6_echo
|
||||
else
|
||||
USEMODULE += lwip_ipv6
|
||||
USEMODULE += lwip_netdev
|
||||
endif
|
||||
|
||||
USEMODULE += gcoap
|
||||
|
||||
# Required by gcoap example
|
||||
USEMODULE += od
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user