From c227a71d243db6d539f3c64e3b4bb1b3ab282693 Mon Sep 17 00:00:00 2001 From: Finomnis Date: Mon, 4 Dec 2023 15:53:02 +0100 Subject: 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 --- rtic-time/CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rtic-time/CHANGELOG.md') diff --git a/rtic-time/CHANGELOG.md b/rtic-time/CHANGELOG.md index cf312ac..d2e2887 100644 --- a/rtic-time/CHANGELOG.md +++ b/rtic-time/CHANGELOG.md @@ -9,7 +9,8 @@ For each category, *Added*, *Changed*, *Fixed* add new entries at the top! ### Added -- `should_dequeue` to the `Monotonic` trait to handle bugged timers +- `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 -- cgit v1.2.3