blob: 7219b30eceee42f763df8a4305de05d12bbf1ca9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
[package]
name = "demo1"
version = "0.1.0"
authors = ["Matthias P. Braendli <matthias.braendli@mpb.li>"]
edition = "2018"
license = "MIT"
[dependencies]
# alloc-cortex-m = "0.3" # requires nightly
cortex-m = "0.6"
cortex-m-rt = "0.6"
# consider cortex-m-rtfm
cortex-m-semihosting = "0.3"
panic-semihosting = "0.5"
nb = "0.1"
#stm32h7 = { version = "0.9", features = ["stm32h743", "rt"] }
stm32f1xx-hal = { version = "0.5", features = ["rt", "stm32f103"] }
embedded-hal = { version = "0.2", features = [] }
[profile.dev]
codegen-units = 1
incremental = false
[profile.release]
codegen-units = 1
debug = true
lto = true
|