mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 14:53:03 +00:00
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).
29 lines
1.5 KiB
TOML
29 lines
1.5 KiB
TOML
[package]
|
|
edition = "2021"
|
|
name = "embassy-stm32l5-examples"
|
|
version = "0.1.0"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[dependencies]
|
|
embassy-sync = { version = "0.1.0", path = "../../embassy-sync", features = ["defmt"] }
|
|
embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] }
|
|
embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] }
|
|
embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "unstable-pac", "stm32l552ze", "time-driver-any", "exti", "unstable-traits", "memory-x"] }
|
|
embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt"] }
|
|
embassy-net = { version = "0.1.0", path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet"] }
|
|
embassy-futures = { version = "0.1.0", path = "../../embassy-futures" }
|
|
usbd-hid = "0.6.0"
|
|
|
|
defmt = "0.3"
|
|
defmt-rtt = "0.4"
|
|
panic-probe = { version = "0.3", features = ["print-defmt"] }
|
|
|
|
cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
|
|
cortex-m-rt = "0.7.0"
|
|
embedded-hal = "0.2.6"
|
|
futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
|
|
heapless = { version = "0.7.5", default-features = false }
|
|
rand_core = { version = "0.6.3", default-features = false }
|
|
embedded-io = { version = "0.4.0", features = ["async"] }
|
|
static_cell = "1.0"
|