-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
72 lines (63 loc) · 2.04 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]
authors = ["Lucas Brendel <[email protected]>"]
edition = "2018"
name = "xmc4-hal"
version = "0.5.7"
readme = "README.md"
license = "MIT"
repository = "https://github.com/xmc-rs/xmc4-hal"
description = "Peripheral access API for XMC4 series microcontrollers"
documentation = "https://docs.rs/crate/xmc4-hal"
categories = ["embedded", "hardware-support", "no-std"]
keywords = ["arm", "cortex-m", "hal", "xmc"]
[package.metadata.docs.rs]
features = ["xmc4100"]
[dependencies]
xmc4100 = { version = "0.14.0", optional = true }
xmc4200 = { version = "0.14.0", optional = true }
xmc4300 = { version = "0.13.0", optional = true }
xmc4400 = { version = "0.14.0", optional = true }
xmc4500 = { version = "0.14.0", optional = true }
xmc4700 = { version = "0.13.0", optional = true }
xmc4800 = { version = "0.13.0", optional = true }
cortex-m = { version = "0.7.7", features = ['critical-section-single-core'] }
nb = "1.1.0"
cortex-m-rt = "0.7.3"
void = { version = "1.0.2", default-features = false }
cast = { version = "0.3.0", default-features = false }
embedded-hal = { version = "0.2.7", features = ["unproven"] }
[features]
device-selected = []
xmc4100 = ["dep:xmc4100", "device-selected"]
xmc4200 = ["dep:xmc4200", "device-selected"]
xmc4300 = ["dep:xmc4300", "device-selected", "ecat", "sdmmc"]
xmc4400 = ["dep:xmc4400", "device-selected"]
xmc4500 = ["dep:xmc4500", "device-selected", "sdmmc"]
xmc4700 = ["dep:xmc4700", "device-selected", "sdmmc"]
xmc4800 = ["dep:xmc4800", "device-selected", "ecat", "sdmmc"]
ecat = []
sdmmc = []
rt = ["cortex-m-rt/device"]
[dev-dependencies]
panic-halt = "1.0.0"
panic-semihosting = "0.6.0"
panic-itm = "0.4.2"
cortex-m-semihosting = "0.5.0"
heapless = "0.8.0"
libm = "0.2.8"
as-slice = "0.2.1"
[dev-dependencies.byteorder]
default-features = false
version = "1.5.0"
[dev-dependencies.cobs]
default-features = false
version = "0.2.3"
[dev-dependencies.crc16]
default-features = false
version = "0.4.0"
[dev-dependencies.either]
default-features = false
version = "1.11.0"
[[example]]
name = "watchdog"
required-features = ["xmc4100"]