aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/Cargo.toml
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2025-08-29 12:04:29 +0000
committerGitHub <[email protected]>2025-08-29 12:04:29 +0000
commitf86cf87f2f20f723e2ba2fe7d83908a2b3bac2d1 (patch)
tree57f9200ed729746ef5f077af6c79863c37e824ae /embassy-executor/Cargo.toml
parentdf10e8a6bc407544d29c234ed00bdec3e9caf837 (diff)
parente2c34ac735888d25d57d3ea07e8915c2e112048c (diff)
Merge pull request #4606 from diondokter/taskmeta-update-2
Taskmeta update
Diffstat (limited to 'embassy-executor/Cargo.toml')
-rw-r--r--embassy-executor/Cargo.toml28
1 files changed, 25 insertions, 3 deletions
diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml
index d89e85cb7..79680ae74 100644
--- a/embassy-executor/Cargo.toml
+++ b/embassy-executor/Cargo.toml
@@ -109,13 +109,35 @@ arch-avr = ["_arch", "dep:portable-atomic", "dep:avr-device"]
109## spin (architecture agnostic; never sleeps) 109## spin (architecture agnostic; never sleeps)
110arch-spin = ["_arch"] 110arch-spin = ["_arch"]
111 111
112#! ### Metadata
113
114## Enable the `name` field in task metadata.
115metadata-name = []
116
112#! ### Executor 117#! ### Executor
113 118
114## Enable the thread-mode executor (using WFE/SEV in Cortex-M, WFI in other embedded archs) 119## Enable the thread-mode executor (using WFE/SEV in Cortex-M, WFI in other embedded archs)
115executor-thread = [] 120executor-thread = []
116## Enable the interrupt-mode executor (available in Cortex-M only) 121## Enable the interrupt-mode executor (available in Cortex-M only)
117executor-interrupt = [] 122executor-interrupt = []
118## Enable tracing support (adds some overhead) 123## Enable tracing hooks
119trace = [] 124trace = ["_any_trace"]
120## Enable support for rtos-trace framework 125## Enable support for rtos-trace framework
121rtos-trace = ["dep:rtos-trace", "trace", "dep:embassy-time-driver"] 126rtos-trace = ["_any_trace", "metadata-name", "dep:rtos-trace", "dep:embassy-time-driver"]
127_any_trace = []
128
129#! ### Timer Item Payload Size
130#! Sets the size of the payload for timer items, allowing integrated timer implementors to store
131#! additional data in the timer item. The payload field will be aligned to this value as well.
132#! If these features are not defined, the timer item will contain no payload field.
133
134_timer-item-payload = [] # A size was picked
135
136## 1 bytes
137timer-item-payload-size-1 = ["_timer-item-payload"]
138## 2 bytes
139timer-item-payload-size-2 = ["_timer-item-payload"]
140## 4 bytes
141timer-item-payload-size-4 = ["_timer-item-payload"]
142## 8 bytes
143timer-item-payload-size-8 = ["_timer-item-payload"]