mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 23:02:30 +00:00
33 lines
1.3 KiB
TOML
33 lines
1.3 KiB
TOML
[package]
|
|
edition = "2021"
|
|
name = "embassy-stm32u5-examples"
|
|
version = "0.1.0"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[dependencies]
|
|
# Change stm32u585ai to your chip name, if necessary.
|
|
embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "unstable-pac", "stm32u585ai", "time-driver-any", "memory-x" ] }
|
|
embassy-sync = { version = "0.5.0", path = "../../embassy-sync", features = ["defmt"] }
|
|
embassy-executor = { version = "0.5.0", path = "../../embassy-executor", features = ["task-arena-size-32768", "arch-cortex-m", "executor-thread", "defmt", "integrated-timers"] }
|
|
embassy-time = { version = "0.3.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "tick-hz-32_768"] }
|
|
embassy-usb = { version = "0.2.0", path = "../../embassy-usb", features = ["defmt"] }
|
|
embassy-futures = { version = "0.1.0", path = "../../embassy-futures" }
|
|
|
|
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"] }
|
|
heapless = { version = "0.8", default-features = false }
|
|
|
|
micromath = "2.0.0"
|
|
|
|
[features]
|
|
## Use secure registers when TrustZone is enabled
|
|
trustzone-secure = ["embassy-stm32/trustzone-secure"]
|
|
|
|
[profile.release]
|
|
debug = 2
|