Merge branch 'main' of github.com:betrusted-io/xous-core into main

This commit is contained in:
bunnie 2022-03-07 23:36:09 +08:00
commit e40aa61d42

View file

@ -578,6 +578,7 @@ fn build_hw_image(
// Tools use this environment variable to know when to rebuild the UTRA crate. // Tools use this environment variable to know when to rebuild the UTRA crate.
std::env::set_var("XOUS_SVD_FILE", path.canonicalize().unwrap()); std::env::set_var("XOUS_SVD_FILE", path.canonicalize().unwrap());
println!("XOUS_SVD_FILE: {}", path.canonicalize().unwrap().display()); println!("XOUS_SVD_FILE: {}", path.canonicalize().unwrap().display());
// std::env::set_var("RUST_LOG", "debug"); // set this to debug the image creation process
// extract key file names; replace with defaults if not specified // extract key file names; replace with defaults if not specified
let loaderkey_file = lkey.unwrap_or_else(|| "devkey/dev.key".into()); let loaderkey_file = lkey.unwrap_or_else(|| "devkey/dev.key".into());