1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

Merge pull request #17530 from fjmolinas/pr_rtt_rtc_utils

drivers/rtt_rtc: select rtc_utils
This commit is contained in:
Alexandre Abadie 2022-01-18 17:02:11 +01:00 committed by GitHub
commit 52781dc96d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View File

@ -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.

View File

@ -2,3 +2,5 @@
ifeq (,$(UNIT_TESTS))
FEATURES_REQUIRED += periph_rtt
endif
USEMODULE += rtc_utils

View File

@ -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