-
Notifications
You must be signed in to change notification settings - Fork 807
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
Rework time-driver contract. #3593
Open
bugadani
wants to merge
8
commits into
embassy-rs:main
Choose a base branch
from
bugadani:refactor
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+819
−1,232
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
bugadani
force-pushed
the
refactor
branch
5 times, most recently
from
November 30, 2024 20:55
62e07f4
to
9c8b89e
Compare
Hmm, should I restore the queue size features, yet still expose the const generic? I'd like to not duplicate the features in every HAL, but I also don't need them so keeping them is somewhat confusing. The timer queue implementations are there for convenience - in the integrated case it's also to not expose most of the executor's internals. |
bugadani
force-pushed
the
refactor
branch
3 times, most recently
from
December 5, 2024 21:49
c5439bf
to
21dff6a
Compare
bugadani
force-pushed
the
refactor
branch
9 times, most recently
from
December 8, 2024 16:24
9e23362
to
97cfa4f
Compare
bugadani
force-pushed
the
refactor
branch
3 times, most recently
from
December 8, 2024 18:18
3c048c9
to
efdddc3
Compare
bugadani
force-pushed
the
refactor
branch
2 times, most recently
from
December 8, 2024 22:28
7c66671
to
9733969
Compare
bugadani
force-pushed
the
refactor
branch
4 times, most recently
from
December 10, 2024 20:29
3a10a08
to
c78ce97
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR simplifies the contract between embassy-time-driver and implementations to just a single
now
function. Implementing a timer queue is now the responsibility of the time-driver implementation, the generic-queue or integrated-timer features no longer provide a complete implementation, it's now the responsibility of the time-driver/timer-queue-driver implementor.Companion changes in esp-hal: esp-rs/esp-hal#2701