diff options
Diffstat (limited to 'embassy-executor/Cargo.toml')
| -rw-r--r-- | embassy-executor/Cargo.toml | 28 |
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) |
| 110 | arch-spin = ["_arch"] | 110 | arch-spin = ["_arch"] |
| 111 | 111 | ||
| 112 | #! ### Metadata | ||
| 113 | |||
| 114 | ## Enable the `name` field in task metadata. | ||
| 115 | metadata-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) |
| 115 | executor-thread = [] | 120 | executor-thread = [] |
| 116 | ## Enable the interrupt-mode executor (available in Cortex-M only) | 121 | ## Enable the interrupt-mode executor (available in Cortex-M only) |
| 117 | executor-interrupt = [] | 122 | executor-interrupt = [] |
| 118 | ## Enable tracing support (adds some overhead) | 123 | ## Enable tracing hooks |
| 119 | trace = [] | 124 | trace = ["_any_trace"] |
| 120 | ## Enable support for rtos-trace framework | 125 | ## Enable support for rtos-trace framework |
| 121 | rtos-trace = ["dep:rtos-trace", "trace", "dep:embassy-time-driver"] | 126 | rtos-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 | ||
| 137 | timer-item-payload-size-1 = ["_timer-item-payload"] | ||
| 138 | ## 2 bytes | ||
| 139 | timer-item-payload-size-2 = ["_timer-item-payload"] | ||
| 140 | ## 4 bytes | ||
| 141 | timer-item-payload-size-4 = ["_timer-item-payload"] | ||
| 142 | ## 8 bytes | ||
| 143 | timer-item-payload-size-8 = ["_timer-item-payload"] | ||
