diff options
| author | Ulf Lilleengen <[email protected]> | 2024-12-09 15:16:03 +0100 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2024-12-09 15:16:03 +0100 |
| commit | f0be2fdce4856888bd412fe9475ae55e05cf20a2 (patch) | |
| tree | ae14a1f758a13d4b9d6ea079edeea8f7ce711a6c /embassy-executor/Cargo.toml | |
| parent | 86578acaa4d4dbed06ed4fcecec25884f6883e82 (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.toml | 6 |
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] |
| 32 | defmt = { version = "0.3", optional = true } | 32 | defmt = { version = "0.3", optional = true } |
| 33 | log = { version = "0.4.14", optional = true } | 33 | log = { version = "0.4.14", optional = true } |
| 34 | rtos-trace = { version = "0.1.2", optional = true } | 34 | rtos-trace = { version = "0.1.3", optional = true } |
| 35 | 35 | ||
| 36 | embassy-executor-macros = { version = "0.6.2", path = "../embassy-executor-macros" } | 36 | embassy-executor-macros = { version = "0.6.2", path = "../embassy-executor-macros" } |
| 37 | embassy-time-driver = { version = "0.1.0", path = "../embassy-time-driver", optional = true } | 37 | embassy-time-driver = { version = "0.1.0", path = "../embassy-time-driver", optional = true } |
| @@ -91,6 +91,10 @@ arch-spin = ["_arch"] | |||
| 91 | executor-thread = [] | 91 | executor-thread = [] |
| 92 | ## Enable the interrupt-mode executor (available in Cortex-M only) | 92 | ## Enable the interrupt-mode executor (available in Cortex-M only) |
| 93 | executor-interrupt = [] | 93 | executor-interrupt = [] |
| 94 | ## Enable tracing support (adds some overhead) | ||
| 95 | trace = [] | ||
| 96 | ## Enable support for rtos-trace framework | ||
| 97 | rtos-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`. |
