Robert Zieba
78d5d3f2dd
Remove Sized
bound from MutexGuard::map
...
Since `MutexGuard` has `T: ?Sized`, `U` does not need to be restricted
to `Sized` types. This now allows using `map` to cast from
`MutexGuard<'_, M, ImplsTrait>` to `MutexGuard<'_, M, dyn Trait>`.
2025-09-12 09:16:32 -07:00
Dario Nieuwenhuis
6cc7531565
Merge pull request #4654 from embassy-rs/devtool-ci
...
ci: use devtool to build.
2025-09-11 20:35:35 +00:00
Dario Nieuwenhuis
55b3c5c6e8
ci: use devtool to build.
2025-09-11 21:52:47 +02:00
Dario Nieuwenhuis
49a7770c19
Merge pull request #4652 from embassy-rs/executor-priority
...
executor: add priority scheduler.
2025-09-11 18:30:50 +02:00
Dario Nieuwenhuis
6ec9bcb1c4
executor: add priority scheduler.
2025-09-11 16:33:48 +02:00
Dario Nieuwenhuis
42c68622ee
Merge pull request #4608 from diondokter/upstream-drs-2
...
[embassy-executor]: Upstream "Earliest Deadline First" Scheduler (version 2)
2025-09-11 13:52:14 +00: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
d04dc2bc35
Add cargo metadata
2025-09-11 14:45:27 +02:00
Dion Dokter
a853bbe2a4
Happy CI :)
2025-09-11 14:45:27 +02:00
diondokter
99209accb5
Add edf example to CI and fix the example
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
67ed473973
rustfmt
2025-09-11 14:45:06 +02:00
James Munns
0cb1ffe025
Add EDF example
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
Dario Nieuwenhuis
d860530009
Merge pull request #4648 from birktj/stm32-blocking-uart-flush
...
stm32/usart: fix blocking flush
2025-09-10 12:46:29 +00:00
Birk Tjelmeland
88c4274547
stm32/usart: fix blocking flush
...
The PR in #2416 fixes buffered usart flushing,
but only for the async functions. This commit
introduces the same fixes to the blocking
functions.
2025-09-10 14:00:01 +02:00
Dario Nieuwenhuis
c9baf4ec09
Merge pull request #4650 from cjdell/main
...
Add Wiznet W6100 driver
2025-09-10 11:08:14 +00:00
Chris Dell
bed230095d
Update changelog with new W6100 (unreleased)
2025-09-10 11:24:29 +01:00
Ulf Lilleengen
2d01ee1e1b
Merge pull request #4643 from CarlKCarlK/patch-1
...
Update Embassy in the Wild with no_std Raspberry Pi Pico clock demons…
2025-09-09 07:03:52 +00:00
Ulf Lilleengen
3c420bf194
Merge pull request #4649 from yodaldevoid/embassy-executor-version
...
chore: bump embassy-executor to 0.9.1 to match released version
2025-09-09 06:58:54 +00:00
Chris Dell
b9023296f6
Add Wiznet W6100 driver
2025-09-08 22:15:16 +01: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
a6cd24907a
Merge pull request #4304 from Remmirad/embassy-net-nrf-802154
...
embassy-net driver for nrf52 802.15.4 radio
2025-09-07 12:38:57 +00:00
Carl Kadie
c101acbdc3
Update Embassy in the Wild with no_std Raspberry Pi Pico clock demonstrating layered Embassy tasks
...
(I also added a note that newer entries are at the top. If this isn't right, let me know or change.)
2025-09-06 14:05:45 -07:00
Remmirad
224d6b0312
nrf: 802.15.4 embassy-net-driver
2025-09-06 11:54:29 +02:00
Dario Nieuwenhuis
25e0ebf520
Merge pull request #4430 from fwolter/add-f1-remap
...
Add STM32F1 AFIO remap
2025-09-05 22:45:57 +00:00