kinetis: Add dependency on rtt for LPTMR time base
This commit is contained in:
parent
bcffbba480
commit
a11c66382f
@ -1,3 +1,8 @@
|
|||||||
ifneq (,$(filter periph_rtc,$(USEMODULE)))
|
ifneq (,$(filter periph_rtc,$(USEMODULE)))
|
||||||
USEMODULE += periph_rtt
|
USEMODULE += periph_rtt
|
||||||
endif
|
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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user