-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
79 lines (67 loc) · 1.61 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
[workspace]
members = [
"src/gpio",
"src/uart",
]
[package]
name = "drone-stm32f4-hal"
version = "0.1.0"
authors = ["Rasmus Melchior Jacobsen <[email protected]>"]
edition = "2021"
repository = "https://github.com/rmja/drone-stm32f4-hal"
readme = "README.md"
license = "MIT OR Apache-2.0"
description = """
Drone OS peripheral drivers for STM32F4 micro-controllers.
"""
[badges]
maintenance = { status = "actively-developed" }
[features]
default = []
std = [
"drone-core/std",
"drone-cortexm/std",
]
dma = ["drone-stm32f4-dma-drv"]
exti = ["drone-stm32f4-exti-drv"]
fmc = ["drone-stm32f4-fmc-drv"]
gpio = ["drone-stm32f4-gpio-drv"]
rcc = ["drone-stm32f4-rcc-drv"]
tim = ["drone-stm32f4-tim-drv"]
uart = ["drone-stm32f4-uart-drv"]
spi = ["drone-stm32f4-spi-drv"]
[dependencies]
drone-core = { version = "0.14.0", path = "../drone-core" }
drone-cortexm = { version = "0.14.0", path = "../drone-cortexm" }
[dependencies.drone-stm32f4-dma-drv]
version = "=0.1.0"
path = "src/dma"
optional = true
[dependencies.drone-stm32f4-exti-drv]
version = "=0.1.0"
path = "src/exti"
optional = true
[dependencies.drone-stm32f4-fmc-drv]
version = "=0.1.0"
path = "src/fmc"
optional = true
[dependencies.drone-stm32f4-gpio-drv]
version = "=0.1.0"
path = "src/gpio"
optional = true
[dependencies.drone-stm32f4-rcc-drv]
version = "=0.1.0"
path = "src/rcc"
optional = true
[dependencies.drone-stm32f4-tim-drv]
version = "=0.1.0"
path = "src/tim"
optional = true
[dependencies.drone-stm32f4-uart-drv]
version = "=0.1.0"
path = "src/uart"
optional = true
[dependencies.drone-stm32f4-spi-drv]
version = "=0.1.0"
path = "src/spi"
optional = true