From 40a275232c973cf29de46c22ff6601a69a1b78fe Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 20 Feb 2026 23:54:07 +0800 Subject: [PATCH] udpate tomls to explicitly enumerate features used --- apps-dabao/dabao-console/Cargo.toml | 6 +++++- services/bao1x-hal-service/Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps-dabao/dabao-console/Cargo.toml b/apps-dabao/dabao-console/Cargo.toml index 58fb2ca56..435ab8e8a 100644 --- a/apps-dabao/dabao-console/Cargo.toml +++ b/apps-dabao/dabao-console/Cargo.toml @@ -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"] diff --git a/services/bao1x-hal-service/Cargo.toml b/services/bao1x-hal-service/Cargo.toml index 77a93b3d7..289f5cde3 100644 --- a/services/bao1x-hal-service/Cargo.toml +++ b/services/bao1x-hal-service/Cargo.toml @@ -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" }