-
Notifications
You must be signed in to change notification settings - Fork 12
/
Cargo.toml
72 lines (61 loc) · 1.31 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[package]
edition = "2018"
authors = ["Vitaly Domnikov <[email protected]>"]
categories = [
"embedded",
"hardware-support",
"no-std",
]
description = "Peripheral access API for STM32L1 series microcontrollers"
documentation = "https://docs.rs/stm32l1xx-hal"
keywords = [
"arm",
"cortex-m",
"stm32l1xx",
"hal",
]
license = "MIT/Apache-2.0"
name = "stm32l1xx-hal"
readme = "README.md"
repository = "https://github.com/stm32-rs/stm32l1xx-hal"
version = "0.1.0"
[dependencies]
cortex-m = "0.5.8"
nb = "0.1.1"
stm32l1 = "0.5.0"
[dependencies.bare-metal]
features = ["const-fn"]
version = "0.2.4"
[dependencies.cast]
default-features = false
version = "0.2.2"
[dependencies.embedded-hal]
features = ["unproven"]
version = "0.2.3"
[dependencies.void]
default-features = false
version = "1.0.2"
[dev-dependencies]
cortex-m-rt = "0.6.7"
cortex-m-semihosting = "0.3.2"
panic-semihosting = "0.5.1"
cortex-m-rtic = "0.5.5"
[features]
rt = ["stm32l1/rt"]
stm32l100 = ["stm32l1/stm32l100"]
stm32l151 = ["stm32l1/stm32l151"]
stm32l152 = ["stm32l1/stm32l151"]
stm32l162 = ["stm32l1/stm32l162"]
[profile.dev]
codegen-units = 1
incremental = false
[profile.release]
codegen-units = 1
debug = true
lto = true
[[example]]
name = "button_irq"
required-features = ["rt"]
[[example]]
name = "timer"
required-features = ["rt"]