-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
29 lines (25 loc) · 1014 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
[package]
name = "nucleo-f446re"
version = "0.1.0"
edition = "2021"
authors = ["Steve Heindel <[email protected]>"]
license = "MIT OR Apache-2.0"
description = "Board Support Package crate for the Nucleo-F446RE board"
repository = "https://github.com/schteve/nucleo-f446re"
readme = "README.md"
keywords = ["arm", "bsp", "cortex-m", "nucleo", "stm32"]
categories = ["embedded", "hardware-support", "no-std"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
cortex-m = { version = "0.7.7", features = ["critical-section-single-core"] }
embedded-hal = "1.0.0"
stm32f4xx-hal = { version = "0.20.0", features = ["stm32f446"]}
switch-hal = "0.4.0"
unwrap-infallible = "0.1.5"
[dev-dependencies]
cortex-m-rt = "0.7.3"
panic-probe = { version = "0.3.1", features = ["print-rtt"] }
[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