-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
117 lines (96 loc) · 3.12 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
# SPDX-FileCopyrightText: 2024 Foundation Devices, Inc. <[email protected]>
# SPDX-License-Identifier: MIT OR Apache-2.0
[workspace]
members = ["utralib"]
[package]
name = "atsama5d27"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "fitment"
required-features = ["fitment"]
[[bin]]
name = "se"
[[bin]]
name = "camera"
required-features = ["camera"]
[[bin]]
name = "mmc"
required-features = ["mmc"]
[[bin]]
name = "sha"
required-features = ["sha"]
[[bin]]
name = "avalanche"
required-features = []
[[bin]]
name = "charger"
required-features = ["charger"]
[[bin]]
name = "uart-dma"
required-features = []
[[bin]]
name = "usbhost"
required-features = ["usb-host"]
[[bin]]
name = "shdwc"
required-features = []
[[bin]]
name = "rtc"
required-features = []
[[bin]]
name = "aesb"
required-features = []
[[bin]]
name = "aes"
required-features = ["aes"]
[dependencies]
armv7 = { git = "https://github.com/Foundation-Devices/armv7.git", branch = "update" }
bitflags = "2.4.1"
rtt-target = { git = "https://github.com/Foundation-Devices/rtt-target.git", branch = "cortex-a", features = ["cortex-a"], optional = true }
utralib = { path = "./utralib", default_features=false, features = ["atsama5d27"] }
r0 = "1.0.0"
embedded-graphics = { version = "0.8.1", optional = true }
embedded-hal = { version = "0.2.7", features = ["unproven"], optional = true }
ft3269 = { git = "https://github.com/Foundation-Devices/ft3269.git", optional = true }
drv2605 = { version = "0.1.0", optional = true }
is31fl32xx = { version = "0.1.0", optional = true }
ovm7690-rs = { git = "https://github.com/Foundation-Devices/ovm7690-rs.git", optional = true }
embedded-sdmmc = { version = "0.7.0", default-features = false, optional = true }
hex = { version = "0.4.3", default-features = false, optional = true }
bq24157 = { git = "https://github.com/Foundation-Devices/bq24157.git", optional = true }
bq27421 = { git = "https://github.com/Foundation-Devices/bq27421.git", optional = true }
ehci = { git = "https://github.com/Foundation-Devices/ehci.git", optional = true }
mass-storage = { git = "https://github.com/Foundation-Devices/mass-storage.git", optional = true }
embedded-alloc = { version = "0.5.1", optional = true }
critical-section = {version = "1.1.2", optional = true }
log = { version = "0.4.21", optional = true }
hex-literal = { version = "0.4.1", optional = true, default-features = false }
[build-dependencies]
png-decoder = "0.1.1"
[features]
hal = ["embedded-hal"]
rtt = ["rtt-target"]
lcd-console = ["embedded-graphics"]
fitment = ["hal", "ft3269", "drv2605", "is31fl32xx"]
camera = ["hal", "ovm7690-rs"]
mmc = ["embedded-sdmmc"]
camera-dev = []
camera-prod = []
sha = ["hex"]
aes = ["hex", "hex-literal"]
charger = ["bq24157", "bq27421"]
heap = ["embedded-alloc"]
logging = ["log", "heap", "critical-section"]
critical-section = ["dep:critical-section", "armv7/critical-section"]
usb-host = ["bq24157", "ehci", "mass-storage", "heap", "logging", "embedded-sdmmc"]
default = ["lcd-console", "hal"]
[profile.dev]
#codegen-units = 1
#debug = 2
#debug-assertions = true # <-
#incremental = false
#opt-level = 3 # <-
#overflow-checks = true # <-
[profile.release]
debug = 1