2019-02-28 22:52:49 +01:00
|
|
|
[package]
|
2019-03-20 10:30:57 +01:00
|
|
|
edition = "2018"
|
2019-03-17 14:22:25 +01:00
|
|
|
name = "stm32f4disc-demo"
|
2019-02-28 22:52:49 +01:00
|
|
|
version = "0.1.0"
|
2019-03-20 10:30:57 +01:00
|
|
|
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>"]
|
2019-03-20 10:30:57 +01:00
|
|
|
readme = "README.md"
|
2019-02-28 22:52:49 +01:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
cortex-m = "0.5.8"
|
|
|
|
cortex-m-rt = "0.6.5"
|
|
|
|
cortex-m-semihosting = "0.3.2"
|
2019-03-15 22:27:22 +01:00
|
|
|
heapless = "0.4.2"
|
2019-02-28 22:52:49 +01:00
|
|
|
panic-semihosting = "0.5.1"
|
|
|
|
|
2019-03-05 15:05:15 +01:00
|
|
|
[dependencies.cortex-m-rtfm]
|
|
|
|
version = "0.4.2"
|
|
|
|
features = ["timer-queue"]
|
|
|
|
|
2019-02-28 22:52:49 +01:00
|
|
|
[dependencies.hal]
|
|
|
|
package = "stm32f4xx-hal"
|
|
|
|
version = "0.3.0"
|
|
|
|
features = ["rt", "stm32f407"]
|
|
|
|
|
2019-04-11 20:09:43 +02:00
|
|
|
[lib]
|
|
|
|
name = "stm32f4disc_demo"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
2019-02-28 22:52:49 +01:00
|
|
|
[[bin]]
|
2019-03-17 14:22:25 +01:00
|
|
|
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
|