1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/nrf52: factorize even more dependencies

This commit is contained in:
Alexandre Abadie 2019-10-01 21:26:48 +02:00
parent 7c4511efff
commit a2308b65a2
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
8 changed files with 10 additions and 22 deletions

View File

@ -1,4 +1 @@
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.dep
# include common nrf52832 dependencies
include $(RIOTBOARD)/common/nrf52/nrf52832/Makefile.dep

View File

@ -2,4 +2,10 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += saul_nrf_temperature
endif
include $(RIOTCPU)/nrf52/Makefile.dep
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
endif

View File

@ -2,7 +2,5 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += saul_gpio
endif
# include common nrf52840 dependencies
include $(RIOTBOARD)/common/nrf52/nrf52840/Makefile.dep
# include common nrf52 dependencies
include $(RIOTBOARD)/common/nrf52/Makefile.dep

View File

@ -2,7 +2,5 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += saul_gpio
endif
# include common nrf52832 dependencies
include $(RIOTBOARD)/common/nrf52/nrf52832/Makefile.dep
# include common nrf52 dependencies
include $(RIOTBOARD)/common/nrf52/Makefile.dep

View File

@ -2,7 +2,5 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += saul_gpio
endif
# include common nrf52840 dependencies
include $(RIOTBOARD)/common/nrf52/nrf52840/Makefile.dep
# include common nrf52 dependencies
include $(RIOTBOARD)/common/nrf52/Makefile.dep

View File

@ -1,4 +1 @@
# include common nrf52840 dependencies
include $(RIOTBOARD)/common/nrf52/nrf52840/Makefile.dep
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.dep

View File

@ -1,4 +1 @@
# include common nrf52832 dependencies
include $(RIOTBOARD)/common/nrf52/nrf52832/Makefile.dep
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.dep

View File

@ -3,7 +3,4 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += mma8x5x
endif
# include common nrf52840 dependencies
include $(RIOTBOARD)/common/nrf52/nrf52840/Makefile.dep
include $(RIOTBOARD)/common/nrf52/Makefile.dep