mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/rtt_rtc: select rtc_utils
This commit is contained in:
parent
728aefa541
commit
8b45ed87be
@ -10,5 +10,6 @@ config MODULE_RTT_RTC
|
|||||||
depends on HAS_PERIPH_RTT
|
depends on HAS_PERIPH_RTT
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
select MODULE_PERIPH_RTT
|
select MODULE_PERIPH_RTT
|
||||||
|
select MODULE_RTC_UTILS
|
||||||
help
|
help
|
||||||
Basic RTC implementation based on a RTT.
|
Basic RTC implementation based on a RTT.
|
||||||
|
@ -2,3 +2,5 @@
|
|||||||
ifeq (,$(UNIT_TESTS))
|
ifeq (,$(UNIT_TESTS))
|
||||||
FEATURES_REQUIRED += periph_rtt
|
FEATURES_REQUIRED += periph_rtt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
USEMODULE += rtc_utils
|
||||||
|
@ -52,7 +52,7 @@ ifneq (,$(filter periph_%, $(USEMODULE)))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# include rtc_utils if periph_rtc is used
|
# include rtc_utils if periph_rtc is used
|
||||||
ifneq (,$(filter periph_rtc, $(USEMODULE)))
|
ifneq (,$(filter periph_rtc,$(USEMODULE)))
|
||||||
USEMODULE += rtc_utils
|
USEMODULE += rtc_utils
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user