mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
there was a thought to speed up CI testing by introducing a "cheater" routine that allowed us to re-initialize the keystore. Turns out this doesn't work because it's not possible to fully revert a system out of developer mode - because, in my infinite previous-self wisdom, I realized that this is something someone might try and there is a one-way counter that logs if the system has *ever* been in developer mode, and that has no known bypass. This means that even if you could repopulate the keystore, it would be cleared on the next boot by merit of the developer flag being set. So - we did it the hard way, every single test we have to re-image the system from scratch. C'est la vie. Removing this patch eliminates a code path that could later be abused for unforeseen ill purposes.
99 lines
3 KiB
TOML
99 lines
3 KiB
TOML
[package]
|
|
name = "bao-console"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
utralib = { version = "0.1.27", optional = true, default-features = false }
|
|
xous-names = { package = "xous-api-names", version = "0.9.71" }
|
|
ticktimer = { package = "xous-api-ticktimer", version = "0.9.70" }
|
|
xous = "0.9.70"
|
|
log-server = { package = "xous-api-log", version = "0.1.69" }
|
|
log = "0.4.14"
|
|
num-derive = { version = "0.4.2", default-features = false }
|
|
num-traits = { version = "0.2.14", default-features = false }
|
|
bao1x-hal = { path = "../../libs/bao1x-hal", features = [
|
|
"std",
|
|
], optional = true }
|
|
bao1x-api = { path = "../../libs/bao1x-api" }
|
|
bao1x-hal-service = { path = "../bao1x-hal-service", optional = true }
|
|
bao1x-emu = { path = "../bao1x-emu", optional = true }
|
|
usb-bao1x = { path = "../usb-bao1x" }
|
|
modals = { path = "../modals", default-features = false, optional = true }
|
|
ux-api = { path = "../../libs/ux-api", optional = true }
|
|
pddb = { path = "../pddb", optional = true }
|
|
xous-swapper = { path = "../xous-swapper", optional = true }
|
|
bytemuck = "1.24.0"
|
|
susres = { path = "../../api/xous-api-susres", package = "xous-api-susres" }
|
|
keystore = { path = "../keystore" }
|
|
keystore-api = { path = "../../libs/keystore-api" }
|
|
|
|
bio-lib = { path = "../../libs/bio-lib", optional = true }
|
|
arbitrary-int = "1.2"
|
|
|
|
# pddb testing
|
|
rand = { version = "0.8.5", features = ["getrandom"], optional = true }
|
|
rand_chacha = { version = "0.3.1", optional = true }
|
|
rand_core = "0.6.4"
|
|
|
|
aes = { path = "../aes", default-features = false, optional = true, features = [
|
|
"chaffing",
|
|
] }
|
|
|
|
# time testing
|
|
chrono = "0.4.33"
|
|
|
|
# QR code encoding
|
|
base45 = "3.1.0"
|
|
|
|
# hid bringup
|
|
xous-usb-hid = { git = "https://github.com/betrusted-io/xous-usb-hid.git", branch = "main", optional = true }
|
|
|
|
# aes testing
|
|
[features]
|
|
bao1x = ["utralib/bao1x", "usb-bao1x/bao1x", "aes/bao1x"]
|
|
board-baosec = [
|
|
"modals/board-baosec",
|
|
"bao1x-hal-service",
|
|
"bao1x-hal",
|
|
"usb-bao1x/board-baosec",
|
|
"pddb/board-baosec",
|
|
"xous-swapper",
|
|
"ux-api/board-baosec",
|
|
"bio-lib",
|
|
]
|
|
oem-baosec-lite = ["bao1x-hal/sensor-lis2dh12"]
|
|
hosted-baosec = [
|
|
"modals/hosted-baosec",
|
|
"usb-bao1x/hosted-baosec",
|
|
"bao1x-emu",
|
|
"pddb/hosted-baosec",
|
|
"bao1x-hal/hosted-baosec",
|
|
]
|
|
# Don't use this for dabao. Use apps-dabao/dabao-console instead!
|
|
# board-dabao = [
|
|
# "bao1x-hal-service",
|
|
# "bao1x-hal/board-dabao",
|
|
# "usb-bao1x/board-dabao",
|
|
# ]
|
|
bmp180 = ["bao1x-hal/bmp180", "bao1x-hal-service"]
|
|
usb = []
|
|
aestests = ["aes"]
|
|
battery-readout = []
|
|
with-pddb = []
|
|
pddbtest = ["with-pddb"]
|
|
test-rekey = []
|
|
autobasis = ["rand_chacha", "rand"]
|
|
modal-testing = ["ux-api", "modals/modal-testing"]
|
|
test-scrollbars = []
|
|
test-flash = []
|
|
ctap-bringup = ["xous-usb-hid"]
|
|
# this is mutually exclusive with the keystore, as keystore owns rram
|
|
rramtests = []
|
|
|
|
# Activating this makes this crate *try* to grab the DUART. To improve its odds
|
|
# of winning the race, shift its position to first in the list in the PIDs to be
|
|
# loaded and run.
|
|
duart-debug-hal = ["bao1x-hal/debug-print-duart"]
|
|
|
|
default = ["with-pddb"]
|