-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Conversation
sys/Makefile.dep
Outdated
@@ -853,4 +853,8 @@ ifneq (,$(filter fido2_ctap,$(USEMODULE))) | |||
USEMODULE += fido2 | |||
endif | |||
|
|||
ifneq (,$(filter rtt_rtc,$(USEMODULE))) | |||
USEMODULE += rtc_utils |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't this be added inside drivers/rtt_rtc/Makefile.dep
instead ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm yeah not sure why added it there
3fafd6a
to
c071d7d
Compare
drivers/rtt_rtc/Makefile.dep
Outdated
@@ -2,3 +2,8 @@ | |||
ifeq (,$(UNIT_TESTS)) | |||
FEATURES_REQUIRED += periph_rtt | |||
endif | |||
|
|||
ifneq (,$(filter rtt_rtc,$(USEMODULE))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need to filter on whether rtt_rtc is used, this is already done at that level.
c071d7d
to
d043714
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
d043714
to
8b45ed8
Compare
Backport provided in #17532 |
Contribution description
Spotted by @emmanuelsearch during release tests, if compiling only the
rtt_rtc
module with the mock then there is a missing dependency againstrtc_utils
.Testing procedure
master
pr