From 9f8cfde4171b8f60648bd25a64f359283e51e7e2 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sat, 27 Jan 2024 16:53:35 +0800 Subject: [PATCH] update toml's to reflect baremetal->std change --- libs/xous-pl230/Cargo.toml | 4 +--- services/cram-hal-service/Cargo.toml | 5 ++++- services/graphics-server/Cargo.toml | 1 + services/xous-log/Cargo.toml | 4 +++- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/libs/xous-pl230/Cargo.toml b/libs/xous-pl230/Cargo.toml index 25fe1d56e..ddd7ceb8b 100644 --- a/libs/xous-pl230/Cargo.toml +++ b/libs/xous-pl230/Cargo.toml @@ -12,9 +12,7 @@ bitfield = "0.13.2" xous-pio = { path = "../xous-pio", optional = true, default-features = false } pio-proc = "0.2.2" pio = "0.2.1" -cramium-hal = { path = "../cramium-hal", optional = true, features = [ - "baremetal", -] } +cramium-hal = { path = "../cramium-hal", optional = true, default-features = false } [target.'cfg(target_os = "xous")'.dependencies] xous = "0.9.57" diff --git a/services/cram-hal-service/Cargo.toml b/services/cram-hal-service/Cargo.toml index 357d73287..160189341 100644 --- a/services/cram-hal-service/Cargo.toml +++ b/services/cram-hal-service/Cargo.toml @@ -15,7 +15,10 @@ xous = "0.9.57" xous-ipc = "0.9.57" log-server = { package = "xous-api-log", version = "0.1.53" } log = "0.4.14" -cramium-hal = { path = "../../libs/cramium-hal", features = ["derive-rkyv"] } +cramium-hal = { path = "../../libs/cramium-hal", features = [ + "derive-rkyv", + "std", +] } xous-pl230 = { path = "../../libs/xous-pl230", features = ["cramium-soc"] } xous-pio = { path = "../../libs/xous-pio", features = ["cramium-soc"] } pio-proc = "0.2.2" diff --git a/services/graphics-server/Cargo.toml b/services/graphics-server/Cargo.toml index dd27525ea..7e9aab7ed 100644 --- a/services/graphics-server/Cargo.toml +++ b/services/graphics-server/Cargo.toml @@ -29,6 +29,7 @@ cram-hal-service = { path = "../cram-hal-service", optional = true, features = [ ] } cramium-hal = { path = "../../libs/cramium-hal", optional = true, features = [ "derive-rkyv", + "std", ] } [target.'cfg(any(windows,unix))'.dependencies] diff --git a/services/xous-log/Cargo.toml b/services/xous-log/Cargo.toml index 2d1879fce..674dfb7e9 100644 --- a/services/xous-log/Cargo.toml +++ b/services/xous-log/Cargo.toml @@ -24,7 +24,9 @@ rkyv = { version = "0.4.3", default-features = false, features = [ "const_generics", ], optional = true } -cramium-hal = { path = "../../libs/cramium-hal", optional = true } +cramium-hal = { path = "../../libs/cramium-hal", optional = true, default-features = false, features = [ + "std", +] } [target.'cfg(target_arch = "arm")'.dependencies] atsama5d27 = { git = "https://github.com/Foundation-Devices/atsama5d27.git", branch = "master", features = [