stm32f4disc-demo/Cargo.toml

39 lines
815 B
TOML
Raw Normal View History

2019-02-28 22:52:49 +01:00
[package]
edition = "2018"
name = "stm32f4disc-demo"
2019-02-28 22:52:49 +01:00
version = "0.1.0"
categories = ["embedded", "no-std"]
description = "Some STM32F4DISCOVERY board demo application"
license = "0BSD"
2019-03-15 22:27:22 +01:00
authors = ["Paul van Tilburg <paul@luon.net>"]
readme = "README.md"
2019-02-28 22:52:49 +01:00
[dependencies]
cortex-m = "0.6.1"
cortex-m-rt = "0.6.11"
cortex-m-semihosting = "0.3.5"
heapless = "0.5.1"
panic-semihosting = "0.5.3"
2019-02-28 22:52:49 +01:00
[dependencies.cortex-m-rtfm]
version = "0.5.0"
2019-02-28 22:52:49 +01:00
[dependencies.hal]
package = "stm32f4xx-hal"
version = "0.6.0"
2019-02-28 22:52:49 +01:00
features = ["rt", "stm32f407"]
[lib]
name = "stm32f4disc_demo"
path = "src/lib.rs"
2019-02-28 22:52:49 +01:00
[[bin]]
name = "stm32f4disc-demo"
2019-02-28 22:52:49 +01:00
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