xous-core/bao1x-boot/boot1/Cargo.toml

61 lines
2.1 KiB
TOML
Raw Permalink Normal View History

[package]
name = "bao1x-boot1"
version = "0.1.0"
authors = ["bunnie <bunnie@kosagi.com>"]
edition = "2018"
description = "Boot1 partition"
[dependencies]
2026-01-29 11:12:00 +00:00
xous = "0.9.70"
utralib = { version = "0.1.27", optional = true, default-features = false }
bao1x-hal = { path = "../../libs/bao1x-hal", optional = true, default-features = false }
bao1x-api = { path = "../../libs/bao1x-api", optional = true, default-features = false }
vexriscv = { version = "0.5.6", package = "xous-riscv" }
riscv = { version = "0.14.0", features = ["critical-section-single-hart"] }
linked_list_allocator = { version = "0.10.5", optional = true }
critical-section = "1.2.0"
ux-api = { path = "../../libs/ux-api", optional = true, default-features = false }
simple-fatfs = { git = "https://github.com/betrusted-io/simple-fatfs.git", branch = "baosec", default-features = false }
sha2-bao1x = { path = "../sha2-bao1x", default-features = false }
digest = { version = "0.10.7" }
ed25519-dalek = { package = "ed25519-dalek-bao1x", path = "../ed25519-dalek-bao1x", default-features = false, features = [
"digest",
"zeroize",
], optional = true }
base64 = { version = "0.22.1", default-features = false, features = ["alloc"] }
xous-bio-bdma = { path = "../../libs/xous-bio-bdma", default-features = false, features = [
"baremetal",
] }
rand_chacha = { version = "0.3.1", default-features = false }
hex = { version = "0.4.3", default-features = false }
[features]
# Baochip feature tree below
bao1x = [
"utralib/bao1x",
"linked_list_allocator",
"bao1x-hal/loader-baosec",
"bao1x-hal/security",
# "bao1x-hal/debug-print-duart",
# "bao1x-hal/debug-countermeasures",
"bao1x-api",
# needed for the boot logo
"ux-api/loader-baosec",
]
unsafe-debug = []
verbose-debug = ["bao1x-hal/debug-print-uart", "bao1x-hal/verbose-debug"]
print-ifr = []
test-boot0-keys = []
alt-boot1 = []
test-clock-skipping = []
uf2-spim = []
2026-01-24 15:48:35 +00:00
oem = []
oem-baosec-lite = ["oem", "bao1x-hal/oem-baosec-lite"]
2026-05-08 14:20:32 +00:00
qe-debug = ["verbose-debug", "bao1x-hal/debug-print-duart"]
verilator-only = []
2026-01-24 15:48:35 +00:00
default = ["oem-baosec-lite"]