aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/src
Commit message (Collapse)AuthorAgeFilesLines
* Prefer word-sized state in CS implDániel Buga2025-08-311-5/+10
|
* Prefer pointer-sized atomic operationsDániel Buga2025-08-312-7/+24
|
* Fix test & rtos-tracediondokter2025-08-291-1/+1
|
* executor: return error when creating the spawntoken, not when spawning.Dario Nieuwenhuis2025-08-292-65/+18
|
* 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-295-86/+82
|
* executor: allow trace and rtos-trace to coexist additively.Dario Nieuwenhuis2025-08-292-23/+28
| | | | | 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.
* Retain timer_queue_itemDániel Buga2025-08-181-1/+1
|
* Make TimerQueueItem opaqueDániel Buga2025-08-182-90/+16
|
* add missing feature gate for rtos-traceBart Slinger2025-08-141-0/+1
|
* Merge pull request #4443 from Brezak/task-unsafeUlf Lilleengen2025-08-011-4/+4
|\ | | | | | | executor: mark unsafe tasks as unsafe
| * embassy-executor: explicitly return impl Future in task inner taskBrezak2025-07-231-4/+4
| |
* | `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]>
* | 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
* Merge pull request #4266 from 0e4ef622/task-rpitDario Nieuwenhuis2025-06-221-2/+49
|\ | | | | | | Allow `-> impl Future<Output = ()>` in #[task]
| * Add diagnostic::on_unimplemented for nightlyMatthew Tran2025-06-011-0/+4
| |
| * Mention ! in diagnosticMatthew Tran2025-05-291-1/+1
| |
| * Allow `-> impl Future<Output = ()>` in #[task]Matthew Tran2025-05-281-2/+45
| |
* | 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-282-0/+86
|/
* rustfmtKat Perez2025-05-081-1/+0
|
* remove unnecessary trace flagsKat Perez2025-05-081-7/+0
|
* move SpawnerTraceExt back into SpawnerKat Perez2025-05-082-42/+50
|
* update TraceExt trait name for SpawnerKat Perez2025-05-081-3/+3
|
* remove unused task_idKat Perez2025-05-081-12/+1
|
* implement TaskRefTrace for tracing-only fields in TaskRefKat Perez2025-05-082-36/+52
|
* move TaskTracker to traceKat Perez2025-05-082-72/+72
|
* move spawn_named into trace.rs through TraceExt traitKat Perez2025-05-082-35/+45
|
* change rtos-trace feature flag on tracing API to trace feature flagKat Perez2025-05-081-2/+2
|
* remove unused tracing APIKat Perez2025-05-081-29/+0
|
* make tracing API functions internalKat Perez2025-05-081-2/+2
|
* fix whitespace in the imports in trace.rsKat Perez2025-05-061-2/+3
|
* use an intrusive linked list in TaskHeader to track tasksKat Perez2025-05-063-106/+163
|
* add ID field to TaskHeaderKat Perez2025-05-062-0/+20
|
* remove name from TaskRegistry and retrieve from task header insteadKat Perez2025-05-062-28/+8
|
* add get/set for task nameKat Perez2025-05-061-0/+15
|
* add name to TaskHeaderKat Perez2025-05-061-0/+4
|
* whitespace in the documentationKat Perez2025-05-061-1/+1
|
* add a stub implementation for spawn_namedKat Perez2025-05-061-0/+7
| | | | When rtos-trace is not enabled, spawn_named will use spawn instead
* add a task registry to tracing infrastructureKat Perez2025-05-063-2/+166
|
* fix rustfmtPhil-hacker2025-04-081-1/+2
|
* fix compilation on anything not using the feature `arch-avr`Phil-hacker2025-04-081-1/+3
|
* fix the avr executorPhil-hacker2025-04-081-1/+3
|
* Merge pull request #4046 from outfoxxed/main-macro-executorDario Nieuwenhuis2025-04-071-0/+2
|\ | | | | | | executor: add executor selection to #[embassy_executor::main]
| * executor: add executor selection to #[embassy_executor::main]outfoxxed2025-04-061-0/+2
| |
* | embassy_executor: introduce `Spawner::executor_id()`Kaspar Schleiser2025-04-041-0/+5
| |