fix SVD sample file issues that are breaking CI

This commit is contained in:
bunnie 2021-01-09 02:38:02 +08:00
parent a8d31cb7e2
commit 4a32baf12f
3 changed files with 307 additions and 513 deletions

View file

@ -58,6 +58,8 @@ set -- "${POSITIONAL[@]}"
DESTDIR=code/precursors
cargo xtask hw-image ../betrusted-soc/build/software/soc.svd
cp ../betrusted-soc/build/software/soc.svd svd2utra/examples/soc.svd
cp ../betrusted-soc/build/software/soc.svd emulation/renode.svd
if [ $? -ne 0 ]
then

File diff suppressed because it is too large Load diff

View file

@ -74,7 +74,7 @@ fn build_hw_image(debug: bool, svd: Option<String>) -> 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"))?;
// std::fs::copy(path, std::path::Path::new("emulation/renode.svd"))?;
let kernel = build_kernel(debug)?;
let mut init = vec![];