boards/common/nrf52: add shared dependency files for nrf52

This commit is contained in:
Alexandre Abadie 2019-07-04 11:57:37 +02:00
parent 0778774656
commit 0d62accfef
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,5 @@
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
ifeq (,$(filter nordic_softdevice_ble nrfmin,$(USEMODULE) $(USEPKG)))
USEMODULE += nimble_netif
endif
endif

View File

@ -0,0 +1,5 @@
ifneq (,$(filter gnrc_netdev_default netdev_default,$(USEMODULE)))
ifeq (,$(filter nimble_netif nrfmin,$(USEMODULE)))
USEMODULE += nrf802154
endif
endif