Rice
97adc129b8
Merge branch 'embassy-rs:main' into main
2025-09-12 17:17:41 -04:00
riceman2000
139ee90775
Updated example
2025-09-12 17:17:24 -04:00
Riceman2000
f829ddd3b2
Example first draft
2025-09-12 12:47:55 -04:00
Riceman2000
0ea3478fb5
Fix typo in PIO SPI examples
2025-09-12 12:47:47 -04:00
Dario Nieuwenhuis
abcf0ff2e1
Merge pull request #4655 from RobertZ2011/remove-mutex-guard-map-sized
...
Remove `Sized` bound from `MutexGuard::map`
2025-09-12 16:46:30 +00:00
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
d21bf73334
Merge pull request #4657 from tonarino/ospi-fixups-upstream
...
Fix alternate bytes register setting for OSPI/HSPI/XSPI
2025-09-12 15:38:48 +00:00
Brian Schwind
ffe7f6b0a0
Update embassy-stm32/CHANGELOG.md
2025-09-13 00:27:30 +09:00
Brian Schwind
881fee9820
Apply fixes to XSPI as well
2025-09-13 00:13:44 +09:00
Brian Schwind
4a3e9e38e5
Apply fixes to HSPI as well
2025-09-13 00:13:44 +09:00
Brian Schwind
9c4df75940
Set the alternate bytes register to the correct value when configuring an Ospi command
2025-09-13 00:13:44 +09:00
Brian Schwind
a7e1bf2aff
Typo fixes
2025-09-13 00:13:05 +09:00
Ulf Lilleengen
59461ba75a
Merge pull request #4627 from paroga/usb_dfu_application
...
embassy-dfu-usb: Allow `application` and `dfu` feature at the same time
2025-09-12 06:55:54 +00: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