mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
examples/suit_update: improve default module selection
This commit is contained in:
parent
bdecf57516
commit
fc8b20e4e9
@ -13,12 +13,9 @@ RIOTBASE ?= $(CURDIR)/../..
|
|||||||
# 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
|
||||||
|
|
||||||
# uncomment this to compile in support for a possibly available radio
|
|
||||||
#USEMODULE += netdev_default
|
|
||||||
|
|
||||||
USEMODULE += auto_init_gnrc_netif
|
USEMODULE += auto_init_gnrc_netif
|
||||||
# Specify the mandatory networking modules for IPv6 and UDP
|
# Specify the mandatory networking modules for IPv6 and UDP
|
||||||
USEMODULE += gnrc_ipv6_router_default
|
USEMODULE += gnrc_ipv6_default
|
||||||
USEMODULE += sock_udp
|
USEMODULE += sock_udp
|
||||||
# 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
|
||||||
@ -87,6 +84,8 @@ ifeq (1,$(USE_ETHOS))
|
|||||||
IFACE ?= riot0
|
IFACE ?= riot0
|
||||||
TERMPROG = $(RIOTTOOLS)/ethos/ethos
|
TERMPROG = $(RIOTTOOLS)/ethos/ethos
|
||||||
TERMFLAGS = $(IFACE) $(PORT)
|
TERMFLAGS = $(IFACE) $(PORT)
|
||||||
|
else
|
||||||
|
USEMODULE += netdev_default
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Ensure both slot bin files are always generated and linked to avoid compiling
|
# Ensure both slot bin files are always generated and linked to avoid compiling
|
||||||
|
Loading…
Reference in New Issue
Block a user