diff options
| author | James Munns <[email protected]> | 2025-06-03 16:34:12 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2025-09-11 14:45:06 +0200 |
| commit | 7af8f35a50c631802615044e12cc9c74614f78bb (patch) | |
| tree | c565eaa560b0955d979325a1bc9cd339c4e6f3ec /embassy-executor/Cargo.toml | |
| parent | 67ed473973dae6d60aed8b88b8b854b224660e8d (diff) | |
There can be only one (run queue)
Diffstat (limited to 'embassy-executor/Cargo.toml')
| -rw-r--r-- | embassy-executor/Cargo.toml | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml index 17315eaa3..34468e4f9 100644 --- a/embassy-executor/Cargo.toml +++ b/embassy-executor/Cargo.toml | |||
| @@ -76,13 +76,16 @@ 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 | # Note: this is ONLY a dependency when the target has atomics, this is | 79 | |
| 80 | # used for `run_queue_atomics`. We need to be conditional because | 80 | [dependencies.cordyceps] |
| 81 | # cordyceps *requires* the use of atomics, so we pull it in when | 81 | # version = "0.3.3" |
| 82 | # `run_queue_atomics` would be enabled, and NOT when `run_queue_critical_section` | 82 | # todo: update after https://github.com/hawkw/mycelium/pull/537 is merged |
| 83 | # would be enabled. | 83 | git = "https://github.com/hawkw/mycelium" |
| 84 | [target.'cfg(target_has_atomic="ptr")'.dependencies.cordyceps] | 84 | rev = "86c428eecfd37ee24dd81f14c4a9f5c8ecefcf17" |
| 85 | version = "0.3.3" | 85 | |
| 86 | # Note: this is ONLY a dependency when the target does NOT have atomics | ||
| 87 | [target.'cfg(not(target_has_atomic="ptr"))'.dependencies.mutex] | ||
| 88 | version = "1.0" | ||
| 86 | 89 | ||
| 87 | [dev-dependencies] | 90 | [dev-dependencies] |
| 88 | critical-section = { version = "1.1", features = ["std"] } | 91 | critical-section = { version = "1.1", features = ["std"] } |
| @@ -135,6 +138,5 @@ rtos-trace = ["_any_trace", "metadata-name", "dep:rtos-trace", "dep:embassy-time | |||
| 135 | _any_trace = [] | 138 | _any_trace = [] |
| 136 | 139 | ||
| 137 | ## Enable "Earliest Deadline First" Scheduler, using soft-realtime "deadlines" to prioritize | 140 | ## Enable "Earliest Deadline First" Scheduler, using soft-realtime "deadlines" to prioritize |
| 138 | ## tasks based on the remaining time before their deadline. Adds some overhead. Requires | 141 | ## tasks based on the remaining time before their deadline. Adds some overhead. |
| 139 | ## hardware atomic support | ||
| 140 | edf-scheduler = ["dep:embassy-time-driver"] | 142 | edf-scheduler = ["dep:embassy-time-driver"] |
