d3c4e4a20a
This introduces a `Pender` struct with enum cases for thread-mode, interrupt-mode and custom callback executors. This avoids calls through function pointers when using only the thread or interrupt executors. Faster, and friendlier to `cargo-call-stack`. `embassy-executor` now has `arch-xxx` Cargo features to select the arch and to enable the builtin executors (thread and interrupt).
26 lines
No EOL
1.2 KiB
TOML
26 lines
No EOL
1.2 KiB
TOML
[package]
|
|
edition = "2021"
|
|
name = "embassy-boot-nrf-examples"
|
|
version = "0.1.0"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[dependencies]
|
|
embassy-sync = { version = "0.1.0", path = "../../../../embassy-sync" }
|
|
embassy-executor = { version = "0.1.0", path = "../../../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "nightly", "integrated-timers", "arch-cortex-m", "executor-thread"] }
|
|
embassy-time = { version = "0.1.0", path = "../../../../embassy-time", features = ["nightly"] }
|
|
embassy-nrf = { version = "0.1.0", path = "../../../../embassy-nrf", features = ["time-driver-rtc1", "gpiote", "nightly"] }
|
|
embassy-boot = { version = "0.1.0", path = "../../../../embassy-boot/boot" }
|
|
embassy-boot-nrf = { version = "0.1.0", path = "../../../../embassy-boot/nrf" }
|
|
embassy-embedded-hal = { version = "0.1.0", path = "../../../../embassy-embedded-hal" }
|
|
|
|
defmt = { version = "0.3", optional = true }
|
|
defmt-rtt = { version = "0.4", optional = true }
|
|
panic-reset = { version = "0.1.1" }
|
|
embedded-hal = { version = "0.2.6" }
|
|
|
|
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
|
|
cortex-m-rt = "0.7.0"
|
|
|
|
[features]
|
|
ed25519-dalek = ["embassy-boot/ed25519-dalek"]
|
|
ed25519-salty = ["embassy-boot/ed25519-salty"] |