mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
the image creator is sensitive to the target for swap configs
This commit is contained in:
parent
d4eac7325f
commit
89daf48c39
1 changed files with 12 additions and 1 deletions
|
|
@ -933,7 +933,18 @@ impl Builder {
|
|||
memory_spec: Vec<String>,
|
||||
) -> Result<PathBuf, DynError> {
|
||||
let stream = self.stream.as_str();
|
||||
let mut args = vec!["run", "--package", "tools", "--bin", "create-image", "--"];
|
||||
let mut args = vec!["run", "--package", "tools", "--bin", "create-image"];
|
||||
args.push("--features");
|
||||
if self.utra_target.contains("renode") {
|
||||
args.push("renode");
|
||||
} else if self.utra_target.contains("precursor") {
|
||||
args.push("precursor");
|
||||
} else if self.utra_target.contains("atsama5d2") {
|
||||
args.push("atsama5d2");
|
||||
} else if self.utra_target.contains("cramium-soc") {
|
||||
args.push("cramium-soc")
|
||||
}
|
||||
args.push("--");
|
||||
|
||||
let mut output_file = PathBuf::new();
|
||||
output_file.push("target");
|
||||
|
|
|
|||
Loading…
Reference in a new issue