stm32f303re/Cargo.toml
2026-04-02 17:55:37 +02:00

26 lines
570 B
TOML

[package]
authors = ["{{authors}}"]
edition = "2018"
readme = "README.md"
name = "nucleo"
version = "0.1.0"
[dependencies]
cortex-m = {version = "0.7.7", features = ["critical-section-single-core"]}
cortex-m-rt = "0.7.5"
panic-halt = "1.0.0"
[dependencies.stm32f3xx-hal]
version = "0.10"
features = ["stm32f303xe"]
# this lets you use `cargo fix`!
[[bin]]
name = "nucleo"
test = false
bench = false
[profile.release]
codegen-units = 1 # better optimizations
debug = true # symbols are nice and they don't increase the size on Flash
lto = true # better optimizations