Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers/rtt_rtc: select rtc_utils #17530

Merged
merged 1 commit into from
Jan 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions drivers/rtt_rtc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 2 additions & 0 deletions drivers/rtt_rtc/Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
ifeq (,$(UNIT_TESTS))
FEATURES_REQUIRED += periph_rtt
endif

USEMODULE += rtc_utils
2 changes: 1 addition & 1 deletion makefiles/features_modules.inc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down