stm32f4disc-demo/Cargo.toml

31 lines
635 B
TOML

[package]
authors = ["Paul van Tilburg <paul@luon.net>"]
edition = "2018"
readme = "README.md"
name = "stm32-demo"
version = "0.1.0"
[dependencies]
cortex-m = "0.5.8"
cortex-m-rt = "0.6.5"
cortex-m-rtfm = "0.4.2"
cortex-m-semihosting = "0.3.2"
panic-abort = "0.3.1"
panic-halt = "0.2.0"
panic-semihosting = "0.5.1"
[dependencies.hal]
package = "stm32f4xx-hal"
version = "0.3.0"
features = ["rt", "stm32f407"]
[[bin]]
name = "stm32-demo"
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