-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
87 lines (73 loc) · 2.3 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
[workspace]
members = [
".",
"xtask",
]
default-members = ["."]
[package]
name = "utp-tm4c"
version = "0.1.0"
authors = ["UT UTP <[email protected]>"]
edition = "2021"
rust-version = "1.62.0"
[lib]
bench = false
test = false
[[bin]]
name = "utp-tm4c"
harness = false
test = false
bench = false
[[bench]]
name = "speed"
harness = false
test = true
bench = true
[[test]]
name = "smoke"
harness = false
test = true
bench = false
[[example]]
name = "serial"
harness = false
test = false
bench = false
# TODO: CI
# TODO: README
# TODO: MSRV
# TODO: CHANGELOG
# TODO: all the other keys
# TODO: lints and attributes for this crate
[dependencies]
cortex-m-rt = { version = "0.6.15", features = ["device"] }
cortex-m-semihosting = "0.5.0"
panic-write = { git = "https://github.com/rrbutani/panic-write.git" } # TODO: replace with crates.io
# TODO: All of the below should use crates.io published version instead of git repos.
lc3-device-support = { git = "https://github.com/ut-utp/prototype.git", version = "0.1.0", default-features = false, features = ["no_std"] }
lc3-baseline-sim = { git = "https://github.com/ut-utp/prototype.git", version = "0.1.0", default-features = false, features = ["no_std"] }
lc3-isa = { git = "https://github.com/ut-utp/prototype.git", version = "0.1.0", default-features = false, features = ["no_std"] }
lc3-traits = { git = "https://github.com/ut-utp/prototype.git", version = "0.1.0", default-features = false, features = ["no_std"] }
# tm4c123x-hal = { version = "0.9.0", features = ["rt"] }
tm4c123x-hal = { git = "https://github.com/ut-utp/tm4c-hal", version= "0.10.0" , features=["rt"], rev="f4f7487202c7b777c6d2092cd6504f8d4c638ede" }
tm4c123x = "0.9.0"
embedded-hal = "0.2.7"
nb = "1"
lc3-tm4c = { git = "https://github.com/ut-utp/tm4c", branch = "feat-non-generic-may-2020-snapshot" }
[dev-dependencies]
ubench = { version = "0.1", git = "https://github.com/rrbutani/ubench", features = ["cortex-m"] } # TODO: replace with `crates.io`
[profile.dev] # and also `profile.test`
opt-level = 1 # need this so we fit in flash!
debug = true
lto = "thin"
overflow-checks = true
debug-assertions = true
incremental = true
[profile.release] # and also `profile.bench`
opt-level = 3 # or "z"
debug = true
lto = "fat"
overflow-checks = false
debug-assertions = false
incremental = false
codegen-units = 1