diff options
| author | Ulf Lilleengen <[email protected]> | 2022-08-23 14:57:45 +0200 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2022-08-25 12:46:24 +0200 |
| commit | 045ae2c29f2ca358a501e664ed2a7863b9a6bd59 (patch) | |
| tree | aaf0b1ac5b83a9c23151964fd6c6b4aeb40360c0 /embassy-executor | |
| parent | 529535194d4b5d58b31fd6a7541176105e3c63f7 (diff) | |
Ensure interrupt::take works without embassy-executor
Add "rtos-trace-interrupt" feature flag on embassy-macros and enable it
for embassy-executor, to ensure that the interrupt::take! macro can be
used without depending on embassy-executor.
Diffstat (limited to 'embassy-executor')
| -rw-r--r-- | embassy-executor/Cargo.toml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml index 1a611720c..409a341f0 100644 --- a/embassy-executor/Cargo.toml +++ b/embassy-executor/Cargo.toml | |||
| @@ -31,7 +31,7 @@ nightly = [] | |||
| 31 | integrated-timers = ["dep:embassy-time"] | 31 | integrated-timers = ["dep:embassy-time"] |
| 32 | 32 | ||
| 33 | # Trace interrupt invocations with rtos-trace. | 33 | # Trace interrupt invocations with rtos-trace. |
| 34 | rtos-trace-interrupt = ["rtos-trace"] | 34 | rtos-trace-interrupt = ["rtos-trace", "embassy-macros/rtos-trace-interrupt"] |
| 35 | 35 | ||
| 36 | [dependencies] | 36 | [dependencies] |
| 37 | defmt = { version = "0.3", optional = true } | 37 | defmt = { version = "0.3", optional = true } |
| @@ -39,7 +39,7 @@ log = { version = "0.4.14", optional = true } | |||
| 39 | rtos-trace = { version = "0.1.2", optional = true } | 39 | rtos-trace = { version = "0.1.2", optional = true } |
| 40 | 40 | ||
| 41 | futures-util = { version = "0.3.17", default-features = false } | 41 | futures-util = { version = "0.3.17", default-features = false } |
| 42 | embassy-macros = { version = "0.1.0", path = "../embassy-macros"} | 42 | embassy-macros = { version = "0.1.0", path = "../embassy-macros" } |
| 43 | embassy-time = { version = "0.1.0", path = "../embassy-time", optional = true} | 43 | embassy-time = { version = "0.1.0", path = "../embassy-time", optional = true} |
| 44 | atomic-polyfill = "1.0.1" | 44 | atomic-polyfill = "1.0.1" |
| 45 | critical-section = "1.1" | 45 | critical-section = "1.1" |
