diff options
| author | Dániel Buga <[email protected]> | 2024-12-16 18:51:09 +0100 |
|---|---|---|
| committer | Dániel Buga <[email protected]> | 2024-12-16 20:36:59 +0100 |
| commit | c9f32b7e3667f29c4ab15d4dbab37acdb471d0ed (patch) | |
| tree | f58e3d23f9639b29278d68f1ad8885bfd1073e58 /embassy-executor/Cargo.toml | |
| parent | 3c121e5425e0a1901c459d27e3e5929f86d0a206 (diff) | |
Attach payload to TimerQueueItem
Diffstat (limited to 'embassy-executor/Cargo.toml')
| -rw-r--r-- | embassy-executor/Cargo.toml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml index 60fe7087a..2a64b9c83 100644 --- a/embassy-executor/Cargo.toml +++ b/embassy-executor/Cargo.toml | |||
| @@ -92,6 +92,22 @@ trace = [] | |||
| 92 | ## Enable support for rtos-trace framework | 92 | ## Enable support for rtos-trace framework |
| 93 | rtos-trace = ["dep:rtos-trace", "trace", "dep:embassy-time-driver"] | 93 | rtos-trace = ["dep:rtos-trace", "trace", "dep:embassy-time-driver"] |
| 94 | 94 | ||
| 95 | #! ### Timer Item Payload Size | ||
| 96 | #! Sets the size of the payload for timer items, allowing integrated timer implementors to store | ||
| 97 | #! additional data in the timer item. The payload field will be aligned to this value as well. | ||
| 98 | #! If these features are not defined, the timer item will contain no payload field. | ||
| 99 | |||
| 100 | _timer-item-payload = [] # A size was picked | ||
| 101 | |||
| 102 | ## 1 bytes | ||
| 103 | timer-item-payload-size-1 = ["_timer-item-payload"] | ||
| 104 | ## 2 bytes | ||
| 105 | timer-item-payload-size-2 = ["_timer-item-payload"] | ||
| 106 | ## 4 bytes | ||
| 107 | timer-item-payload-size-4 = ["_timer-item-payload"] | ||
| 108 | ## 8 bytes | ||
| 109 | timer-item-payload-size-8 = ["_timer-item-payload"] | ||
| 110 | |||
| 95 | #! ### Task Arena Size | 111 | #! ### Task Arena Size |
| 96 | #! Sets the [task arena](#task-arena) size. Necessary if you’re not using `nightly`. | 112 | #! Sets the [task arena](#task-arena) size. Necessary if you’re not using `nightly`. |
| 97 | #! | 113 | #! |
