2020-10-05 02:40:29 +00:00
|
|
|
[package]
|
2020-10-11 19:56:10 +00:00
|
|
|
name = "utralib"
|
2022-12-12 08:07:20 +00:00
|
|
|
version = "0.1.13"
|
2022-09-26 06:23:10 +00:00
|
|
|
authors = ["Sean Cross <sean@xobs.io>", "bunnie <bunnie@kosagi.com>"]
|
2020-10-05 02:40:29 +00:00
|
|
|
edition = "2018"
|
2022-09-26 06:23:10 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2022-09-26 19:14:45 +00:00
|
|
|
description = "Xous UTRA (Unambiguous Thin Register Abstration) library generator"
|
2022-09-26 06:23:10 +00:00
|
|
|
repository = "https://github.com/betrusted-io/xous-core/"
|
|
|
|
|
homepage = "https://betrusted.io/xous-book/"
|
2020-10-05 02:40:29 +00:00
|
|
|
|
2022-06-10 13:36:53 +00:00
|
|
|
# Dependency versions enforced by Cargo.lock.
|
2020-10-05 02:40:29 +00:00
|
|
|
[dependencies]
|
|
|
|
|
|
|
|
|
|
[build-dependencies]
|
2022-12-12 08:07:20 +00:00
|
|
|
svd2utra = "0.1.11"
|
2022-09-26 06:23:10 +00:00
|
|
|
|
|
|
|
|
# UTRA pre-generated version tracker
|
2022-09-26 15:24:22 +00:00
|
|
|
[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.
|
2022-09-27 07:12:28 +00:00
|
|
|
#
|
|
|
|
|
# Maintainer note: add checks in build.rs to ensure only one is selected.
|
2022-09-26 15:24:22 +00:00
|
|
|
precursor-c809403 = []
|
2022-10-19 20:58:48 +00:00
|
|
|
precursor-a0912d6 = []
|
2022-09-26 15:24:22 +00:00
|
|
|
precursor-c809403-perflib = []
|
2022-10-18 13:47:16 +00:00
|
|
|
precursor-2753c12-dvt = []
|
2022-12-12 08:05:15 +00:00
|
|
|
precursor-70190e2 = [] # based on 2020.08 litex, v0.9.11 tag
|
2022-09-26 15:24:22 +00:00
|
|
|
|
2022-09-27 07:12:28 +00:00
|
|
|
# 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 = []
|
2022-09-27 10:09:33 +00:00
|
|
|
renode = []
|
2022-09-27 07:12:28 +00:00
|
|
|
|
2022-09-26 15:24:22 +00:00
|
|
|
# Specify a Precusor default so that we can pass packaging CI tests.
|
2022-12-12 08:05:15 +00:00
|
|
|
default = ["precursor-70190e2", "precursor"]
|