From fc8b20e4e91f0b460f2ab064f37b200a73afc511 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Fri, 10 Mar 2023 01:39:08 +0100 Subject: [PATCH] examples/suit_update: improve default module selection --- examples/suit_update/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/suit_update/Makefile b/examples/suit_update/Makefile index b00db43999..0a5712222f 100644 --- a/examples/suit_update/Makefile +++ b/examples/suit_update/Makefile @@ -13,12 +13,9 @@ 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 -# uncomment this to compile in support for a possibly available radio -#USEMODULE += netdev_default - USEMODULE += auto_init_gnrc_netif # Specify the mandatory networking modules for IPv6 and UDP -USEMODULE += gnrc_ipv6_router_default +USEMODULE += gnrc_ipv6_default USEMODULE += sock_udp # Additional networking modules that can be dropped if not needed USEMODULE += gnrc_icmpv6_echo @@ -87,6 +84,8 @@ ifeq (1,$(USE_ETHOS)) IFACE ?= riot0 TERMPROG = $(RIOTTOOLS)/ethos/ethos TERMFLAGS = $(IFACE) $(PORT) +else + USEMODULE += netdev_default endif # Ensure both slot bin files are always generated and linked to avoid compiling