Cargo Features
embassy-executor has no features set by default.
[dependencies]
embassy-executor = { version = "0.9.1", features = ["nightly", "turbowakers", "arch-std", "arch-cortex-m", "arch-cortex-ar", "arch-riscv32", "arch-wasm", "arch-avr", "arch-spin", "executor-thread", "executor-interrupt", "trace", "rtos-trace", "defmt", "log"] }
- nightly
-
Enable nightly-only features
Enables nightly of embassy-executor-macros
- turbowakers
-
Enables turbo wakers, which requires patching core. Not surfaced in the docs by default due to being an complicated advanced and undocumented feature. See: https://github.com/embassy-rs/embassy/pull/1263
- arch-std
-
std
- arch-cortex-m
-
Cortex-M
Enables cortex-m
arch-cortex-m dependencies
- arch-cortex-ar
-
Cortex-A/R
Enables cortex-ar ^0.2
arch-cortex-ar dependencies
- arch-riscv32
-
RISC-V 32
- arch-wasm
-
WASM
Enables js-sys and wasm-bindgen
wasm-bindgen:
arch-wasm dependencies
- arch-avr
-
AVR
Enables avr-device ^0.7.0
arch-avr dependencies
and portable-atomic
needed for AVR
- arch-spin
-
spin (architecture agnostic; never sleeps)
- executor-thread
-
Executor
Enable the thread-mode executor (using WFE/SEV in Cortex-M, WFI in other embedded archs)
- executor-interrupt
-
Enable the interrupt-mode executor (available in Cortex-M only)
- trace rtos-trace?
-
Enable tracing support (adds some overhead)
Affects
raw::trace… - rtos-trace = trace
-
Enable support for rtos-trace framework
Enables embassy-time-driver and rtos-trace ^0.1.3