244 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
8a23a4dfa4
Merge pull request #4266 from 0e4ef622/task-rpit
Allow `-> impl Future<Output = ()>` in #[task]
2025-06-22 21:27:56 +00:00
Matthew Tran
3cef4f0c04 Update tests 2025-06-01 12:36:46 -05:00
Matthew Tran
0d83fbbb57 Add diagnostic::on_unimplemented for nightly 2025-06-01 10:32:24 -05:00
Dario Nieuwenhuis
ad5a14fe85
Merge pull request #4244 from janderholm/master
executor: Make state implementations and their conditions match
2025-06-01 12:16:50 +00:00
Matthew Tran
b06a708f81 Mention ! in diagnostic 2025-05-29 05:54:25 -05:00
Matthew Tran
dbff432e19 Add test for -> impl Future<Output = !> 2025-05-29 05:18:16 -05:00
Matthew Tran
a4d4f62a1e Allow -> impl Future<Output = ()> in #[task] 2025-05-28 23:37:17 -05:00
Robin Mueller
5a07ea5d85 Add support for Cortex-A/R 2025-05-28 17:00:42 +02:00
Johan Anderholm
0f9a7a057f executor: Make state implementations and their conditions match
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.
2025-05-23 18:27:14 +02:00
Yuri Astrakhan
ef0f29f0ed Update defmt dependencies 2025-05-18 20:52:09 +02:00
Kat Perez
ebb6132f5f rustfmt 2025-05-08 16:31:47 -04:00
Kat Perez
3ffa2e4f3f remove unnecessary trace flags 2025-05-08 16:30:06 -04:00
Kat Perez
dfaab013eb move SpawnerTraceExt back into Spawner 2025-05-08 14:35:43 -04:00
Kat Perez
e968c47636 update TraceExt trait name for Spawner 2025-05-08 14:04:54 -04:00
Kat Perez
194a3044ac remove unused task_id 2025-05-08 13:46:41 -04:00
Kat Perez
3b873bb6bb implement TaskRefTrace for tracing-only fields in TaskRef 2025-05-08 13:40:32 -04:00
Kat Perez
462d04c6d5 move TaskTracker to trace 2025-05-08 13:35:34 -04:00
Kat Perez
8a8deb704f move spawn_named into trace.rs through TraceExt trait 2025-05-08 11:29:44 -04:00
Kat Perez
56b5e35c60 change rtos-trace feature flag on tracing API to trace feature flag 2025-05-08 10:58:59 -04:00
Kat Perez
8f18810ec6 remove unused tracing API 2025-05-08 10:58:27 -04:00
Kat Perez
b3e13cc6de make tracing API functions internal 2025-05-08 10:58:07 -04:00
Kat Perez
f2429c212e fix whitespace in the imports in trace.rs 2025-05-06 11:55:58 -04:00
Kat Perez
6085916714 use an intrusive linked list in TaskHeader to track tasks 2025-05-06 11:47:04 -04:00
Kat Perez
f4e0cbb7cc add ID field to TaskHeader 2025-05-06 09:59:27 -04:00
Kat Perez
54b3fb6e7a remove name from TaskRegistry and retrieve from task header instead 2025-05-06 09:27:19 -04:00
Kat Perez
61f0f889a0 add get/set for task name 2025-05-06 09:23:39 -04:00
Kat Perez
05d52decb2 add name to TaskHeader 2025-05-06 09:04:21 -04:00
Kat Perez
bbffd2b3f9 whitespace in the documentation 2025-05-06 08:27:46 -04:00
Kat Perez
032898adf5 add a stub implementation for spawn_named
When rtos-trace is not enabled, spawn_named will use spawn instead
2025-05-06 08:27:46 -04:00
Kat Perez
f8f9c38b2e add a task registry to tracing infrastructure 2025-05-06 08:27:46 -04:00
Phil-hacker
3a85ecebef fix rustfmt 2025-04-08 22:30:17 +02:00
Phil-hacker
ce40a39a87 fix compilation on anything not using the feature arch-avr 2025-04-08 22:15:05 +02:00
Phil-hacker
66a02a4f8d fix the avr executor 2025-04-08 22:10:17 +02:00
Phil-hacker
1a4b1a9476 update avr_device 2025-04-08 22:07:36 +02:00
Dario Nieuwenhuis
1eec964637
Merge pull request #4046 from outfoxxed/main-macro-executor
executor: add executor selection to #[embassy_executor::main]
2025-04-07 13:08:33 +00:00
outfoxxed
ef8d168df6
executor: add executor selection to #[embassy_executor::main] 2025-04-06 18:52:32 -07:00
Dario Nieuwenhuis
cee3b49344
Merge pull request #4049 from kaspar030/executor_id
embassy-executor: introduce `Executor::id()`, `Spawner::executor_id()`
2025-04-06 21:55:04 +00:00
Dániel Buga
c04b433991
embassy-sync, executor/wasm: don't select critical-section impl for std 2025-04-06 22:43:32 +02:00
Åke Amcoff
ac4f4ee807 disable critical-section/std for arch-std in embassy-executor 2025-04-05 18:36:04 +02:00
Kaspar Schleiser
89f3566419 embassy_executor: introduce Spawner::executor_id() 2025-04-04 22:32:55 +02:00
Kaspar Schleiser
3f87ce6f50 embassy-executor: introduce Executor::id() 2025-04-04 22:32:55 +02:00
James Munns
b7e1b1ca94 Fix some intra-doc links 2025-04-03 10:35:00 +02:00
James Munns
ef3c1b87d1 Minor docs improvements 2025-04-01 14:35:21 +02:00
James Munns
2e474b7df2 Remove notes about stability 2025-04-01 14:30:36 +02:00
James Munns
3e25a7be86 Small grammar fixes 2025-04-01 14:27:32 +02:00
James Munns
c3efb85b85 Fix task_end callback 2025-04-01 14:23:39 +02:00
James Munns
8a8e450053 Reorder doc comments for format reasons 2025-04-01 14:12:58 +02:00
James Munns
84cd416bed Finish trailing sentence 2025-04-01 14:11:42 +02:00
James Munns
882e2180a4 Add docs, add task_end trace point 2025-04-01 14:06:04 +02:00
Matthew Tran
034e9fc218 Move macro helper functions to embassy-executor 2025-03-29 03:52:00 -05:00