aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/Cargo.toml
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2025-07-08 23:36:51 +0200
committerdiondokter <[email protected]>2025-08-29 13:22:01 +0200
commit2ba34ce2178d576f339f0b0dac70ac125f81cc5b (patch)
tree604ab957e698b371d45c29df7e8099569c1a3df8 /embassy-executor/Cargo.toml
parent658a52fb99e47d3d2f08ebf66335774930ad35ac (diff)
executor: allow trace and rtos-trace to coexist additively.
Before, enabling `trace` would enable embassy-native tracing, and enabling *both* would *disable* embassy-native tracing.
Diffstat (limited to 'embassy-executor/Cargo.toml')
-rw-r--r--embassy-executor/Cargo.toml23
1 files changed, 20 insertions, 3 deletions
diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml
index d89e85cb7..a36a61885 100644
--- a/embassy-executor/Cargo.toml
+++ b/embassy-executor/Cargo.toml
@@ -115,7 +115,24 @@ arch-spin = ["_arch"]
115executor-thread = [] 115executor-thread = []
116## Enable the interrupt-mode executor (available in Cortex-M only) 116## Enable the interrupt-mode executor (available in Cortex-M only)
117executor-interrupt = [] 117executor-interrupt = []
118## Enable tracing support (adds some overhead) 118## Enable tracing hooks
119trace = [] 119trace = ["_any_trace"]
120## Enable support for rtos-trace framework 120## Enable support for rtos-trace framework
121rtos-trace = ["dep:rtos-trace", "trace", "dep:embassy-time-driver"] 121rtos-trace = ["dep:rtos-trace", "_any_trace", "dep:embassy-time-driver"]
122_any_trace = []
123
124#! ### Timer Item Payload Size
125#! Sets the size of the payload for timer items, allowing integrated timer implementors to store
126#! additional data in the timer item. The payload field will be aligned to this value as well.
127#! If these features are not defined, the timer item will contain no payload field.
128
129_timer-item-payload = [] # A size was picked
130
131## 1 bytes
132timer-item-payload-size-1 = ["_timer-item-payload"]
133## 2 bytes
134timer-item-payload-size-2 = ["_timer-item-payload"]
135## 4 bytes
136timer-item-payload-size-4 = ["_timer-item-payload"]
137## 8 bytes
138timer-item-payload-size-8 = ["_timer-item-payload"]