mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-04 04:27:34 +00:00
81 lines
2.2 KiB
TOML
81 lines
2.2 KiB
TOML
[package]
|
|
name = "loader"
|
|
version = "0.1.0"
|
|
authors = [
|
|
"Sean Cross <sean@xobs.io>",
|
|
"Foundation Devices, Inc. <hello@foundationdevices.com>",
|
|
]
|
|
edition = "2018"
|
|
description = "Initial kernel loader for Xous"
|
|
|
|
[dependencies]
|
|
ed25519-dalek-loader = { path = "ed25519-dalek-loader", default-features = false, optional = true }
|
|
curve25519-dalek-loader = { path = "curve25519-dalek-loader", default-features = false, features = [
|
|
"u32e_backend",
|
|
], optional = true }
|
|
utralib = { version = "0.1.24", optional = true, default-features = false }
|
|
armv7 = { git = "https://github.com/Foundation-Devices/armv7.git", branch = "update", optional = true }
|
|
atsama5d27 = { git = "https://github.com/Foundation-Devices/atsama5d27.git", branch = "master", optional = true }
|
|
sha2-loader = { path = "./sha2-loader", default-features = false, optional = true }
|
|
cramium-hal = { path = "../libs/cramium-hal", optional = true, default_features = false }
|
|
xous-pl230 = { path = "../libs/xous-pl230", optional = true, features = [
|
|
"tests",
|
|
"pio",
|
|
"cramium-soc",
|
|
"baremetal",
|
|
] }
|
|
xous-pio = { path = "../libs/xous-pio", optional = true, features = [
|
|
"tests",
|
|
"cramium-soc",
|
|
"baremetal",
|
|
] }
|
|
|
|
[dependencies.com_rs]
|
|
git = "https://github.com/betrusted-io/com_rs"
|
|
branch = "main"
|
|
|
|
[dev-dependencies]
|
|
lazy_static = "1.4.0"
|
|
|
|
[features]
|
|
precursor = [
|
|
"utralib/precursor",
|
|
"ed25519-dalek-loader/precursor",
|
|
"curve25519-dalek-loader/precursor",
|
|
"resume",
|
|
"secboot",
|
|
"sha2-loader",
|
|
]
|
|
renode = [
|
|
"utralib/renode",
|
|
"ed25519-dalek-loader/renode",
|
|
"curve25519-dalek-loader/renode",
|
|
"resume",
|
|
"secboot",
|
|
"sha2-loader",
|
|
]
|
|
cramium-soc = [
|
|
"utralib/cramium-soc",
|
|
"debug-print",
|
|
"simulation-only",
|
|
"cramium-hal",
|
|
"xous-pio",
|
|
"xous-pl230",
|
|
]
|
|
cramium-fpga = [
|
|
"utralib/cramium-fpga",
|
|
"debug-print",
|
|
"simulation-only",
|
|
"cramium-hal",
|
|
]
|
|
atsama5d27 = ["utralib/atsama5d27", "armv7", "dep:atsama5d27"]
|
|
platform-tests = []
|
|
debug-print = []
|
|
earlyprintk = []
|
|
renode-bypass = []
|
|
secboot = []
|
|
simulation-only = []
|
|
board-bringup = []
|
|
#default = ["debug-print"]
|
|
resume = [] # suspend/resume pathway code
|
|
default = ["debug-print", "board-bringup"]
|