-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
40 lines (35 loc) · 808 Bytes
/
Cargo.toml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
[package]
authors = ["KENTARO OKUDA <[email protected]>"]
edition = "2018"
readme = "README.md"
name = "stm32f4xx-examples"
version = "0.1.0"
[dependencies]
cortex-m = "0.6.0"
cortex-m-rt = "0.6.10"
cortex-m-semihosting = "0.3.3"
panic-halt = "0.2.0"
cortex-m-rtic = "0.5.3"
bbqueue = "0.4.6"
[dependencies.stm32f4xx-hal]
version = "0.8"
features = ["rt", "stm32f429"] # replace the model of your microcontroller here
# this lets you use `cargo fix`!
[[bin]]
name = "stm32f4xx-examples"
test = false
bench = false
[profile.dev]
codegen-units = 1
panic = "abort"
incremental = false
debug = true
lto = true
opt-level = 0
[profile.release]
codegen-units = 1
panic = "abort"
incremental = false
debug = true
lto = true
opt-level = 's'