forked from stm32-rs/stm32l4xx-hal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
82 lines (70 loc) · 1.62 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
73
74
75
76
77
78
79
80
81
82
[package]
name = "stm32l4xx-hal"
version = "0.5.0"
authors = ["Scott Mabin <[email protected]>"]
description = "Hardware abstraction layer for the stm32l4xx chips"
keywords = ["no-std", "stm32l4xx", "stm32l4", "embedded", "embedded-hal"]
categories = [
"embedded",
"hardware-support",
"no-std",
]
repository = "https://github.com/MabezDev/stm32l4xx-hal"
readme = "README.md"
license = "MIT OR Apache-2.0"
exclude = [
".travis.yml",
".gitignore",
"docs/",
"docs/*"
]
edition = "2018"
[dependencies]
cortex-m = "0.6.1"
nb = "0.1.1"
stm32l4 = "0.8.0"
as-slice = "0.1"
[dependencies.cast]
version = "0.2.2"
default-features = false
[dependencies.void]
version = "1.0.2"
default-features = false
[dependencies.stable_deref_trait]
default-features = false
version = "1.1"
[dependencies.embedded-hal]
version = "0.2.3"
features = ["unproven"]
[dependencies.stm32-usbd]
version = "0.5.0"
features = ["ram_access_2x16"]
optional = true
[package.metadata.docs.rs]
features = ["rt", "stm32l4x2", "stm32-usbd"]
[features]
rt = ["stm32l4/rt"]
stm32l4x1 = ["stm32l4/stm32l4x1"]
stm32l4x2 = ["stm32l4/stm32l4x2"]
stm32l4x3 = ["stm32l4/stm32l4x3"]
stm32l4x5 = ["stm32l4/stm32l4x5"]
stm32l4x6 = ["stm32l4/stm32l4x6"]
stm32l452 = ["stm32l4/stm32l4x2"]
unproven = ["embedded-hal/unproven"]
[dev-dependencies]
panic-halt = "0.2.0"
panic-semihosting = "0.5.0"
cortex-m-semihosting = "0.3.1"
cortex-m-rt = "0.6.6"
usb-device = "0.2.3"
usbd-serial = "0.1.0"
[profile.dev]
incremental = false
codegen-units = 1
[profile.release]
codegen-units = 1
debug = true
lto = true
[[example]]
name = "usb_serial"
required-features = ["rt", "stm32l4x2", "stm32-usbd"]