2021-11-24 02:18:30 +00:00
|
|
|
[package]
|
|
|
|
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
|
|
|
|
edition = "2018"
|
|
|
|
name = "embassy-stm32-tests"
|
|
|
|
version = "0.1.0"
|
|
|
|
resolver = "2"
|
|
|
|
|
2021-12-06 23:28:32 +00:00
|
|
|
[features]
|
2022-02-23 23:19:26 +00:00
|
|
|
stm32f103c8 = ["embassy-stm32/stm32f103c8"]
|
2021-12-06 23:28:32 +00:00
|
|
|
stm32f429zi = ["embassy-stm32/stm32f429zi"]
|
|
|
|
stm32g071rb = ["embassy-stm32/stm32g071rb"]
|
|
|
|
stm32g491re = ["embassy-stm32/stm32g491re"]
|
2021-12-07 00:24:26 +00:00
|
|
|
stm32h755zi = ["embassy-stm32/stm32h755zi-cm7"]
|
|
|
|
stm32wb55rg = ["embassy-stm32/stm32wb55rg"]
|
2021-12-06 23:28:32 +00:00
|
|
|
|
2021-11-24 02:18:30 +00:00
|
|
|
[dependencies]
|
|
|
|
embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt"] }
|
2022-02-12 01:26:15 +00:00
|
|
|
embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "unstable-pac", "memory-x", "time-driver-tim2"] }
|
2021-11-24 02:18:30 +00:00
|
|
|
|
|
|
|
defmt = "0.3.0"
|
|
|
|
defmt-rtt = "0.3.0"
|
|
|
|
|
|
|
|
cortex-m = "0.7.3"
|
|
|
|
cortex-m-rt = "0.7.0"
|
|
|
|
embedded-hal = "0.2.6"
|
2022-02-16 02:54:39 +00:00
|
|
|
embedded-hal-async = { version = "0.0.1", git = "https://github.com/embassy-rs/embedded-hal", branch = "embassy2"}
|
2021-11-24 02:18:30 +00:00
|
|
|
panic-probe = { version = "0.3.0", features = ["print-defmt"] }
|
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
debug = 2
|
|
|
|
debug-assertions = true
|
|
|
|
opt-level = 's'
|
|
|
|
overflow-checks = true
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
codegen-units = 1
|
|
|
|
debug = 2
|
|
|
|
debug-assertions = false
|
|
|
|
incremental = false
|
|
|
|
lto = "fat"
|
|
|
|
opt-level = 's'
|
|
|
|
overflow-checks = false
|
|
|
|
|
|
|
|
# do not optimize proc-macro crates = faster builds from scratch
|
|
|
|
[profile.dev.build-override]
|
|
|
|
codegen-units = 8
|
|
|
|
debug = false
|
|
|
|
debug-assertions = false
|
|
|
|
opt-level = 0
|
|
|
|
overflow-checks = false
|
|
|
|
|
|
|
|
[profile.release.build-override]
|
|
|
|
codegen-units = 8
|
|
|
|
debug = false
|
|
|
|
debug-assertions = false
|
|
|
|
opt-level = 0
|
|
|
|
overflow-checks = false
|