From f80d3f089d038449a84cc3b341fa2741dad7abef Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 8 Mar 2022 00:01:48 +0800 Subject: [PATCH] stash --- xtask/src/main.rs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/xtask/src/main.rs b/xtask/src/main.rs index bdab7ee96..8779f29d4 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -198,6 +198,24 @@ fn main() -> Result<(), Box> { generate_app_menus(&apps); renode_image(false, &cbtest_pkgs, &[], None, None)? }, + Some("tts") => { + let mut args = env::args(); + args.nth(1); + //let mut pkgs = hw_pkgs.to_vec(); + let mut pkgs = gfx_dev_pkgs.to_vec(); + let apps: Vec = args.collect(); + for app in &apps { + pkgs.push(app); + } + pkgs.push("tts"); + generate_app_menus(&apps); + build_hw_image(false, + Some("./precursors/soc.svd".to_string()), + &pkgs, + lkey, kkey, + Some(&["--features", "tts"]), // one thing at a time... "--features", "braille", + &[])? + } Some("libstd-test") => { let mut args = env::args(); args.nth(1);