diff --git a/libs/bao1x-hal/Cargo.toml b/libs/bao1x-hal/Cargo.toml index 18a8e4654..8e8085742 100644 --- a/libs/bao1x-hal/Cargo.toml +++ b/libs/bao1x-hal/Cargo.toml @@ -10,7 +10,6 @@ xous-api-names = { version = "0.9.67", optional = true } xous-api-ticktimer = { version = "0.9.65", optional = true } log = { version = "0.4.14", optional = true } utralib = { version = "0.1.25", default-features = false, optional = true } -bitflags = "1.2.1" rkyv = { version = "0.8.8", default-features = false, features = [ "std", "alloc", @@ -37,6 +36,10 @@ bao1x-api = { path = "../bao1x-api", default-features = false } # [target.'cfg(target_os = "xous")'.dependencies] xous = { version = "0.9.66", features = ["v2p"] } +bitflags = "1.2.1" +# TODO: migrate from bitflags to this crate +bitbybit = "1.4.0" + [features] camera-ov2640 = [] camera-gc2145 = [] diff --git a/libs/bao1x-hal/src/lib.rs b/libs/bao1x-hal/src/lib.rs index ceb037d1e..0a8d6392a 100644 --- a/libs/bao1x-hal/src/lib.rs +++ b/libs/bao1x-hal/src/lib.rs @@ -29,6 +29,8 @@ pub mod usb; #[cfg(not(feature = "hosted-baosec"))] pub use shared_csr::*; #[cfg(not(feature = "hosted-baosec"))] +pub mod acram; +#[cfg(not(feature = "hosted-baosec"))] pub mod mbox; #[cfg(not(feature = "hosted-baosec"))] pub mod rram; diff --git a/libs/bao1x-hal/src/sce.rs b/libs/bao1x-hal/src/sce.rs index d243bbedd..cf6e2fbb8 100644 --- a/libs/bao1x-hal/src/sce.rs +++ b/libs/bao1x-hal/src/sce.rs @@ -1 +1,2 @@ +pub mod combohash; pub mod trng;