From f390a8df2e046b8dbb5150a6d310f5139210784d Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Sun, 13 Jan 2019 15:07:10 +0100 Subject: [PATCH] boards/nrf5x: use periph_temperature with saul --- boards/common/nrf51/Makefile.dep | 4 ++++ boards/common/nrf52/Makefile.dep | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/boards/common/nrf51/Makefile.dep b/boards/common/nrf51/Makefile.dep index 7de44689f6..6a9068ea8b 100644 --- a/boards/common/nrf51/Makefile.dep +++ b/boards/common/nrf51/Makefile.dep @@ -1,3 +1,7 @@ ifneq (,$(filter gnrc_netdev_default netdev_default,$(USEMODULE))) USEMODULE += nrfmin endif + +ifneq (,$(filter saul_default,$(USEMODULE))) + USEMODULE += saul_nrf_temperature +endif diff --git a/boards/common/nrf52/Makefile.dep b/boards/common/nrf52/Makefile.dep index 6f369896e7..c1c5d218e3 100644 --- a/boards/common/nrf52/Makefile.dep +++ b/boards/common/nrf52/Makefile.dep @@ -3,3 +3,7 @@ include $(RIOTCPU)/nrf52/Makefile.dep ifneq (,$(filter skald,$(USEMODULE))) USEMODULE += nrfble endif + +ifneq (,$(filter saul_default,$(USEMODULE))) + USEMODULE += saul_nrf_temperature +endif