Skip to content

Commit d1ec6e0

Browse files
committed
add feature adapters for bao-console so it can work in hosted mode
1 parent 531f5ee commit d1ec6e0

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

services/bao-console/Cargo.toml

+18-2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,27 @@ log-server = { package = "xous-api-log", version = "0.1.63" }
1212
log = "0.4.14"
1313
num-derive = { version = "0.4.2", default-features = false }
1414
num-traits = { version = "0.2.14", default-features = false }
15-
cramium-hal = { path = "../../libs/cramium-hal", features = ["std"] }
15+
cramium-hal = { path = "../../libs/cramium-hal", features = [
16+
"std",
17+
], optional = true }
1618
cramium-api = { path = "../../libs/cramium-api" }
17-
cram-hal-service = { path = "../cram-hal-service" }
19+
cram-hal-service = { path = "../cram-hal-service", optional = true }
20+
cramium-emu = { path = "../cramium-emu", optional = true }
1821
usb-cramium = { path = "../usb-cramium" }
22+
modals = { path = "../modals" }
1923

2024
[features]
2125
cramium-soc = ["utralib/cramium-soc"]
26+
board-baosec = [
27+
"modals/board-baosec",
28+
"cram-hal-service",
29+
"cramium-hal",
30+
"usb-cramium/board-baosec",
31+
]
32+
hosted-baosec = [
33+
"modals/hosted-baosec",
34+
"usb-cramium/hosted-baosec",
35+
"cramium-emu",
36+
]
37+
2238
default = []

0 commit comments

Comments
 (0)