mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-12-01 11:12:26 +00:00
40 lines
1.9 KiB
TOML
40 lines
1.9 KiB
TOML
[package]
|
|
edition = "2021"
|
|
name = "embassy-stm32l0-examples"
|
|
version = "0.1.0"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[features]
|
|
default = ["nightly"]
|
|
nightly = ["embassy-stm32/nightly", "embassy-time/nightly", "embassy-time/unstable-traits", "embassy-executor/nightly",
|
|
"embassy-lora", "lora-phy", "lorawan-device", "lorawan", "dep:embedded-io-async"]
|
|
|
|
[dependencies]
|
|
# Change stm32l072cz to your chip name, if necessary.
|
|
embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "stm32l072cz", "time-driver-any", "exti", "unstable-traits", "memory-x"] }
|
|
embassy-sync = { version = "0.3.0", path = "../../embassy-sync", features = ["defmt"] }
|
|
embassy-executor = { version = "0.3.0", path = "../../embassy-executor", features = ["arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] }
|
|
embassy-time = { version = "0.1.5", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] }
|
|
embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["time", "defmt"], optional = true }
|
|
lora-phy = { version = "2", optional = true }
|
|
lorawan-device = { version = "0.11.0", default-features = false, features = ["async", "external-lora-phy"], optional = true }
|
|
lorawan = { version = "0.7.4", default-features = false, features = ["default-crypto"], optional = true }
|
|
|
|
defmt = "0.3"
|
|
defmt-rtt = "0.4"
|
|
|
|
embedded-storage = "0.3.0"
|
|
embedded-io = { version = "0.6.0" }
|
|
embedded-io-async = { version = "0.6.0", optional = true }
|
|
|
|
cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] }
|
|
cortex-m-rt = "0.7.0"
|
|
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 }
|
|
embedded-hal = "0.2.6"
|
|
static_cell = "1.1"
|
|
|
|
[profile.release]
|
|
debug = 2
|