udpate tomls to explicitly enumerate features used

This commit is contained in:
bunnie 2026-02-20 23:54:07 +08:00
parent 905939d8f1
commit 40a275232c
2 changed files with 6 additions and 2 deletions

View file

@ -37,8 +37,12 @@ board-dabao = [
"bao1x-hal/board-dabao",
# "bao1x-hal/debug-print-uart",
"usb-bao1x/board-dabao",
# default BIO libs
"bio-lib/ws2812",
"bio-lib/captouch",
]
bio-math-test = ["bio-lib/c-math-test"]
ctap-bringup = []
usb = []
aestests = ["aes"]
default = ["usb"]
default = ["usb", "bio-math-test"]

View file

@ -18,7 +18,7 @@ log = "0.4.14"
xous-api-susres = { path = "../../api/xous-api-susres", features = ["bao1x"] }
bao1x-hal = { path = "../../libs/bao1x-hal", default-features = false }
bao1x-api = { path = "../../libs/bao1x-api", features = ["derive-rkyv", "std"] }
bio-lib = { path = "../../libs/bio-lib" }
bio-lib = { path = "../../libs/bio-lib", features = ["av-trng"] }
# I'm not entirely in love with the aborted attempt to use flatipc in Xous, but we use
# this because it makes the API backward-compatible with older Xous code.
flatipc = { path = "../../libs/flatipc" }