-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
36 lines (29 loc) · 850 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
[package]
authors = ["Kavin Gnanapandithan <kavin.balag@gmail.com>"]
edition = "2018"
readme = "README.md"
name = "stm32f4_template"
version = "0.1.0"
[dependencies]
cortex-m = "0.7.0"
cortex-m-rt = "0.7.3"
cortex-m-semihosting = "0.3.3"
nb = "1.1.0"
panic-halt = "0.2.0"
[dependencies.stm32f4xx-hal]
version = "0.17.1"
features = ["stm32f411", "rt"] # replace the model of your microcontroller here
# and add other required features
# Uncomment for the panic example.
# panic-itm = "0.4.1"
# Uncomment for the allocator example.
# alloc-cortex-m = "0.4.0"
# this lets you use `cargo fix`!
[[bin]]
name = "stm32f4_template"
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