diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 699397ea5..1d037538b 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -451,6 +451,27 @@ fn main() -> Result<(), Box> { run(true, &pkgs, None, false)? } Some("app-image") => { + let mut args = env::args(); + args.nth(1); + let mut pkgs = hw_pkgs.to_vec(); + let apps = get_packages(); + for app in &apps { + pkgs.push(app); + } + generate_app_menus(&apps); + build_hw_image( + false, + Some("./precursors/soc.svd".to_string()), + &pkgs, + lkey, + kkey, + None, + &[], + None, + None, + )? + } + Some("ditherpunk-image") => { let mut args = env::args(); args.nth(1); let mut pkgs = hw_pkgs.to_vec();