aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor
Commit message (Collapse)AuthorAgeFilesLines
* executor: always name main task `main`, not just with rtos-trace.Dario Nieuwenhuis2025-09-052-3/+3
| | | | Also fixes the warning about the `rtos-trace` feature not existing in embassy-executor-macros.
* Remove features, fix changelogDániel Buga2025-09-022-18/+2
|
* Add changelog for embassy-executor v0.9.1Dario Nieuwenhuis2025-08-311-0/+3
|
* Merge branch 'main' into feat/name-main-taskDario Nieuwenhuis2025-08-315-13/+37
|\
| * Merge branch 'main' into feat/upgrade-rtos-traceDario Nieuwenhuis2025-08-314-12/+35
| |\
| | * Prefer word-sized state in CS implDániel Buga2025-08-311-5/+10
| | |
| | * Prefer pointer-sized atomic operationsDániel Buga2025-08-313-7/+25
| | |
| * | rtos-trace: upgraded feature supportFlorian Grandel2025-08-302-1/+2
| |/ | | | | | | | | | | | | | | | | Upgrade rtos-trace for start/stop and marker support. These methods are not used in embassy code but can be useful in client code. Signed-off-by: Florian Grandel <[email protected]>
* / executor: rtos-trace: name main taskFlorian Grandel2025-08-301-0/+1
|/ | | | | | | Assigns a name to the main task when (rtos-)tracing is active. This improves tracing usability with the SystemView backend. Signed-off-by: Florian Grandel <[email protected]>
* Add to changelogdiondokter2025-08-291-0/+2
|
* Fix test & rtos-tracediondokter2025-08-292-2/+2
|
* executor: return error when creating the spawntoken, not when spawning.Dario Nieuwenhuis2025-08-298-91/+43
|
* executor: do not deref a mut ptr to the entire taskheader.Dario Nieuwenhuis2025-08-291-2/+2
|
* executor: add "task metadata" concept, make name a task metadata.Dario Nieuwenhuis2025-08-297-87/+119
|
* executor: allow trace and rtos-trace to coexist additively.Dario Nieuwenhuis2025-08-293-26/+48
| | | | | Before, enabling `trace` would enable embassy-native tracing, and enabling *both* would *disable* embassy-native tracing.
* executor: do not store task IDs in RAM, we can get it from the pointer every ↵Dario Nieuwenhuis2025-08-294-27/+11
| | | | time.
* chore: prepare embassy crate releasesUlf Lilleengen2025-08-262-2/+4
|
* Read crate configs from metadata.Dario Nieuwenhuis2025-08-251-0/+20
|
* feat: add semver checks and releasing to releaserUlf Lilleengen2025-08-251-5/+0
| | | | | | | | | * 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
* Retain timer_queue_itemDániel Buga2025-08-182-2/+2
|
* Make TimerQueueItem opaqueDániel Buga2025-08-184-106/+22
|
* add missing feature gate for rtos-traceBart Slinger2025-08-141-0/+1
|
* Merge pull request #4486 from embassy-rs/release-executor-0.8Ulf Lilleengen2025-08-012-2/+4
|\ | | | | | | Release executor 0.8
| * chore: Release embassy-executor version 0.8.0Ulf Lilleengen2025-07-312-1/+3
| |
| * chore: prepare embassy-executor 0.8 releaseUlf Lilleengen2025-07-311-1/+1
| |
* | Merge pull request #4443 from Brezak/task-unsafeUlf Lilleengen2025-08-019-6/+86
|\ \ | |/ |/| | | executor: mark unsafe tasks as unsafe
| * embassy-executor: add macro ui test for unsafe ops in unsafe tasksBrezak2025-07-233-0/+30
| | | | | | | | Check if the #[task] macro properly handles unsafe functions so the `unsafe_op_in_unsafe_fn` lint still works
| * embassy-executor: explicitly return impl Future in task inner taskBrezak2025-07-233-6/+15
| |
| * embassy-executor: explicitly return impl Future in task inner taskBrezak2025-07-231-0/+14
| |
| * embassy-executor: unsafe tasks as unsafeBrezak2025-07-233-0/+27
| |
* | `embassy-time`: add missing `Debug` & `defmt::Format` derivesRalph Ursprung2025-07-281-1/+1
|/ | | | | | | | `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.
* Merge pull request #4373 from fg-cfh/fix/name-new-tasksUlf Lilleengen2025-07-111-1/+11
|\ | | | | | | embassy-executor: rtos-trace: fix task naming for new tasks
| * embassy-executor: rtos-trace: fix task naming for new tasksFlorian Grandel2025-07-061-1/+11
| | | | | | | | | | | | | | | | Tasks that are spawned after starting SystemViewer were not named. This change ensures that tasks spawned while SystemViewer is running will be properly named, too. Signed-off-by: Florian Grandel <[email protected]>
* | `embassy-executor`: add release automation using `cargo-release`Ralph Ursprung2025-07-082-1/+7
| | | | | | | | | | | | | | | | | | | | | | 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
* | prepare changelog for `embassy-executor` v0.8.0Ralph Ursprung2025-07-081-0/+12
| |
* | executor: mark Spawner::for_current_executor() as unsafe.Dario Nieuwenhuis2025-07-081-1/+17
| | | | | | | | It's unsound with manually-created Contexts, see https://github.com/embassy-rs/embassy/issues/4379
* | excutor: fix Send unsoundness with `-> impl Future` tasks.Dario Nieuwenhuis2025-07-086-4/+101
|/
* Update Rust nightly, stable.Dario Nieuwenhuis2025-07-043-80/+48
|
* Merge pull request #4266 from 0e4ef622/task-rpitDario Nieuwenhuis2025-06-2212-3/+401
|\ | | | | | | Allow `-> impl Future<Output = ()>` in #[task]
| * Update testsMatthew Tran2025-06-0110-20/+185
| |
| * Add diagnostic::on_unimplemented for nightlyMatthew Tran2025-06-012-1/+6
| |
| * Mention ! in diagnosticMatthew Tran2025-05-291-1/+1
| |
| * Add test for -> impl Future<Output = !>Matthew Tran2025-05-291-0/+12
| |
| * Allow `-> impl Future<Output = ()>` in #[task]Matthew Tran2025-05-287-3/+219
| |
* | Merge pull request #4244 from janderholm/masterDario Nieuwenhuis2025-06-013-11/+11
|\ \ | |/ |/| | | executor: Make state implementations and their conditions match
| * executor: Make state implementations and their conditions matchJohan Anderholm2025-05-233-11/+11
| | | | | | | | | | | | Use u8 for state_atomics and state_critical_section since that is all that is needed. Change arm condition to "32" since that is what is used and required.
* | Add support for Cortex-A/RRobin Mueller2025-05-284-0/+95
|/
* Update defmt dependenciesYuri Astrakhan2025-05-181-1/+1
|
* rustfmtKat Perez2025-05-081-1/+0
|
* remove unnecessary trace flagsKat Perez2025-05-081-7/+0
|