2024-11-05 11:38:25 +00:00
|
|
|
[package]
|
|
|
|
|
name = "bao-console"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2026-01-29 11:12:00 +00:00
|
|
|
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" }
|
2024-11-05 11:38:25 +00:00
|
|
|
log = "0.4.14"
|
2024-12-02 10:52:59 +00:00
|
|
|
num-derive = { version = "0.4.2", default-features = false }
|
2024-11-05 11:38:25 +00:00
|
|
|
num-traits = { version = "0.2.14", default-features = false }
|
2025-09-18 13:25:51 +00:00
|
|
|
bao1x-hal = { path = "../../libs/bao1x-hal", features = [
|
2025-03-02 18:15:16 +00:00
|
|
|
"std",
|
|
|
|
|
], optional = true }
|
2025-09-18 13:25:51 +00:00
|
|
|
bao1x-api = { path = "../../libs/bao1x-api" }
|
|
|
|
|
bao1x-hal-service = { path = "../bao1x-hal-service", optional = true }
|
|
|
|
|
bao1x-emu = { path = "../bao1x-emu", optional = true }
|
2025-09-08 09:21:49 +00:00
|
|
|
usb-bao1x = { path = "../usb-bao1x" }
|
2025-10-05 09:17:07 +00:00
|
|
|
modals = { path = "../modals", default-features = false, optional = true }
|
2025-04-28 19:03:36 +00:00
|
|
|
ux-api = { path = "../../libs/ux-api", optional = true }
|
2025-05-11 06:42:26 +00:00
|
|
|
pddb = { path = "../pddb", optional = true }
|
2025-05-18 01:25:01 +00:00
|
|
|
xous-swapper = { path = "../xous-swapper", optional = true }
|
2025-10-26 14:22:46 +00:00
|
|
|
bytemuck = "1.24.0"
|
2026-01-27 16:36:05 +00:00
|
|
|
susres = { path = "../../api/xous-api-susres", package = "xous-api-susres" }
|
2026-01-16 09:35:41 +00:00
|
|
|
keystore = { path = "../keystore" }
|
2026-02-04 07:58:20 +00:00
|
|
|
keystore-api = { path = "../../libs/keystore-api" }
|
2024-11-05 11:38:25 +00:00
|
|
|
|
2026-01-28 07:21:39 +00:00
|
|
|
bio-lib = { path = "../../libs/bio-lib", optional = true }
|
2026-01-27 16:36:05 +00:00
|
|
|
arbitrary-int = "1.2"
|
|
|
|
|
|
2025-05-08 08:00:28 +00:00
|
|
|
# pddb testing
|
|
|
|
|
rand = { version = "0.8.5", features = ["getrandom"], optional = true }
|
|
|
|
|
rand_chacha = { version = "0.3.1", optional = true }
|
2025-11-18 11:35:48 +00:00
|
|
|
rand_core = "0.6.4"
|
2025-05-08 08:00:28 +00:00
|
|
|
|
2025-12-01 17:05:26 +00:00
|
|
|
aes = { path = "../aes", default-features = false, optional = true, features = [
|
|
|
|
|
"chaffing",
|
|
|
|
|
] }
|
2025-08-10 14:28:14 +00:00
|
|
|
|
2025-11-24 10:28:50 +00:00
|
|
|
# time testing
|
|
|
|
|
chrono = "0.4.33"
|
|
|
|
|
|
2025-12-07 11:01:14 +00:00
|
|
|
# QR code encoding
|
|
|
|
|
base45 = "3.1.0"
|
|
|
|
|
|
2025-09-09 15:11:30 +00:00
|
|
|
# hid bringup
|
|
|
|
|
xous-usb-hid = { git = "https://github.com/betrusted-io/xous-usb-hid.git", branch = "main", optional = true }
|
|
|
|
|
|
2025-08-10 14:28:14 +00:00
|
|
|
# aes testing
|
2024-11-05 11:38:25 +00:00
|
|
|
[features]
|
2025-10-05 09:17:07 +00:00
|
|
|
bao1x = ["utralib/bao1x", "usb-bao1x/bao1x", "aes/bao1x"]
|
2025-03-02 18:15:16 +00:00
|
|
|
board-baosec = [
|
|
|
|
|
"modals/board-baosec",
|
2025-09-18 13:25:51 +00:00
|
|
|
"bao1x-hal-service",
|
|
|
|
|
"bao1x-hal",
|
2025-09-08 09:21:49 +00:00
|
|
|
"usb-bao1x/board-baosec",
|
2025-05-05 17:46:34 +00:00
|
|
|
"pddb/board-baosec",
|
2025-05-18 01:25:01 +00:00
|
|
|
"xous-swapper",
|
2025-12-07 11:01:14 +00:00
|
|
|
"ux-api/board-baosec",
|
2026-01-28 07:21:39 +00:00
|
|
|
"bio-lib",
|
2025-03-02 18:15:16 +00:00
|
|
|
]
|
2026-01-27 16:36:05 +00:00
|
|
|
oem-baosec-lite = ["bao1x-hal/sensor-lis2dh12"]
|
2025-03-02 18:15:16 +00:00
|
|
|
hosted-baosec = [
|
|
|
|
|
"modals/hosted-baosec",
|
2025-09-08 09:21:49 +00:00
|
|
|
"usb-bao1x/hosted-baosec",
|
2025-09-18 13:25:51 +00:00
|
|
|
"bao1x-emu",
|
2025-05-05 17:46:34 +00:00
|
|
|
"pddb/hosted-baosec",
|
2025-09-18 13:25:51 +00:00
|
|
|
"bao1x-hal/hosted-baosec",
|
2025-03-02 18:15:16 +00:00
|
|
|
]
|
2025-10-05 09:17:07 +00:00
|
|
|
# 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",
|
|
|
|
|
# ]
|
2025-09-18 13:25:51 +00:00
|
|
|
bmp180 = ["bao1x-hal/bmp180", "bao1x-hal-service"]
|
2025-05-05 17:46:34 +00:00
|
|
|
usb = []
|
2025-08-10 14:28:14 +00:00
|
|
|
aestests = ["aes"]
|
2025-06-09 08:37:47 +00:00
|
|
|
battery-readout = []
|
|
|
|
|
with-pddb = []
|
|
|
|
|
pddbtest = ["with-pddb"]
|
2025-05-05 17:46:34 +00:00
|
|
|
test-rekey = []
|
2025-05-08 08:00:28 +00:00
|
|
|
autobasis = ["rand_chacha", "rand"]
|
2025-05-05 17:46:34 +00:00
|
|
|
modal-testing = ["ux-api", "modals/modal-testing"]
|
2025-04-28 19:03:36 +00:00
|
|
|
test-scrollbars = []
|
2025-05-18 01:25:01 +00:00
|
|
|
test-flash = []
|
2025-09-09 15:11:30 +00:00
|
|
|
ctap-bringup = ["xous-usb-hid"]
|
2025-10-28 10:02:33 +00:00
|
|
|
# this is mutually exclusive with the keystore, as keystore owns rram
|
2025-10-26 14:22:46 +00:00
|
|
|
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"]
|
|
|
|
|
|
2025-12-01 18:39:28 +00:00
|
|
|
default = ["with-pddb"]
|