Skip to content

Commit

Permalink
drivers/rtt_rtc: select rtc_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
fjmolinas committed Jan 18, 2022
1 parent 728aefa commit 3fafd6a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
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: 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
4 changes: 4 additions & 0 deletions sys/Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -853,4 +853,8 @@ ifneq (,$(filter fido2_ctap,$(USEMODULE)))
USEMODULE += fido2
endif

ifneq (,$(filter rtt_rtc,$(USEMODULE)))
USEMODULE += rtc_utils
endif

include $(RIOTBASE)/sys/test_utils/Makefile.dep

0 comments on commit 3fafd6a

Please sign in to comment.