rtic/rtic-time/CHANGELOG.md
Finomnis c227a71d24
Refactor race condition free timer helper (#850)
* Implement half_period_counter in rtic-time

* Rename compute_now to calculate_now, use it in stm32 and imxrt

* Add more tests

* Add some docs

* Fix clippy warning, add imxrt timer to monotonics tests

* Bump dependency version to make sure monotonics will build properly

* Add changelog to rtic-monotonics

* Add more docs

* Add more docs

* Finish documentation

* Fix typos

* Switch from atomic-polyfill to portable-atomic

* Some more doc fixes

* More doc fixes

* Minor doc fix

* Minor doc fix

* Fix Atomics not existing

* Fix example

* Minor example improvement

* Revert back to atomic-polyfill

* Fix cargo.toml formatting

* Remove atomic-polyfill

* Attempt to fix unused macro warning

* Remove atomics completely from half period counter

* Minor doc fix

* Doc fixes

* Doc fixes

* Remove obsolete comment

* Fix ordering in monotonic initialization sequence
2023-12-04 14:53:02 +00:00

910 B

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

For each category, Added, Changed, Fixed add new entries at the top!

[Unreleased]

Added

  • half_period_counter containing utilities for implementing a half-period-counter based monotonic.
  • should_dequeue_check to the Monotonic trait to handle bugged timers.

Changed

Fixed

  • Soundness fix: TimerQueue did not wait long enough in Duration based delays. Fixing this sadly required adding a const TICK_PERIOD to the Monotonic trait, which requires updating all existing implementations.
  • If the queue was non-empty and a new instant was added that was earlier than head, then the queue would no pend the monotonic handler. This would cause the new head to be dequeued at the wrong time.

[v1.0.0] - 2023-05-31