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:
parent
565eb9cf63
commit
17a30bf319
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user