aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/Cargo.toml
diff options
context:
space:
mode:
authorJames Munns <[email protected]>2025-03-20 09:47:56 +0100
committerDario Nieuwenhuis <[email protected]>2025-09-11 14:45:06 +0200
commit535c80e61f17e4ee4605e00623aabeda2181352d (patch)
treee51920fe675fa5737fb40c885e0199b0ec711abf /embassy-executor/Cargo.toml
parentd860530009c1bf96a20edeff22f10f738bab1503 (diff)
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
Diffstat (limited to 'embassy-executor/Cargo.toml')
-rw-r--r--embassy-executor/Cargo.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml
index 41636a26f..1cd732dfa 100644
--- a/embassy-executor/Cargo.toml
+++ b/embassy-executor/Cargo.toml
@@ -76,6 +76,12 @@ js-sys = { version = "0.3", optional = true }
76# arch-avr dependencies 76# arch-avr dependencies
77avr-device = { version = "0.7.0", optional = true } 77avr-device = { version = "0.7.0", optional = true }
78 78
79[dependencies.cordyceps]
80version = "0.3"
81git = "https://github.com/hawkw/mycelium"
82rev = "aaad19480d175bfc290f1d4dc2d435c6eb3d9fc5"
83optional = true
84
79[dev-dependencies] 85[dev-dependencies]
80critical-section = { version = "1.1", features = ["std"] } 86critical-section = { version = "1.1", features = ["std"] }
81trybuild = "1.0" 87trybuild = "1.0"
@@ -125,3 +131,6 @@ trace = ["_any_trace"]
125## Enable support for rtos-trace framework 131## Enable support for rtos-trace framework
126rtos-trace = ["_any_trace", "metadata-name", "dep:rtos-trace", "dep:embassy-time-driver"] 132rtos-trace = ["_any_trace", "metadata-name", "dep:rtos-trace", "dep:embassy-time-driver"]
127_any_trace = [] 133_any_trace = []
134
135## Enable "Deadline Rank Scheduler"
136drs-scheduler = ["dep:cordyceps"]