164 Commits

Author SHA1 Message Date
Ulf Lilleengen
83f2557eac chore: prepare embassy crate releases 2025-08-26 16:05:09 +02:00
Dario Nieuwenhuis
9f12852c38 Read crate configs from metadata. 2025-08-25 19:44:50 +02:00
Ulf Lilleengen
6a347f1f09 feat: add semver checks and releasing to releaser
* List dependencies of a crate
* List dependents of a crate
* Perform semver-checks of a crate
* Prepare a release for a crate and all dependents
* Use a single release.toml for cargo-release
* Add changelogs where missing
2025-08-25 19:44:49 +02:00
Dario Nieuwenhuis
61dbd89bd4
Merge pull request #4560 from 823984418/optimize_async_delay
Optimize embedded_hal_async::delay::DelayNs impl
2025-08-19 13:16:22 +00:00
Matt Johnston
1b246d77c9 time: implement Sum for Duration 2025-08-17 22:21:13 +08:00
823984418
011c382b77 modify async fn to return impl Future 2025-08-17 22:18:04 +08:00
redfast00
2f0e8aa244 docs: clarify that timer will expire immediately if in past 2025-08-12 15:44:41 +02:00
Ulf Lilleengen
0eceb08b90 fix: do full minor version bump for time queue utils 2025-08-01 21:42:23 +02:00
Ulf Lilleengen
3f1ddaf60e chore: prepare embassy-executor 0.8 release 2025-07-31 10:33:14 +02:00
Dario Nieuwenhuis
b00de39af8 Fix build of embassy-time with std+defmt. 2025-07-29 13:36:18 +02:00
Ralph Ursprung
98595f659c
embassy-time: add missing Debug & defmt::Format derives
`defmt::Format` is *not* implemented for `MockDriver` and
`InnerMockDriver` because the former contains the latter and the latter
is using `Queue` from `embassy-time-queue-utils` which so far does not
have a `defmt` dependency. since this is just a mock driver it shouldn't
be relevant if it has no `defmt::Format` impl.
2025-07-28 15:44:21 +02:00
Ralph Ursprung
112c7a1665
embassy-time: add release automation using cargo-release
this requires you to install [`cargo-release`].
note that this does not include a URL pointing to the diff on GitHub as
is usually done in changelogs since `embassy` is a mono-repo and the GH
UI doesn't offer a commit view per folder (see the [GH feature request]
for this).

[`cargo-release`]: https://crates.io/crates/cargo-release
[GH feature request]: https://github.com/orgs/community/discussions/162131
2025-07-08 23:05:50 +02:00
Ralph Ursprung
bb1b682deb
prepare changelog for embassy-time v0.4.1 2025-07-08 23:05:49 +02:00
Dániel Buga
a0d17ea5ca
Remove futures-util where unnecessary 2025-06-16 13:57:19 +02:00
Yuri Astrakhan
ef0f29f0ed Update defmt dependencies 2025-05-18 20:52:09 +02:00
Curly
34b6a518f8
add 133MHz tick rate to support PR2040 @ 133MHz when TIMERx's SOURCE is set to SYSCLK 2025-04-30 07:50:13 -07:00
Alex Moon
0b8f43b714
Manually implement the future for with_timeout 2025-04-23 13:32:06 -04:00
Kaspar Schleiser
e1e7a5ddb5 embassy-time: don't select critical-section impl for std 2025-04-04 22:07:02 +02:00
Sebastian Scholz
869758037b
Add try_from constructors to Duration 2025-03-10 19:05:33 +01:00
Sebastian Scholz
2ceb3a721c
Add Instant::try_from_* constructor functions 2025-03-07 19:32:42 +01:00
Dániel Buga
bb6e6fe30b
Document std/wasm in embassy-time 2025-02-08 19:06:37 +01:00
wackazong
865266a4ae
Take self instead of &mut self
This is more idiomatic since methods with these names usually take self and not &mut self.
2025-02-04 11:09:52 +01:00
wackazong
b7fbf6d519
Add saturating_add and saturating_sub to Instant 2025-02-04 11:03:17 +01:00
Dario Nieuwenhuis
113383b8b1
Merge pull request #3840 from bugadani/inline
Allow inlining on time driver boundary
2025-02-03 16:42:38 +00:00
Dániel Buga
37b180c61e
Allow inlining on time driver boundary 2025-02-03 17:20:35 +01:00
Marvin Gudel
ec5f283d15 Add cancel safety notes to Ticker 2025-02-02 14:28:45 +01:00
Haobo Gu
a40e1699cd doc: embassy-time doc
Signed-off-by: Haobo Gu <haobogu@outlook.com>
2025-01-16 14:20:40 +08:00
Lukáš Poláček
31b50e6291 Fix year in changelog 2025-01-12 15:06:06 +01:00
Dario Nieuwenhuis
cefdbfab2f Release embassy-executor v0.7.0, embassy-time v0.4.0, embassy-time-driver v0.2.0. 2025-01-02 18:57:40 +01:00
Dániel Buga
ab8ca3f126
Rename ETQD, bump date 2024-12-22 21:00:23 +01:00
Dániel Buga
9a238e6ad8
Prepare new embassy-time-*driver, embassy-executor, embassy-time 2024-12-22 20:27:15 +01:00
Dániel Buga
abb42206f2
Add generic-queue-* features back to embassy-time 2024-12-22 00:56:34 +01:00
Dániel Buga
3c121e5425
Remove special handling of integrated timer queue 2024-12-16 19:22:22 +01:00
Dario Nieuwenhuis
2f2e2c6031
Make integrated-timers the default, remove Cargo feature. 2024-12-15 18:49:57 +01:00
Dario Nieuwenhuis
b268b1795f
Merge time-driver and time-queue-driver traits, make HALs own and handle the queue. 2024-12-13 21:20:59 +01:00
Dániel Buga
6cc8709ecc
Changelog 2024-12-10 21:31:42 +01:00
Dániel Buga
5a5495aac4
Refactor integrated-timers 2024-12-10 21:31:42 +01:00
Dario Nieuwenhuis
aaad8450e9
Use inline const for initializing arrays. (#3567) 2024-11-24 20:58:48 +01:00
Dániel Buga
448db47263
Remove noop from queue_generic 2024-11-19 17:30:31 +01:00
Dario Nieuwenhuis
796f6c034a Release embassy-executor 0.6.3. 2024-11-12 18:07:50 +01:00
Dániel Buga
94659325ab
Prep executor 0.6.2 2024-11-06 13:58:02 +01:00
Dario Nieuwenhuis
1a24b4f018 Release embassy-executor v0.6.1, embassy-executor-macros v0.6.1 2024-10-21 01:26:02 +02:00
Ulf Lilleengen
886580179f update dates 2024-08-05 08:58:56 +02:00
Ulf Lilleengen
37d7b0cd06 prepare release embassy-executor 2024-08-05 08:56:29 +02:00
Ulf Lilleengen
44282b18fa Prepare embassy-time release 2024-08-05 08:56:29 +02:00
Tarun Singh
a716a3f006 Reduced define for 'unreachable!' to a single macro rule 2024-07-17 17:05:52 -04:00
Ulf Lilleengen
95d0cae897
Merge pull request #3079 from aurelj/with_timeout
implement with_timeout()/with_deadline() method style call on Future
2024-06-22 14:14:35 +00:00
Dario Nieuwenhuis
6a4ac5bd60 Add collapse_debuginfo to fmt.rs macros.
This makes location info in defmt logs point to the code calling the macro,
instead of always to fmt.rs as before. Fix works with nightlies
starting with today's, and stable 1.81+.
2024-06-17 01:38:57 +02:00
Aurélien Jacobs
8ec2e193e2 implement with_timeout()/with_deadline() method style call on Future 2024-06-14 17:46:32 +02:00
Ulf Lilleengen
30918c355b prepare for embassy-time 0.3.1 release 2024-06-04 09:02:41 +02:00