aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/Cargo.toml
diff options
context:
space:
mode:
authorDániel Buga <[email protected]>2023-08-12 16:00:18 +0200
committerDániel Buga <[email protected]>2023-08-12 18:29:56 +0200
commit675b7fb6056d8c3dfaca759b7cd373e2f4a0e111 (patch)
treeef4f786edd849f9ce82cffa3b1d58e939a4f53a7 /embassy-executor/Cargo.toml
parent0727f8690c4684d0622547edee2cf9dc22215a9b (diff)
POC: allow custom executors
Diffstat (limited to 'embassy-executor/Cargo.toml')
-rw-r--r--embassy-executor/Cargo.toml7
1 files changed, 5 insertions, 2 deletions
diff --git a/embassy-executor/Cargo.toml b/embassy-executor/Cargo.toml
index ce5e2741f..182dd6937 100644
--- a/embassy-executor/Cargo.toml
+++ b/embassy-executor/Cargo.toml
@@ -31,11 +31,11 @@ features = ["nightly", "defmt", "pender-callback", "arch-cortex-m", "executor-th
31 31
32# Architecture 32# Architecture
33_arch = [] # some arch was picked 33_arch = [] # some arch was picked
34arch-std = ["_arch", "critical-section/std"] 34arch-std = ["_arch", "critical-section/std", "thread-context"]
35arch-cortex-m = ["_arch", "dep:cortex-m"] 35arch-cortex-m = ["_arch", "dep:cortex-m"]
36arch-xtensa = ["_arch"] 36arch-xtensa = ["_arch"]
37arch-riscv32 = ["_arch"] 37arch-riscv32 = ["_arch"]
38arch-wasm = ["_arch", "dep:wasm-bindgen", "dep:js-sys"] 38arch-wasm = ["_arch", "dep:wasm-bindgen", "dep:js-sys", "thread-context"]
39 39
40# Enable creating a `Pender` from an arbitrary function pointer callback. 40# Enable creating a `Pender` from an arbitrary function pointer callback.
41pender-callback = [] 41pender-callback = []
@@ -45,6 +45,9 @@ executor-thread = []
45# Enable the interrupt-mode executor (available in Cortex-M only) 45# Enable the interrupt-mode executor (available in Cortex-M only)
46executor-interrupt = [] 46executor-interrupt = []
47 47
48# Pass a context to the thread-mode executor.
49thread-context = []
50
48# Enable nightly-only features 51# Enable nightly-only features
49nightly = [] 52nightly = []
50 53