-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
74 lines (62 loc) · 1.45 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
[package]
name = "atsamd-demo"
version = "0.1.0"
authors = [
"Henrik Tjäder <[email protected]>",
"Gabriel Górski <[email protected]>"
]
edition = "2018"
default-run = "demo"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "demo"
required-features = ["clockv2"]
[[bin]]
name = "demov1"
required-features = ["clockv1"]
[[bin]]
name = "aes"
required-features = ["hal-aes"]
[[bin]]
name = "icm"
required-features = ["clockv1"]
[dependencies]
cortex-m = "0.7.3"
cortex-m-rtic = "1.0.0"
dwt-systick-monotonic = "1.0"
cfg-if = "1.0"
heapless = "0.7"
# AES example
generic-array = "0.14.4"
aes = "0.7.5"
cipher = "0.3.0"
ctr = "0.8.0"
cmac = "0.6.0"
[dependencies.atsamd-hal-clockv1]
package = "atsamd-hal"
optional = true
version = "0.15.0"
features = ["same51n-rt", "unproven"]
[dependencies.atsamd-hal]
package = "atsamd-hal"
optional = true
git = "https://github.com/vcchtjader/atsamd.git"
branch = "clocking-api-v2"
version = "0.15.0"
features = ["same51n-rt", "unproven"]
[dependencies.atsamd-hal-aes]
package = "atsamd-hal"
optional = true
git = "https://github.com/vcchtjader/atsamd.git"
branch = "aes"
#path = "../atsamd-bradley/hal/"
version = "0.15.0"
features = ["same51n-rt", "unproven", "enable_unsafe_aes_newblock_cipher"]
[profile.release]
debug = true
lto = true
[features]
default = ["clockv2"]
clockv1 = ["atsamd-hal-clockv1"]
clockv2 = ["atsamd-hal"]
hal-aes = ["atsamd-hal-aes"]