diff options
| author | James Munns <[email protected]> | 2025-03-20 09:47:56 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2025-09-11 14:45:06 +0200 |
| commit | 535c80e61f17e4ee4605e00623aabeda2181352d (patch) | |
| tree | e51920fe675fa5737fb40c885e0199b0ec711abf /embassy-executor/Cargo.toml | |
| parent | d860530009c1bf96a20edeff22f10f738bab1503 (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.toml | 9 |
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 |
| 77 | avr-device = { version = "0.7.0", optional = true } | 77 | avr-device = { version = "0.7.0", optional = true } |
| 78 | 78 | ||
| 79 | [dependencies.cordyceps] | ||
| 80 | version = "0.3" | ||
| 81 | git = "https://github.com/hawkw/mycelium" | ||
| 82 | rev = "aaad19480d175bfc290f1d4dc2d435c6eb3d9fc5" | ||
| 83 | optional = true | ||
| 84 | |||
| 79 | [dev-dependencies] | 85 | [dev-dependencies] |
| 80 | critical-section = { version = "1.1", features = ["std"] } | 86 | critical-section = { version = "1.1", features = ["std"] } |
| 81 | trybuild = "1.0" | 87 | trybuild = "1.0" |
| @@ -125,3 +131,6 @@ trace = ["_any_trace"] | |||
| 125 | ## Enable support for rtos-trace framework | 131 | ## Enable support for rtos-trace framework |
| 126 | rtos-trace = ["_any_trace", "metadata-name", "dep:rtos-trace", "dep:embassy-time-driver"] | 132 | rtos-trace = ["_any_trace", "metadata-name", "dep:rtos-trace", "dep:embassy-time-driver"] |
| 127 | _any_trace = [] | 133 | _any_trace = [] |
| 134 | |||
| 135 | ## Enable "Deadline Rank Scheduler" | ||
| 136 | drs-scheduler = ["dep:cordyceps"] | ||
