stm32f4disc-demo/Cargo.toml
Paul van Tilburg 3fe2d062f2
Port example to stm32f4xx-hal version 0.6
* Switch to the `embedded_hal::digital::v2::OutputPin` trait
* Handle all infallable `set_low`/`set_high` calls within the
  `led_ring` module
2019-12-20 13:16:19 +01:00

38 lines
815 B
TOML

[package]
edition = "2018"
name = "stm32f4disc-demo"
version = "0.1.0"
categories = ["embedded", "no-std"]
description = "Some STM32F4DISCOVERY board demo application"
license = "0BSD"
authors = ["Paul van Tilburg <paul@luon.net>"]
readme = "README.md"
[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"
[dependencies.cortex-m-rtfm]
version = "0.5.0"
[dependencies.hal]
package = "stm32f4xx-hal"
version = "0.6.0"
features = ["rt", "stm32f407"]
[lib]
name = "stm32f4disc_demo"
path = "src/lib.rs"
[[bin]]
name = "stm32f4disc-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