forked from krenzlin/rust-stm32f446-blinky
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
41 lines (38 loc) · 863 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
41
[package]
name = "rust-stm32f466-blinky"
version = "0.2.0"
authors = [
"Rock Boynton [email protected]",
"Konrad Krenzlin <[email protected]>",
]
edition = "2021"
rust-version = "1.61.0"
categories = [
"embedded",
"hardware-support",
"no-std",
]
description = """
A simple press button to light LED example using Rust \
on an embedded device, the NUCLEO-F446RE
"""
keywords = [
"arm",
"cortex-m",
"stm32f4xx",
"hal",
]
[dependencies]
cortex-m-rt = "0.7.1"
panic-halt = "0.2.0"
stm32f4xx-hal = { version = "0.13.2", features = ["stm32f446"] }
[profile.release]
debug = true # debug symbols are stored on host, not target
codegen-units = 1 # better optimizations
lto = true # link time optimizations
opt-level = "s" # optimize for size
[[bin]]
name = "blinky"
path = "src/main.rs"
test = false
bench = false