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

saul: add periph dependencies for saul_adc and saul_gpio

This commit is contained in:
Kaspar Schleiser 2017-10-28 19:19:14 +02:00
parent 565eb9cf63
commit 17a30bf319

View File

@ -603,6 +603,14 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += auto_init_saul
endif
ifneq (,$(filter saul_adc,$(USEMODULE)))
FEATURES_REQUIRED += periph_adc
endif
ifneq (,$(filter saul_gpio,$(USEMODULE)))
FEATURES_REQUIRED += periph_gpio
endif
ifneq (,$(filter saul,$(USEMODULE)))
USEMODULE += phydat
endif