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
sys/ztimer/kconfig: enable xtimer compat only with timer backend #17307
Merged
fjmolinas
merged 1 commit into
RIOT-OS:master
from
leandrolanzieri:pr/sys/ztimer/kconfig/fix_compat_deps
Dec 2, 2021
Merged
sys/ztimer/kconfig: enable xtimer compat only with timer backend #17307
fjmolinas
merged 1 commit into
RIOT-OS:master
from
leandrolanzieri:pr/sys/ztimer/kconfig/fix_compat_deps
Dec 2, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
leandrolanzieri
added
the
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
label
Dec 1, 2021
leandrolanzieri
added this to In progress
in [CTF] Kconfig migration - Model of module dependencies
via automation
Dec 1, 2021
github-actions
bot
added
Area: arduino API
Area: Arduino wrapper API
Area: boards
Area: Board ports
Area: drivers
Area: Device drivers
Area: Kconfig
Area: Kconfig integration
Area: pkg
Area: External package ports
Area: sys
Area: System
Area: timers
Area: timer subsystems
labels
Dec 1, 2021
fjmolinas
approved these changes
Dec 2, 2021
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
[CTF] Kconfig migration - Model of module dependencies
automation
moved this from In progress
to Reviewer approved
Dec 2, 2021
fjmolinas
added
the
CI: ready for build
If set, CI server will compile all applications for all available boards for the labeled PR
label
Dec 2, 2021
#17317 is merged, it needs probably an update |
leandrolanzieri
force-pushed
the
pr/sys/ztimer/kconfig/fix_compat_deps
branch
from
December 2, 2021 08:35
b9a0b78
to
004da59
Compare
There, updated the |
This also moves the selection of MODULE_ZTIMER_PERIPH_TIMER from MODULE_ZTIMER_USEC to the visible symbol ZTIMER_USEC.
ACK still stands |
[CTF] Kconfig migration - Model of module dependencies
automation
moved this from Reviewer approved
to Done
Dec 2, 2021
Thanks for reviewing! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area: arduino API
Area: Arduino wrapper API
Area: boards
Area: Board ports
Area: drivers
Area: Device drivers
Area: Kconfig
Area: Kconfig integration
Area: pkg
Area: External package ports
Area: sys
Area: System
Area: timers
Area: timer subsystems
CI: ready for build
If set, CI server will compile all applications for all available boards for the labeled PR
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Contribution description
While testing #17235 I came across a discrepancy between when
Makefile.dep
enables xtimer compatibility modules and when Kconfig does it. Kconfig would enable compatibility whenever xtimer and ztimer are active, butMakefile.dep
checks in addition that the timer peripheral backend is enabled. This PR adds this condition to the Kconfig choice. To avoid a loop on the selection of MODULE_ZTIMER_PERIPH_TIMER, this also moves its selection from MODULE_ZTIMER_USEC to the visible symbol ZTIMER_USEC.Testing procedure
Makefile.dep
.Issues/PRs references
#17235