From d981bbe5504366a600a70d1f27d1ebc3012417bd Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 21 Jan 2024 01:14:51 +0800 Subject: [PATCH] add more features to the loader for the cramium target this *shouldn't* break other builds because the loader has its arguments set by xtask for every target explicitly. --- loader/Cargo.toml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/loader/Cargo.toml b/loader/Cargo.toml index 664e425dc..5c5e771e9 100644 --- a/loader/Cargo.toml +++ b/loader/Cargo.toml @@ -20,6 +20,17 @@ sha2-loader = { path = "./sha2-loader", default-features = false, optional = tru cramium-hal = { path = "../libs/cramium-hal", optional = true, features = [ "baremetal", ] } +xous-pl230 = { path = "../libs/xous-pl230", optional = true, features = [ + "tests", + "pio", + "cramium-soc", + "baremetal", +] } +xous-pio = { path = "../libs/xous-pio", optional = true, features = [ + "tests", + "cramium-soc", + "baremetal", +] } [dependencies.com_rs] git = "https://github.com/betrusted-io/com_rs" @@ -50,6 +61,8 @@ cramium-soc = [ "debug-print", "simulation-only", "cramium-hal", + "xous-pio", + "xous-pl230", ] cramium-fpga = [ "utralib/cramium-fpga", @@ -66,5 +79,5 @@ secboot = [] simulation-only = [] board-bringup = [] #default = ["debug-print"] -resume = [] # suspend/resume pathway code -default = ["debug-print"] +resume = [] # suspend/resume pathway code +default = ["debug-print", "board-bringup"]