aboutsummaryrefslogtreecommitdiff
path: root/rtic-monotonics/src/systick.rs
AgeCommit message (Collapse)Author
2025-11-08Support external SYST clock sourceHEADmainIan McIntyre
Give users the option to configure SYST with an external clock source. By default, the clock source is the core, which keeps us backwards compatible. `_start` has a new input, but since users don't call that function directly, it doesn't seem like a problem to break that public API.
2025-10-20Use `is_multiple_of`datdenkikniet
2025-06-15More details about the arguments for the systick API.Jonathan 'theJPster' Pallant
2025-06-15Improved example and comments for the systick! macro.Jonathan 'theJPster' Pallant
2025-04-03Placate clippydatdenkikniet
2024-09-18Fix for system_monotonic macro with 1 argument (#978)Robin Mueller
2024-06-23Breaking change: portable-atomic (#922)Henrik Tjäder
* Atomics: Replace polyfill with portable-atomic * Update Cargo.lock for examples * RTIC: portable-atomic: Update changelog * rtic-monotonics: portable-atomic: Update changelog * lm3s6965: enable critical-section when testing * xtask: Enable portable-atomic/critical-section When dealing with rtic-monotonics * rtic-monotonics: portable-atomics: Do not disable the ability to fallback --------- Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2024-06-02Make rtic-monotonic macros create a public typeEmil Fresk
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>
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-10Update systick.rsFinomnis
2023-11-10Add documentation for imxrt; other doc fixesFinomnis
2023-09-19rtic-monotonics: Implement blocking DelayUs from embedded-hal 1Nils Fitinghoff
2023-08-25rtic-monotonics: Add 64-bit SysTick monotonicNils Fitinghoff
Counting at 1 kHz, 32 bits for counting ticks is not enough to ensure monotonicity for more than 50 days. Add a feature to change the backing storage to 64 bits.
2023-04-23Update embedded-hal-asyncdatdenkikniet
2023-04-15rtic-monotonics: Add some docsdatdenkikniet
2023-04-10rtic-monotonics: export fugit the same for all monotonicsEmil Fresk
2023-04-04Add setting of priority to interruptsEmil Fresk
2023-04-02Added nRF monotonicsEmil Fresk
2023-03-29Update monotonic token macro namesEmil Fresk
2023-03-15refactor: re-formatted filesYandrik
2023-03-15refactor(macro): changed not-yet-changed crate names to $crateYandrik
2023-03-15refactor(macro): used $crate for better interopYandrik
2023-03-11rtic-monotonics: Add interrupt tokens to make sure users bind interruptsEmil Fresk
2023-03-04CFG: Align all crates to use hyphenHenrik Tjäder
2023-03-01Add feature flagsEmil Fresk
2023-03-01Make embedded-hal-async dependency optional for better compatibility with HALsdatdenkikniet
Some hals implement traits for embedded-hal version `=1.0.0.alpha.<not 9>`, which is explicitly incompatible with the version `=1.0.0.alpha.9` which embedded-hal-async depends on. Making the dependency optional allows downstream projects to include rtic-monotonic without requiring that all of their other libraries also implement that specific version of embedded-hal 1.0
2023-03-01RP2040 monotonic, rename systick monotonic to not have double nameEmil Fresk