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:
parent
7c4511efff
commit
a2308b65a2
@ -1,4 +1 @@
|
||||
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.dep
|
||||
|
||||
# include common nrf52832 dependencies
|
||||
include $(RIOTBOARD)/common/nrf52/nrf52832/Makefile.dep
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,4 +1 @@
|
||||
# include common nrf52840 dependencies
|
||||
include $(RIOTBOARD)/common/nrf52/nrf52840/Makefile.dep
|
||||
|
||||
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.dep
|
||||
|
@ -1,4 +1 @@
|
||||
# include common nrf52832 dependencies
|
||||
include $(RIOTBOARD)/common/nrf52/nrf52832/Makefile.dep
|
||||
|
||||
include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.dep
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user