| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Bump executor crate version to 0.3.0 | Dániel Buga | 2023-08-23 | 1 | -1/+1 |
| | | |||||
| * | Update embedded-hal to 1.0.0-rc.1 (#1783) | Dario Nieuwenhuis | 2023-08-16 | 1 | -2/+2 |
| | | |||||
| * | Mark Ticker stream as FusedStream | Sebastian Goll | 2023-08-09 | 1 | -0/+8 |
| | | |||||
| * | Remove trivial to remove uses of atomic-polyfill. | Dario Nieuwenhuis | 2023-07-12 | 2 | -2/+2 |
| | | |||||
| * | Enable `critical-section/std` when using `std` feature of `embassy-time` | James Waples | 2023-07-08 | 1 | -1/+1 |
| | | |||||
| * | Release embassy-time v0.1.2 | Dario Nieuwenhuis | 2023-07-06 | 2 | -1/+6 |
| | | |||||
| * | Remove semicolon in time driver example struct declaration | Rasmus Pedersen | 2023-07-05 | 1 | -1/+1 |
| | | | | | | The semicolon is not allowed with struct declarations with braces. The doc test compiles fine for some reason!? | ||||
| * | update embedded-hal crates. | Dario Nieuwenhuis | 2023-07-04 | 1 | -2/+2 |
| | | |||||
| * | time: fix queue size | cumthugo | 2023-07-04 | 1 | -1/+1 |
| | | |||||
| * | Fix tests. | Dario Nieuwenhuis | 2023-05-29 | 4 | -9/+11 |
| | | |||||
| * | time: fix unused mut. | Dario Nieuwenhuis | 2023-05-19 | 1 | -1/+1 |
| | | |||||
| * | Update Rust nightly. | Dario Nieuwenhuis | 2023-05-19 | 1 | -1/+0 |
| | | |||||
| * | Release embassy-time v0.1.1 | Dario Nieuwenhuis | 2023-04-13 | 2 | -1/+25 |
| | | |||||
| * | time: remove dependency on embassy-sync. | Dario Nieuwenhuis | 2023-04-13 | 3 | -19/+14 |
| | | |||||
| * | Release embassy-sync v0.2.0 | Dario Nieuwenhuis | 2023-04-13 | 1 | -1/+1 |
| | | |||||
| * | Update embedded-hal crates. | Dario Nieuwenhuis | 2023-04-06 | 2 | -14/+10 |
| | | |||||
| * | time: add power-of-2 kHz tick rates. | Dario Nieuwenhuis | 2023-03-09 | 3 | -4/+84 |
| | | | | | Fixes #1269 | ||||
| * | time/ticker: make sure the future for .next() is Unpin. | Dario Nieuwenhuis | 2023-03-05 | 1 | -4/+13 |
| | | |||||
| * | embassy-time: add async tick() method to Ticker | kbleeke | 2023-02-28 | 1 | -1/+6 |
| | | |||||
| * | Add `#[must_use]` to all futures | Grant Miller | 2023-02-24 | 1 | -0/+1 |
| | | |||||
| * | embassy-time: Implement conversions to/from core::time::Duration for ↵ | kbleeke | 2023-02-23 | 1 | -0/+16 |
| | | | | | embassy-time::Duration | ||||
| * | Clamp ticks to 1 and round to nearest. | Caleb Jamison | 2023-02-09 | 1 | -1/+10 |
| | | |||||
| * | Add from_hz function for Duration. | Caleb Jamison | 2023-02-09 | 1 | -0/+5 |
| | | |||||
| * | STD driver needs a reentrant mutex; logic fixed to be reentrancy-safe | ivmarkov | 2023-01-26 | 1 | -22/+45 |
| | | |||||
| * | time: Fix nighly feature compilation after upgrade to embedded-hal-async | Gabriel Smith | 2022-11-27 | 2 | -13/+6 |
| | | | | | 0.2.0-alpha.0 | ||||
| * | Switch to async-fn-in-trait | Dario Nieuwenhuis | 2022-11-25 | 1 | -1/+1 |
| | | |||||
| * | time: add missing cargo manifest fields. | Dario Nieuwenhuis | 2022-10-26 | 1 | -1/+9 |
| | | |||||
| * | Release embassy-sync, embassy-time v0.1.0 | Dario Nieuwenhuis | 2022-10-26 | 1 | -1/+3 |
| | | |||||
| * | Merge #959 | bors[bot] | 2022-10-26 | 7 | -11/+555 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 959: Generic, executor-agnostic queue implementation r=ivmarkov a=ivmarkov Hopefully relatively well documented. Implementation relies on a fixed-size `SortedLinkedList` from `heapless`. (By default, for up to 128 timer schedules, but we can lower this number to - say - 64.) As discussed earlier, on queue overflow, the `WakerRegistration` approach is utilized, whereas the waker that is ordered first in the queue is awoken to make room for the incoming one (which might be the waker that would be awoken after all!). Wakers are compared with `Waker::will_wake`, so the queue should actually not fill up that easily, if at all. I've left provisions for the user to manually instantiate the queue using a dedicated macro - `generic_queue!` so that users willing to adjust the queue size, or users (like me) who have to use the queue in a complex "on-top-of-RTOS-but-the-timer-driver-calling-back-from-ISR" scenario can customize the mutex that protects the queue. The one thing I'm not completely happy with is the need to call `{ embassy_time::queue::initialize() }` early on before any futures using embassy-time are polled, which is currently on the shoulders of the user. I'm open to any ideas where we can get rid of this and do it on the first call to `_embassy_time_schedule_wake`, without introducing very complex combinations of critical sections, atomics and whatnot. Co-authored-by: ivmarkov <[email protected]> Co-authored-by: Dario Nieuwenhuis <[email protected]> | ||||
| | * | time/generic_queue: use Vec instead of SortedLinkedList | Dario Nieuwenhuis | 2022-10-26 | 1 | -24/+22 |
| | | | |||||
| | * | time/generic-queue: ensure queue goes in .bss instead of .data | Dario Nieuwenhuis | 2022-10-26 | 1 | -20/+18 |
| | | | |||||
| | * | Fix a bug identified during code review | ivmarkov | 2022-10-26 | 1 | -2/+2 |
| | | | |||||
| | * | Fix embassy-time wasm build and fix a bug in wasm time driver | ivmarkov | 2022-10-24 | 1 | -6/+12 |
| | | | |||||
| | * | Change time Driver contract to never fire the alarm synchronously | ivmarkov | 2022-10-24 | 4 | -57/+41 |
| | | | |||||
| | * | Address feedback after code review | ivmarkov | 2022-10-24 | 4 | -587/+518 |
| | | | |||||
| | * | Documentation and initial testing framework | ivmarkov | 2022-10-24 | 3 | -35/+459 |
| | | | | | | | | | | | | | | | | | Add mock waker First simple test Tests & documentation | ||||
| | * | Initial generic timer queue impl | ivmarkov | 2022-10-24 | 3 | -0/+203 |
| | | | |||||
| * | | Update Rust nightly. | Dario Nieuwenhuis | 2022-10-26 | 1 | -1/+1 |
| |/ | |||||
| * | all Cargo.toml: Add license to all crate Cargo.toml files | chrysn | 2022-10-07 | 1 | -0/+1 |
| | | | | | Closes: https://github.com/embassy-rs/embassy/issues/1002 | ||||
| * | Update embedded-hal versions and explicitly pin | Ulf Lilleengen | 2022-09-29 | 2 | -4/+4 |
| | | |||||
| * | Update Rust nightly. | Dario Nieuwenhuis | 2022-09-22 | 1 | -1/+1 |
| | | | | | Removes feature(generic_associated_types) | ||||
| * | time: add more tick rates, use 1mhz as default. | Dario Nieuwenhuis | 2022-09-02 | 6 | -45/+328 |
| | | |||||
| * | Do not use cfg_if for embedded-hal-async feature gates. | Dario Nieuwenhuis | 2022-08-31 | 1 | -15/+17 |
| | | | | | Old code used `cfg_if!` because rustc still parses code inside disabled cfg's, and Rust stable at that time couldn't parse the new GAT where-clause location. This is not the case anymore. | ||||
| * | Enable 'std' feature on critical-section for WASM | Ulf Lilleengen | 2022-08-23 | 1 | -1/+1 |
| | | | | | | | This fixes the WASM support which was failing due to missing critical-section implementation. This also upgrades the bindgen dependency and ensures that tooling works. | ||||
| * | Add readme for embassy-time | Ulf Lilleengen | 2022-08-23 | 2 | -42/+44 |
| | | |||||
| * | Remove warnings for embassy-time | Ulf Lilleengen | 2022-08-22 | 1 | -1/+1 |
| | | |||||
| * | Split embassy-time from embassy-executor. | Dario Nieuwenhuis | 2022-08-18 | 10 | -0/+1493 |
