This repository has been archived by the owner on Aug 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
68 lines (55 loc) · 2.64 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
[workspace]
members = [
".",
# "xtask",
]
[package]
name = "utp-tm4c"
version = "0.1.0"
authors = ["UT UTP <[email protected]>"]
edition = "2018"
# 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-halt = "0.2.0"
# panic-semihosting = "0.5.3"
# 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"
lc3-tm4c = { git = "https://github.com/ut-utp/tm4c", branch = "feat-non-generic-may-2020-snapshot" }
[profile.dev]
lto = true
opt-level = 1 # need this so we fit in flash!
[profile.release]
codegen-units = 1 # better optimizations
debug = true # symbols are nice and they don't increase the size on Flash
lto = true # better optimizations
# opt-level = "s"
# :-(
# https://github.com/rust-lang/cargo/issues/5478
#
# 'lc3-tm4c' has not updated yet..
#
# have to change the source so we do this silly workaround (note the two slashes)
# [patch."https://github.com/ut-utp/prototype.git"]
# lc3-isa = { git = "https://github.com/ut-utp//prototype", branch = "master", version = "0.1.0" }
# lc3-traits = { git = "https://github.com/ut-utp//prototype", branch = "master", version = "0.1.0" }
# lc3-baseline-sim = { git = "https://github.com/ut-utp//prototype", branch = "master", version = "0.1.0" }
# lc3-device-support = { git = "https://github.com/ut-utp//prototype", branch = "master", version = "0.1.0" }
# [patch.crates-io]
# cortex-m-rt = { git = "https://github.com/rust-embedded/cortex-m.git", rev = "0.7.1", version = "0.7.1" }
# [replace]
# "lc3-isa:0.1.0" = { git = "https://github.com/ut-utp/prototype.git#staging"}
# "lc3-traits:0.1.0" = { git = "https://github.com/ut-utp/prototype.git", branch = "staging", default-features = false, features = ["no_std"] }