-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
57 lines (49 loc) · 1.12 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[package]
authors = ["Daniel Egger <[email protected]>"]
categories = ["embedded", "no-std"]
description = "Board support crate for the STM32 Nucleo-F042K6 microcontroller board"
documentation = "https://docs.rs/crate/nucleo-f042k6"
edition = "2018"
keywords = ["arm", "cortex-m", "template"]
license = "0BSD"
name = "nucleo-f042k6"
repository = "https://github.com/stm32-rs/nucleo-f042k6"
version = "0.9.0"
readme = "README.md"
[dependencies]
bare-metal = "0.2.5"
cortex-m = "0.6.2"
cortex-m-rt = "0.6.12"
[dependencies.embedded-hal]
features = ["unproven"]
version = "0.2.4"
[dependencies.stm32f0xx-hal]
features = ["stm32f042", "rt"]
version = "0.17.0"
[dev-dependencies]
embedded-graphics = "0.6.2"
epd-waveshare = "0.4.0"
ina260 = "0.3.1"
nb = "0.1.2"
numtoa = "0.2.3"
panic-halt = "0.2.0"
sevensegment = "0.2"
ssd1306 = "0.3.1"
display-interface = "0.4.0"
display-interface-spi = "0.4.0"
[dev-dependencies.shared-bus]
features = ["cortexm"]
optional = false
version = "0.1.4"
[features]
default = ["rt"]
rt = []
[profile]
[profile.dev]
debug = true
opt-level = 1
lto = true
[profile.release]
debug = true
lto = true
opt-level = "s"