kinetis: Add dependency on rtt for LPTMR time base

This commit is contained in:
Joakim Nohlgård 2017-11-15 21:20:35 +01:00
parent bcffbba480
commit a11c66382f

View File

@ -1,3 +1,8 @@
ifneq (,$(filter periph_rtc,$(USEMODULE)))
USEMODULE += periph_rtt
endif
ifneq (,$(filter periph_timer,$(USEMODULE)))
# RTT is used as the time base for the LPTMR driver.
# TODO: Remove when LPTMR is refactored.
FEATURES_OPTIONAL += periph_rtt
endif