forked from stm32-rs/stm32f7xx-hal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
131 lines (108 loc) · 3.25 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[package]
authors = ["Matt Vertescher <mvertescher@gmail.com>"]
categories = ["embedded", "hardware-support", "no-std"]
description = "HAL for the STM32F7xx family of microcontrollers"
documentation = "https://docs.rs/stm32f7xx-hal"
edition = "2018"
keywords = ["arm", "cortex-m", "stm32f7xx", "hal"]
license = "MIT OR Apache-2.0"
name = "stm32f7xx-hal"
readme = "README.md"
repository = "https://github.com/stm32-rs/stm32f7xx-hal"
version = "0.2.0"
[package.metadata.docs.rs]
features = ["stm32f746", "rt"]
[dependencies]
as-slice = "0.1.0"
cortex-m = "0.6.0"
cortex-m-rt = "0.6.8"
nb = "0.1.2"
rtcc = "0.2"
stm32f7 = "0.11.0"
micromath = "1.0.0"
synopsys-usb-otg = { version = "0.2.3", features = ["cortex-m"], optional = true }
stm32-fmc = { version = "0.2.0", features = ["sdram"], optional = true }
rand_core = "0.5.1"
[dependencies.bare-metal]
version = "0.2.4"
features = ["const-fn"]
[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-semihosting = "0.3.3"
panic-halt = "0.2.0"
panic-semihosting = "0.5.2"
embedded-graphics = "0.6.1"
usb-device = "0.2.5"
usbd-serial = "0.1.0"
[features]
device-selected = []
ltdc = []
fmc = ["stm32-fmc"]
usb_hs_phy = []
rt = ["stm32f7/rt"]
stm32f722 = ["stm32f7/stm32f7x2", "device-selected"]
stm32f723 = ["stm32f7/stm32f7x3", "device-selected", "usb_hs_phy"]
stm32f730 = ["stm32f7/stm32f730", "device-selected", "usb_hs_phy"]
stm32f732 = ["stm32f7/stm32f7x2", "device-selected"]
stm32f733 = ["stm32f7/stm32f7x3", "device-selected", "usb_hs_phy"]
stm32f745 = ["stm32f7/stm32f745", "device-selected", "fmc"]
stm32f746 = ["stm32f7/stm32f7x6", "device-selected", "ltdc", "fmc"]
stm32f756 = ["stm32f7/stm32f7x6", "device-selected", "ltdc", "fmc"]
stm32f765 = ["stm32f7/stm32f765", "device-selected", "fmc"]
stm32f767 = ["stm32f7/stm32f7x7", "device-selected", "ltdc", "fmc"]
stm32f769 = ["stm32f7/stm32f7x9", "device-selected", "ltdc", "fmc"]
stm32f777 = ["stm32f7/stm32f7x7", "device-selected", "ltdc", "fmc"]
stm32f778 = ["stm32f7/stm32f7x9", "device-selected", "ltdc", "fmc"]
stm32f779 = ["stm32f7/stm32f7x9", "device-selected", "ltdc", "fmc"]
usb_fs = ["synopsys-usb-otg", "synopsys-usb-otg/fs"]
usb_hs = ["synopsys-usb-otg", "synopsys-usb-otg/hs"]
[profile.dev]
incremental = false
codegen-units = 1
[profile.release]
codegen-units = 1
debug = true
lto = true
[[example]]
name = "blinky_delay"
required-features = ["stm32f746", "rt"]
[[example]]
name = "blinky"
required-features = ["stm32f746", "rt"]
[[example]]
name = "flash"
required-features = ["stm32f746", "rt"]
[[example]]
name = "fmc"
required-features = ["stm32f746", "rt", "fmc"]
[[example]]
name = "hello"
required-features = ["stm32f746", "rt"]
[[example]]
name = "serial_delay"
required-features = ["stm32f746", "rt"]
[[example]]
name = "serial_echo"
required-features = ["stm32f746", "rt"]
[[example]]
name = "timer"
required-features = ["stm32f746", "rt"]
[[example]]
name = "stm32f7disco-screen"
required-features = ["stm32f746", "rt"]
[[example]]
name = "exti_button"
required-features = ["stm32f767", "rt"]
[[example]]
name = "usb_serial"
required-features = ["stm32f723", "rt", "synopsys-usb-otg"]
[[example]]
name = "rng"