From ac7dc1b39069676ffeaf5195291b34165c9cf52f Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 2 Feb 2025 07:03:44 +0800 Subject: [PATCH] create baosec-emu target this is meant to be a "hosted mode" equivalent for the baosec platform that should allow us to do more rapid development of UX related things. --- xtask/src/main.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 05346dd1a..bf4bbac79 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -364,6 +364,14 @@ fn main() -> Result<(), Box> { // .add_feature("test-rekey") .add_apps(&get_cratespecs()); } + Some("baosec-emu") => { + let bao_pkgs = ["xous-ticktimer", "xous-log", "xous-names", "modals"]; + builder + .target_hosted() + .add_feature("hosted-baosec") + .add_services(&bao_pkgs) + .add_apps(&get_cratespecs()); + } Some("pddb-ci") => { builder .target_hosted() @@ -804,6 +812,7 @@ Hardware images: Hosted emulation: run Run user image in hosted mode with release flags. [cratespecs] are apps + baosec-emu Run user image in hosted mode but for the baosec target pddb-ci PDDB config for CI testing (eg: TRNG->deterministic for reproducible errors). [cratespecs] ignored. pddb-btest PDDB stress tester for secret basis creation/deletion [cratespecs] ignored. hosted-debug Run user image in hosted mode with debug flags. [cratespecs] are apps