play/rust-embedded/stm32f4-test/Cargo.toml

27 lines
438 B
TOML

[package]
name = "stm32f4-test"
version = "0.1.0"
authors = ["Artemis Tosini <me@artem.ist>"]
edition = "2021"
[dependencies]
cortex-m = "0.7"
cortex-m-rt = "0.7"
panic-halt = "0.2.0"
[dependencies.stm32f4xx-hal]
version = "0.20.0"
features = ["stm32f407", ]
# Set the default for dependencies.
[profile.dev.package."*"]
opt-level = "s"
[profile.release]
codegen-units = 1
incremental = false
debug = true
lto = true
opt-level = "s"