mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 16:23:10 +00:00
47 lines
1.6 KiB
TOML
47 lines
1.6 KiB
TOML
[package]
|
|
edition = "2021"
|
|
name = "embassy-stm32wb-examples"
|
|
version = "0.1.0"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[dependencies]
|
|
embassy-sync = { version = "0.2.0", path = "../../embassy-sync", features = ["defmt"] }
|
|
embassy-executor = { version = "0.2.0", path = "../../embassy-executor", features = ["nightly", "arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] }
|
|
embassy-time = { version = "0.1.2", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] }
|
|
embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "stm32wb55rg", "time-driver-any", "memory-x", "exti"] }
|
|
embassy-stm32-wpan = { version = "0.1.0", path = "../../embassy-stm32-wpan", features = ["defmt", "stm32wb55rg"] }
|
|
|
|
defmt = "0.3"
|
|
defmt-rtt = "0.4"
|
|
|
|
cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] }
|
|
cortex-m-rt = "0.7.0"
|
|
embedded-hal = "0.2.6"
|
|
panic-probe = { version = "0.3", features = ["print-defmt"] }
|
|
futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
|
|
heapless = { version = "0.7.5", default-features = false }
|
|
|
|
|
|
[features]
|
|
default = ["ble", "mac"]
|
|
mac = ["embassy-stm32-wpan/mac"]
|
|
ble = ["embassy-stm32-wpan/ble"]
|
|
|
|
[[bin]]
|
|
name = "tl_mbox_ble"
|
|
required-features = ["ble"]
|
|
|
|
[[bin]]
|
|
name = "tl_mbox_mac"
|
|
required-features = ["mac"]
|
|
|
|
[[bin]]
|
|
name = "mac_ffd"
|
|
required-features = ["mac"]
|
|
|
|
[[bin]]
|
|
name = "eddystone_beacon"
|
|
required-features = ["ble"]
|
|
|
|
[patch.crates-io]
|
|
stm32wb-hci = { git = "https://github.com/OueslatiGhaith/stm32wb-hci", rev = "9f663be"} |