forked from stm32-rs/stm32f1xx-hal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
133 lines (109 loc) · 2.81 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
132
133
[package]
authors = ["Jorge Aparicio <[email protected]>", "Daniel Egger <[email protected]>"]
categories = ["embedded", "hardware-support", "no-std"]
description = "HAL for the STM32F1xx family of microcontrollers"
keywords = ["arm", "cortex-m", "stm32", "hal"]
license = "MIT OR Apache-2.0"
name = "stm32f1xx-hal"
repository = "https://github.com/stm32-rs/stm32f1xx-hal"
documentation = "https://docs.rs/stm32f1xx-hal"
readme = "README.md"
edition = "2018"
version = "0.7.0"
[package.metadata.docs.rs]
features = ["stm32f103", "rt", "stm32-usbd"]
default-target = "x86_64-unknown-linux-gnu"
[dependencies]
cortex-m = "0.6.0"
nb = "0.1.2"
cortex-m-rt = "0.6.8"
stm32f1 = "0.11.0"
embedded-dma = "0.1.2"
[dependencies.void]
default-features = false
version = "1.0.2"
[dependencies.cast]
default-features = false
version = "0.2.2"
[dependencies.embedded-hal]
version = "0.2.3"
features = ["unproven"]
[dependencies.stm32-usbd]
version = "0.5.0"
features = ["ram_access_1x16"]
optional = true
[dev-dependencies]
panic-halt = "0.2.0"
panic-semihosting = "0.5.2"
panic-itm = "0.4.1"
cortex-m-rtic = "0.5"
cortex-m-semihosting = "0.3.3"
heapless = "0.4.3"
m = "0.1.1"
mfrc522 = "0.2.0"
serde_derive = "1.0.90"
usb-device = "0.2.3"
usbd-serial = "0.1.0"
[dev-dependencies.byteorder]
default-features = false
version = "1.3.1"
[dev-dependencies.cobs]
default-features = false
version = "0.1.4"
[dev-dependencies.crc16]
default-features = false
version = "0.4.0"
[dev-dependencies.either]
default-features = false
version = "1.5.2"
[dev-dependencies.serde]
default-features = false
version = "1.0.90"
[features]
device-selected = []
doc = []
rt = ["stm32f1/rt"]
stm32f100 = ["stm32f1/stm32f100", "device-selected"]
stm32f101 = ["stm32f1/stm32f101", "device-selected"]
stm32f103 = ["stm32f1/stm32f103", "device-selected"]
stm32f105 = ["stm32f1/stm32f107", "device-selected", "connectivity"]
stm32f107 = ["stm32f1/stm32f107", "device-selected", "connectivity"]
# Devices with 64 or 128 Kb ROM
medium = []
# Devices with 256 or 512 Kb ROM
high = ["medium"]
# Devices with 768 Kb ROM or more
xl = ["high"]
# Connectivity line devices (`stm32f105xx` and `stm32f107xx`)
connectivity = ["medium"]
[profile.dev]
incremental = false
codegen-units = 1
[profile.release]
codegen-units = 1
debug = true
lto = true
[[example]]
name = "usb_serial"
required-features = ["rt", "stm32-usbd"]
[[example]]
name = "usb_serial_interrupt"
required-features = ["rt", "stm32-usbd"]
[[example]]
name = "usb_serial_rtic"
required-features = ["rt", "stm32-usbd"]
[[example]]
name = "blinky_timer_irq"
required-features = ["rt"]
[[example]]
name = "blinky_rtcalarm_irq"
required-features = ["rt"]
[[example]]
name = "qei"
required-features = ["medium"]
[[example]]
name = "timer-interrupt-rtic"
required-features = ["rt", "medium"]
[[example]]
name = "exti"
required-features = ["rt"]