-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
65 lines (54 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
[package]
name = "oxcc"
version = "0.1.0"
authors = [
"Jon Lamb <lamb.jon.io@gmail.com>",
"Zachary Pierce <zachary.pierce@gmail.com>",
"Russell Mull <russell@digitalartificer.com>"
]
categories = ["embedded", "hardware-support", "no-std"]
description = "A port of Open Source Car Control written in Rust"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/jonlamb-gh/oxcc"
[dependencies.panic-abort]
version = "0.3.1"
optional = true
[dependencies.panic-semihosting]
version = "0.5.0"
optional = true
[dependencies.cortex-m-semihosting]
version = "0.3.1"
optional = true
[dependencies.cortex-m]
version = "0.5.7"
features = ["const-fn"]
[dependencies.cortex-m-rt]
version = "0.6.3"
features = ["device"]
[dependencies.nucleo-f767zi]
version = "0.0.1"
git = "https://github.com/jonlamb-gh/nucleo-f767zi.git"
branch = "master"
features = ["rt"]
[dependencies.num]
version = "0.2"
default-features = false
[dependencies.embedded-hal]
features = ["unproven"]
version = "0.2.1"
[dependencies.typenum]
version = "1.1.0"
default-features = false
[profile.release]
codegen-units = 1 # better optimizations
lto = true # better optimizations
[features]
default = ["kia-soul-ev", "panic-over-abort"]
kia-soul-ev = []
kia-niro = []
# No plans to support the Petrol, however it is stubbed out for use
kia-soul-petrol = []
# Panic stategies
panic-over-semihosting = ["cortex-m-semihosting", "panic-semihosting"]
panic-over-abort = ["panic-abort"]