drivers/rtt_rtc: select rtc_utils
(cherry picked from commit 8b45ed87be85d81702861c80cb85a3e35d0d3404)
This commit is contained in:
parent
6a8dedf26c
commit
69198a4bd3
@ -10,5 +10,6 @@ config MODULE_RTT_RTC
|
||||
depends on HAS_PERIPH_RTT
|
||||
depends on TEST_KCONFIG
|
||||
select MODULE_PERIPH_RTT
|
||||
select MODULE_RTC_UTILS
|
||||
help
|
||||
Basic RTC implementation based on a RTT.
|
||||
|
||||
@ -2,3 +2,5 @@
|
||||
ifeq (,$(UNIT_TESTS))
|
||||
FEATURES_REQUIRED += periph_rtt
|
||||
endif
|
||||
|
||||
USEMODULE += rtc_utils
|
||||
|
||||
@ -52,7 +52,7 @@ ifneq (,$(filter periph_%, $(USEMODULE)))
|
||||
endif
|
||||
|
||||
# include rtc_utils if periph_rtc is used
|
||||
ifneq (,$(filter periph_rtc, $(USEMODULE)))
|
||||
ifneq (,$(filter periph_rtc,$(USEMODULE)))
|
||||
USEMODULE += rtc_utils
|
||||
endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user