diff --git a/xtask/src/main.rs b/xtask/src/main.rs index fa2398e83..ae4e71852 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -74,6 +74,8 @@ fn build_hw_image(debug: bool, svd: Option) -> Result<(), DynError> { // Tools use this environment variable to know when to rebuild the UTRA crate. std::env::set_var("XOUS_SVD_FILE", path.canonicalize().unwrap()); + std::fs::copy(path, std::path::Path::new("emulation/renode.svd"))?; + let kernel = build_kernel(debug)?; let mut init = vec![]; for pkg in &[