-
Notifications
You must be signed in to change notification settings - Fork 85
/
Cargo.toml
55 lines (47 loc) · 1.86 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
[package]
name = "utralib"
version = "0.1.25"
authors = ["Sean Cross <[email protected]>", "bunnie <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "Xous UTRA (Unambiguous Thin Register Abstration) library generator"
repository = "https://github.com/betrusted-io/xous-core/"
homepage = "https://betrusted.io/xous-book/"
# Dependency versions enforced by Cargo.lock.
[dependencies]
[build-dependencies]
svd2utra = "0.1.23"
# UTRA pre-generated version tracker
[features]
std = []
# This specifies the SVD rev for platform targets
# Precursor is an FPGA, so the actual hardware register spec can change over time,
# hence the gitrev is specified as part of the precursor feature spec. We specify
# every gitrev that we may need to refer back to, so that we're not trying to
# map utralib version numbers to precursor soc revs -- by having the gitrev exposed,
# we can directly look up what generated the SVD file we're using without having
# to go through some manually maintained lookup table of version # to gitrev.
#
# SoCs in custom silicon would typically not need the gitrev, since their
# hardware is immutable.
#
# Maintainer note: add checks in build.rs to ensure only one is selected.
precursor-perflib = []
precursor-dvt = []
precursor-pvt = [] # based on 2020.08 litex, v0.9.11 tag
# The SVD gitrev as specified above is only invoked to track fine-grained
# changes between target revisions. Below is the overall target switch,
# which is the preferred mechanism for isolating target-specific code.
#
# These features are mutually exclusive. Maintainers should update the
# checks inside build.rs to ensure consistency.
precursor = []
hosted = []
renode = []
# ATSAMA5D27 ARMv7A SoC
atsama5d27 = []
# Cramium SoC & FPGA model
cramium-soc = []
cramium-fpga = []
# Specify a Precusor default so that we can pass packaging CI tests.
default = ["hosted"]