aboutsummaryrefslogtreecommitdiff
path: root/rtic-time
AgeCommit message (Collapse)Author
2025-06-15docs: Monotonics crates: Fix old copy-pasteHenrik Tjäder
2024-12-06Fix documentation (docs.rs) and release 2.1.2Emil Fresk
2024-08-21Change `timeout`/`delay` functions to non-async (#910)dalegaard
Because of a compiler bug, the `async` implementations of `delay`/`delay_until`/`timeout`/`timeout_at` produce much larger RAM footprint than they should. Fixes #890. Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2024-05-29Cleanup CHANGELOGs for monotonics/time v2 release (#945)Emil Fresk
2024-05-27Fix clippy lintsEmil Fresk
2024-05-22Update cassette requirement from 0.2 to 0.3 (#920)dependabot[bot]
Updates the requirements on [cassette](https://github.com/jamesmunns/cassette) to permit the latest version. - [Release notes](https://github.com/jamesmunns/cassette/releases) - [Commits](https://github.com/jamesmunns/cassette/compare/v0.2.1...v0.3.0) --- updated-dependencies: - dependency-name: cassette dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-08Fix another clippy::assign_op_pattern warning (#933)Hiroaki Yutani
2024-05-03Fix clippy::assign_op_pattern lint (#932)Hiroaki Yutani
2024-04-10Monotonic rewrite (#874)Finomnis
* Rework timer_queue and monotonic architecture Goals: * make Monotonic purely internal * make Monotonic purely tick passed, no fugit involved * create a wrapper struct in the user's code via a macro that then converts the "now" from the tick based monotonic to a fugit based timestamp We need to proxy the delay functions of the timer queue anyway, so we could simply perform the conversion in those proxy functions. * Update cargo.lock * Update readme of rtic-time * CI: ESP32: Redact esp_image: Too volatile * Fixup: Changelog double entry rebase mistake --------- Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
2024-03-24Docs: Rename `DelayUs` to `DelayNs` in docs for macros. (#908)Gram
2024-01-10Upgrade everything to embedded-hal v1.0.0 (#880)Emil Fresk
2024-01-10update to embedded-hal 1 (#879)Andres Vahter
* update to eh1 * changelogs about embedded-hal 1.0
2023-12-25Add repository links to some crates hosted in this repo (#871)Jan Niehusmann
2023-12-06Prepare release of rtic-monotonics 1.4.1 and rtic-time 1.2.0 (#861)Emil Fresk
2023-12-06Fix race condition in `calculate_now` (#860)Finomnis
* Fix race condition in calculate_now * Add changelog * Update changelog * Refine comment * More comment fixes
2023-12-06Fix `nrf::rtc` errata workaround (#858)Finomnis
* Deprecate `should_dequeue_check` * Fix errata by delaying the wakeup point * Add changelog * Fix changelog typos
2023-12-06Fix nrf monotonics (#852)Finomnis
* Fix nrf::timer * Bootstrap nrf52840-blinky example * More work on nrf blinky example * Fix README * Add asserts for correct timer functionality * Add correctness check to other monotonics as well * Update Changelog * Fix potential timing issues * Fix race condition in nrf::rtc * Add changelog * Add rtc blinky example * Change rtc example to RC lf clock source * Add changelog to rtic-time * Add changelog * Attempt to fix CI * Update teensy4-blinky Cargo.lock
2023-12-04Release rtic-monotonics, rtic-sync and rtic-time (#854)Emil Fresk
2023-12-04Refactor race condition free timer helper (#850)Finomnis
* 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-01Fix mono delay (#843)Finomnis
* rtic-time: Compenstate for timer uncertainty * Update changelog and incorrect cargo.lock in an example * Fix Monotonic impls * Fix tests * Fix other monotonics, again * Update changelog * Fix example * Fix DelayUs and DelayMs impls * Minor coding style fix in u64 conversions * Fix all changelogs * Fix changelog * Fix blocking DelayUs * Minor monotonic rework * Add delay precision test * Add more tests * Add rust-version tags to Cargo.toml * Fix imxrt, rp2040 and systick timer * Fix more monotonics * Fix systick monotonic * Some reverts * Fix imxrt * Fix nrf * Fix rp2040 * Fix stm32 * Fix systick * Fix rtic-time tests * Bump to e-h.rc2 * Apply e-h.rc2 fixes to rtic-time * Apply fixes from arbiter * Fix clippy warning * Minor beautification * Revert previous changes * Fix variable name * Add blocking tests, but disable them by default
2023-11-22rtic-time does not need nightlyKarsten Große
2023-11-01Fix CI with async_fn_in_trait not being a featureEmil Fresk
2023-07-01Changelog: Time: Add dateHenrik Tjäder
2023-05-25v2.0 releaseEmil Fresk
2023-04-16Merge #736bors[bot]
736: More `xtasks` and add examples to `rtic` repo r=korken89 a=datdenkikniet This was in #732 before, but decluttering that PR seemed sensible Co-authored-by: datdenkikniet <jcdra1@gmail.com>
2023-04-16Deny on warnings in xtasksdatdenkikniet
2023-04-15rtic-time: Docsdatdenkikniet
2023-04-10Small cleanupdatdenkikniet
2023-04-10Clean updatdenkikniet
2023-04-10Use artificial time insteaddatdenkikniet
2023-04-10Do not activate critical-section/std by defaultdatdenkikniet
2023-04-10Add test for timer queue & monotonicdatdenkikniet
2023-04-08Fix if a enqueued instant is first in a non-empty queueEmil Fresk
2023-04-02Added nRF monotonicsEmil Fresk
2023-03-04rtic-time: clippy fixesHenrik Tjäder
2023-03-01Make some linked list operations unsafe, and document their safety at usageEmil Fresk
2023-03-01Add authors to each Cargo.tomlHenrik Tjäder
Copy-paste the default one used for the project
2023-03-01Add alpha.0 and required Cargo fieldsHenrik Tjäder
2023-03-01Cleanup common code and clippy fixesEmil Fresk
2023-03-01rtic-time: Make Send happyEmil Fresk
2023-03-01Use `Pin` in the linked listsEmil Fresk
2023-03-01Add changelog templatesHenrik Tjäder
2023-03-01CI: Don't let warnings get awayHenrik Tjäder
2023-03-01Fixes in MPSC linked list and dropper handlingEmil Fresk
2023-03-01Remove unnecessary MaybeUninitEmil Fresk
2023-03-01Optimize linked list popping so delete is not run everytimeEmil Fresk
2023-03-01Fixed systick monotonicEmil Fresk