aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/Cargo.toml
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2024-12-09 15:16:03 +0100
committerUlf Lilleengen <[email protected]>2024-12-09 15:16:03 +0100
commitf0be2fdce4856888bd412fe9475ae55e05cf20a2 (patch)
treeae14a1f758a13d4b9d6ea079edeea8f7ce711a6c /embassy-executor/Cargo.toml
parent86578acaa4d4dbed06ed4fcecec25884f6883e82 (diff)
Extend tracing api to support executor id and end task
Allow applications to provide a trace implementation that only needs to implement APIs used by the embassy executor, and provide more context in the event of multiple executors being used.
Diffstat (limited to 'embassy-executor/Cargo.toml')
-rw-r--r--embassy-executor/Cargo.toml6
1 files changed, 5 insertions, 1 deletions
diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml
index 7c930b658..0a5360e5d 100644
--- a/embassy-executor/Cargo.toml
+++ b/embassy-executor/Cargo.toml
@@ -31,7 +31,7 @@ features = ["defmt", "arch-cortex-m", "executor-thread", "executor-interrupt"]
31[dependencies] 31[dependencies]
32defmt = { version = "0.3", optional = true } 32defmt = { version = "0.3", optional = true }
33log = { version = "0.4.14", optional = true } 33log = { version = "0.4.14", optional = true }
34rtos-trace = { version = "0.1.2", optional = true } 34rtos-trace = { version = "0.1.3", optional = true }
35 35
36embassy-executor-macros = { version = "0.6.2", path = "../embassy-executor-macros" } 36embassy-executor-macros = { version = "0.6.2", path = "../embassy-executor-macros" }
37embassy-time-driver = { version = "0.1.0", path = "../embassy-time-driver", optional = true } 37embassy-time-driver = { version = "0.1.0", path = "../embassy-time-driver", optional = true }
@@ -91,6 +91,10 @@ arch-spin = ["_arch"]
91executor-thread = [] 91executor-thread = []
92## Enable the interrupt-mode executor (available in Cortex-M only) 92## Enable the interrupt-mode executor (available in Cortex-M only)
93executor-interrupt = [] 93executor-interrupt = []
94## Enable tracing support (adds some overhead)
95trace = []
96## Enable support for rtos-trace framework
97rtos-trace = ["dep:rtos-trace", "trace"]
94 98
95#! ### Task Arena Size 99#! ### Task Arena Size
96#! Sets the [task arena](#task-arena) size. Necessary if you’re not using `nightly`. 100#! Sets the [task arena](#task-arena) size. Necessary if you’re not using `nightly`.