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

V0.6 Release #28

Merged
merged 24 commits into from
Jul 3, 2020
Merged

V0.6 Release #28

merged 24 commits into from
Jul 3, 2020

Conversation

PTaylor-us
Copy link
Member

@PTaylor-us PTaylor-us commented Jun 30, 2020

PRs to be included: #27, #21, #22
Closes #23
Closes #7
Closes #19

PTaylor-us and others added 17 commits June 26, 2020 16:52
- wrap comments
- fix documentation links
- add to crate-level documentation
Changed `now(&mut self)` to `now(&self)`
BREAKING CHANGE: The returned `Result` must now be handled
- Remove the crate-level, monolithic `Error` enum
- Add crate-level `Error` trait
- Add associated error
type to `Clock` trait for implementation-specific errors
- Add
clock::Error enum with a single variant, `Other(E)` where E is an
impl-specific error type
This functionality is now handled by `Timer`.

BREAKING CHANGE: `Clock::delay()` replaced with
`Timer::wait()`
…timer

docs(Clock,Timer): Remove links to private items
Return a TimerBuilder<OneShot, Armed, ...>
@PTaylor-us PTaylor-us changed the base branch from master to develop July 3, 2020 13:33
@PTaylor-us PTaylor-us changed the base branch from develop to master July 3, 2020 13:33
@PTaylor-us PTaylor-us marked this pull request as ready for review July 3, 2020 13:35
Switch from using system clock for delays
to manually advancing clock ticks using multiple threads
- Make `duration` mod public
- Remove re-export of `Duration` trait (but
it's still public)

BREAKING CHANGE: The `Duration` trait access changed from
`embedded_time::Duration` to `embedded_time::duration::Duration`
These are no longer needed due to changes made in examples/nrf52_dk.
- Add duration to `Clock::new_timer()` and `Timer::new()` functions
- Remove `Timer::set_duration()` method
- Remove `Disarmed` `Timer` state

BREAKING CHANGE: `Timer` interface
- Update both readme's
- Update changelog
- Bump version to 0.6.0
@PTaylor-us PTaylor-us merged commit 628e4b1 into master Jul 3, 2020
@PTaylor-us PTaylor-us deleted the v0.6 branch July 3, 2020 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Instant::duration_until() Implement TimeInt for unsigned ints Signed/Unsigned Inner Types
1 participant