mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +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
|
USEMODULE += saul_nrf_temperature
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(findstring nrf52832, $(CPU_MODEL)))
|
ifneq (,$(filter nrf52811xxaa nrf52820xxaa rf52833xxaa nrf52840xxaa,$(CPU_MODEL)))
|
||||||
# include common nrf52832 dependencies
|
# include dependencies for 802.15.4 radio
|
||||||
include $(RIOTBOARD)/common/nrf52/nrf52832/Makefile.dep
|
include $(RIOTBOARD)/common/nrf52/Makefile.nrf802154.dep
|
||||||
else ifneq (,$(findstring nrf52840, $(CPU_MODEL)))
|
else
|
||||||
# include common nrf52840 dependencies
|
# include dependencies for BLE
|
||||||
include $(RIOTBOARD)/common/nrf52/nrf52840/Makefile.dep
|
include $(RIOTBOARD)/common/nrf52/Makefile.nimble.dep
|
||||||
endif
|
endif
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
|
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
|
||||||
ifeq (,$(filter nrfmin,$(USEMODULE)))
|
ifeq (,$(filter nrfmin nrf802154,$(USEMODULE)))
|
||||||
USEMODULE += nimble_netif
|
USEMODULE += nimble_netif
|
||||||
endif
|
endif
|
||||||
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