27 lines
593 B
TOML
27 lines
593 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"
|
|
embedded-hal = "1.0.0"
|
|
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
|