mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/nrf52/Makefile.dep: move radio dependencies from boards/common
This commit is contained in:
parent
36d1911e65
commit
c9de733c52
@ -1,11 +1,3 @@
|
||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||
USEMODULE += saul_nrf_temperature
|
||||
endif
|
||||
|
||||
ifneq (,$(filter nrf52811xxaa nrf52820xxaa nrf52833xxaa 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,10 @@
|
||||
USEMODULE += boards_common_e104_bt50xxa_tb
|
||||
|
||||
# use nrfmin for GNRC as nimble is too large for the board
|
||||
include $(RIOTBOARD)/common/nrf52/Makefile.nrfmin.dep
|
||||
ifneq (,$(filter netdev_default,$(USEMODULE)))
|
||||
ifeq (,$(filter nimble_% nrf802154,$(USEMODULE)))
|
||||
USEMODULE += nrfmin
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(RIOTBOARD)/common/e104-bt50xxa-tb/Makefile.dep
|
||||
|
@ -1,5 +1,13 @@
|
||||
USEMODULE += nrf52_vectors
|
||||
|
||||
ifneq (,$(filter nrf52811xxaa nrf52820xxaa nrf52833xxaa nrf52840xxaa,$(CPU_MODEL)))
|
||||
# include dependencies for 802.15.4 radio
|
||||
include $(RIOTCPU)/nrf52/Makefile.nrf802154.dep
|
||||
else
|
||||
# include dependencies for BLE
|
||||
include $(RIOTCPU)/nrf52/Makefile.nimble.dep
|
||||
endif
|
||||
|
||||
ifneq (,$(filter nrf802154,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_timer
|
||||
FEATURES_REQUIRED += radio_nrf802154
|
||||
|
Loading…
Reference in New Issue
Block a user