aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2022-08-23 14:57:45 +0200
committerUlf Lilleengen <[email protected]>2022-08-25 12:46:24 +0200
commit045ae2c29f2ca358a501e664ed2a7863b9a6bd59 (patch)
treeaaf0b1ac5b83a9c23151964fd6c6b4aeb40360c0 /embassy-executor
parent529535194d4b5d58b31fd6a7541176105e3c63f7 (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.toml4
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 = []
31integrated-timers = ["dep:embassy-time"] 31integrated-timers = ["dep:embassy-time"]
32 32
33# Trace interrupt invocations with rtos-trace. 33# Trace interrupt invocations with rtos-trace.
34rtos-trace-interrupt = ["rtos-trace"] 34rtos-trace-interrupt = ["rtos-trace", "embassy-macros/rtos-trace-interrupt"]
35 35
36[dependencies] 36[dependencies]
37defmt = { version = "0.3", optional = true } 37defmt = { version = "0.3", optional = true }
@@ -39,7 +39,7 @@ log = { version = "0.4.14", optional = true }
39rtos-trace = { version = "0.1.2", optional = true } 39rtos-trace = { version = "0.1.2", optional = true }
40 40
41futures-util = { version = "0.3.17", default-features = false } 41futures-util = { version = "0.3.17", default-features = false }
42embassy-macros = { version = "0.1.0", path = "../embassy-macros"} 42embassy-macros = { version = "0.1.0", path = "../embassy-macros" }
43embassy-time = { version = "0.1.0", path = "../embassy-time", optional = true} 43embassy-time = { version = "0.1.0", path = "../embassy-time", optional = true}
44atomic-polyfill = "1.0.1" 44atomic-polyfill = "1.0.1"
45critical-section = "1.1" 45critical-section = "1.1"