mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:32:45 +01:00
boards/nrf52: resolve netdev dependencies for all family members
This commit is contained in:
parent
fea9e68b88
commit
bfb7cbfa4d
@ -2,10 +2,10 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||
USEMODULE += saul_nrf_temperature
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring nrf52832, $(CPU_MODEL)))
|
||||
# include common nrf52832 dependencies
|
||||
include $(RIOTBOARD)/common/nrf52/nrf52832/Makefile.dep
|
||||
else ifneq (,$(findstring nrf52840, $(CPU_MODEL)))
|
||||
# include common nrf52840 dependencies
|
||||
include $(RIOTBOARD)/common/nrf52/nrf52840/Makefile.dep
|
||||
ifneq (,$(filter nrf52811xxaa nrf52820xxaa rf52833xxaa nrf52840xxaa,$(CPU_MODEL)))
|
||||
# include dependencies for 802.15.4 radio
|
||||
include $(RIOTBOARD)/common/nrf52/Makefile.nrf802154.dep
|
||||
else
|
||||
# include dependencies for BLE
|
||||
include $(RIOTBOARD)/common/nrf52/Makefile.nimble.dep
|
||||
endif
|
||||
|
@ -1,5 +1,5 @@
|
||||
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
|
||||
ifeq (,$(filter nrfmin,$(USEMODULE)))
|
||||
ifeq (,$(filter nrfmin nrf802154,$(USEMODULE)))
|
||||
USEMODULE += nimble_netif
|
||||
endif
|
||||
endif
|
5
boards/common/nrf52/Makefile.nrfmin.dep
Normal file
5
boards/common/nrf52/Makefile.nrfmin.dep
Normal file
@ -0,0 +1,5 @@
|
||||
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
|
||||
ifeq (,$(filter nimble_% nrf802154,$(USEMODULE)))
|
||||
USEMODULE += nrfmin
|
||||
endif
|
||||
endif
|
Loading…
Reference in New Issue
Block a user