327 Commits

Author SHA1 Message Date
Dániel Buga
e62adea1f9
executor: Add fallible from_waker getter 2025-12-18 09:57:52 +01:00
Gerhard de Clercq
b1fe9c6955 Add run_until function to std Executor as to support grafeul shutdown. 2025-12-12 15:34:57 +00:00
Dario Nieuwenhuis
d7c7a5e766 executor: update ui test for nightly. 2025-12-12 00:48:16 +01:00
Robin Mueller
fd40f3e2f2 Migrate from cortex-ar to aarch32-cpu
- Feature name `arch-cortex-ar` remains the same.
- Legacy ARM architectures are not supported.
2025-11-02 19:30:23 +01:00
Dario Nieuwenhuis
d8d2536967 executor: fix build with 'trace' on. 2025-10-30 13:56:01 +01:00
Dario Nieuwenhuis
dbf0416abd executor: Fix compiletest for edition 2024. 2025-10-06 23:19:53 +02:00
Dario Nieuwenhuis
8730a013c3 Rustfmt for edition 2024. 2025-10-06 23:19:53 +02:00
Dario Nieuwenhuis
abc8e450f9 Edition 2024. 2025-10-06 23:19:53 +02:00
Dario Nieuwenhuis
e4e06ab5b1
Merge pull request #4730 from robamu/bump-allowed-cortex-ar-range
bump cortex-ar to v0.3
2025-10-02 17:31:21 +00:00
Robin Mueller
c0d3507728 bump cortex-ar to v0.3 2025-10-02 11:13:19 +02:00
Dario Nieuwenhuis
03d0637d6e Update nightly. 2025-09-26 21:35:49 +02:00
Dániel Buga
d5e4558f18
Fix docs 2025-09-23 16:23:18 +02:00
Dario Nieuwenhuis
0850f3b537 Update Rust. 2025-09-22 01:49:39 +02:00
Dario Nieuwenhuis
4d71f432ad Update manifests to satisfy new checks. 2025-09-22 00:47:08 +02:00
Dario Nieuwenhuis
55b3c5c6e8 ci: use devtool to build. 2025-09-11 21:52:47 +02:00
Dario Nieuwenhuis
6ec9bcb1c4 executor: add priority scheduler. 2025-09-11 16:33:48 +02:00
Dario Nieuwenhuis
e1209c5563 executor: make Deadline actually private. 2025-09-11 15:40:33 +02:00
Dion Dokter
2e21dcf2e6 Fix metadata 2025-09-11 14:45:41 +02:00
Dion Dokter
09701a339d Fix example 2025-09-11 14:45:41 +02:00
Dion Dokter
401fac6ea9 Make requested API changes 2025-09-11 14:45:40 +02:00
Dion Dokter
adb0c3e947 Add more metadata 2025-09-11 14:45:27 +02:00
Dion Dokter
a853bbe2a4 Happy CI :) 2025-09-11 14:45:27 +02:00
diondokter
52d1785605 Introduce metadata-deadline and let the EDF scheduler use it 2025-09-11 14:45:27 +02:00
Dion Dokter
d6d4df1c76 Add some docs 2025-09-11 14:45:06 +02:00
Dion Dokter
3f606b28f3 Change deadline to use internal atomics 2025-09-11 14:45:06 +02:00
James Munns
b5c9e72100 Rename, remove excess mut 2025-09-11 14:45:06 +02:00
James Munns
4479f5bbfc Regular comments not doc comments 2025-09-11 14:45:06 +02:00
James Munns
38e5e2e9ce Replace use of RefCell with UnsafeCell 2025-09-11 14:45:06 +02:00
James Munns
20b56b0fe0 Update to use critical-section::Mutex instead of mutex::BlockingMutex
This allows the scheduler to better collaborate with existing critical sections
2025-09-11 14:45:06 +02:00
James Munns
cf171ad6d9 fmt 2025-09-11 14:45:06 +02:00
James Munns
db063945e7 Inline the "MutexTransferStack" impl as it is unclear whether it will be merged upstream 2025-09-11 14:45:06 +02:00
James Munns
d88ea8dd2a Update with cordyceps changes 2025-09-11 14:45:06 +02:00
James Munns
7af8f35a50 There can be only one (run queue) 2025-09-11 14:45:06 +02:00
James Munns
0e28ba1091 "Deadline Rank Sorted Scheduler" -> "Earliest Deadline First Scheduler" 2025-09-11 14:45:06 +02:00
James Munns
3929142f4c One more must_use 2025-09-11 14:45:06 +02:00
James Munns
b1b2955b60 Switch to released version of cordyceps, add error if used w/o atomics 2025-09-11 14:45:06 +02:00
James Munns
b65a3a301a Clean up some TODOs 2025-09-11 14:45:06 +02:00
James Munns
08a57b1cb0 Update with changes from the PR 2025-09-11 14:45:06 +02:00
James Munns
2a068c5283 Conditional import 2025-09-11 14:45:06 +02:00
James Munns
ed2e51bfa4 Dependency enablement trickery 2025-09-11 14:45:06 +02:00
James Munns
ba0426f767 Combine DRS and non-DRS atomic scheduler, using cordyceps 2025-09-11 14:45:06 +02:00
James Munns
8c70aafd4b Make some things more consistent 2025-09-11 14:45:06 +02:00
James Munns
1f50e4d496 Implement Deadline Ranked Scheduling
This implements a minimal version of Deadline Rank Scheduling, as well as ways to access and set Deadlines.

This still needs some UX improvements, but is likely Enough for testing.
2025-09-11 14:45:06 +02:00
James Munns
535c80e61f Add initial DRS scheduler placeholder
* Start hacking in cordyceps

This adds a third kind of runqueue, for now it should work the same as the
current "atomics" runqueue, but uses a cordyceps TransferStack instead of
the existing home-rolled linked list.

* Clean up, use new cordyceps feature

* A bit more cleanup

* Update docs to be more clear
2025-09-11 14:45:06 +02:00
Gabriel Smith
86aff0e63e chore: bump embassy-executor to 0.9.1 to match released version 2025-09-08 14:48:06 -04:00
Dario Nieuwenhuis
286d887529 executor: always name main task main, not just with rtos-trace.
Also fixes the warning about the `rtos-trace` feature not existing in embassy-executor-macros.
2025-09-05 14:57:05 +02:00
Dániel Buga
219cf09aab
Remove features, fix changelog 2025-09-02 08:34:07 +02:00
Dario Nieuwenhuis
0962b09603 Add changelog for embassy-executor v0.9.1 2025-08-31 23:09:31 +02:00
Dario Nieuwenhuis
4cd86e5e76
Merge branch 'main' into feat/name-main-task 2025-08-31 20:50:20 +02:00
Dario Nieuwenhuis
a05506640b
Merge branch 'main' into feat/upgrade-rtos-trace 2025-08-31 20:37:10 +02:00