examples: only include gnrc for board with netif
This commit is contained in:
parent
d71abdf980
commit
0e3669b957
@ -34,6 +34,11 @@ USEMODULE += shell_commands
|
|||||||
USEMODULE += ps
|
USEMODULE += ps
|
||||||
USEMODULE += config
|
USEMODULE += config
|
||||||
|
|
||||||
|
BOARD_PROVIDES_NETIF := airfy-beacon fox iotlab-m3 mulle native nrf51dongle \
|
||||||
|
nrf6310 pba-d-01-kw2x pca10000 pca10005 saml21-xpro samr21-xpro spark-core \
|
||||||
|
yunjia-nrf51822
|
||||||
|
|
||||||
|
ifneq (,$(filter $(BOARD),$(BOARD_PROVIDES_NETIF)))
|
||||||
# Use modules for networking
|
# Use modules for networking
|
||||||
# gnrc is a meta module including all required, basic gnrc networking modules
|
# gnrc is a meta module including all required, basic gnrc networking modules
|
||||||
USEMODULE += gnrc
|
USEMODULE += gnrc
|
||||||
@ -43,6 +48,7 @@ USEMODULE += gnrc_netif_default
|
|||||||
USEMODULE += auto_init_gnrc_netif
|
USEMODULE += auto_init_gnrc_netif
|
||||||
# the application dumps received packets to stdout
|
# the application dumps received packets to stdout
|
||||||
USEMODULE += gnrc_pktdump
|
USEMODULE += gnrc_pktdump
|
||||||
|
endif
|
||||||
|
|
||||||
FEATURES_OPTIONAL += config
|
FEATURES_OPTIONAL += config
|
||||||
FEATURES_OPTIONAL += periph_rtc
|
FEATURES_OPTIONAL += periph_rtc
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user