mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
change references to "ci" to "hw-image"
This commit is contained in:
parent
7dc011e6d8
commit
a397981355
2 changed files with 4 additions and 4 deletions
|
|
@ -16,7 +16,7 @@ fi
|
||||||
# This is handled in part by betrusted-scripts, with provision-xous.sh
|
# This is handled in part by betrusted-scripts, with provision-xous.sh
|
||||||
# stage1 and kernel are merged into xous.img by this script.
|
# stage1 and kernel are merged into xous.img by this script.
|
||||||
|
|
||||||
cargo xtask ci ../betrusted-soc/build/software/soc.svd
|
cargo xtask hw-image ../betrusted-soc/build/software/soc.svd
|
||||||
|
|
||||||
echo "Copying to target..."
|
echo "Copying to target..."
|
||||||
if [ $# -gt 0 ]
|
if [ $# -gt 0 ]
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ fn try_main() -> Result<(), DynError> {
|
||||||
Some("renode-image") => image(false)?,
|
Some("renode-image") => image(false)?,
|
||||||
Some("renode-image-debug") => image(true)?,
|
Some("renode-image-debug") => image(true)?,
|
||||||
Some("run") => run(false)?,
|
Some("run") => run(false)?,
|
||||||
Some("ci") => build_ci(false, env::args().nth(2))?,
|
Some("hw-image") => build_hw_image(false, env::args().nth(2))?,
|
||||||
Some("debug") => run(true)?,
|
Some("debug") => run(true)?,
|
||||||
_ => print_help(),
|
_ => print_help(),
|
||||||
}
|
}
|
||||||
|
|
@ -54,14 +54,14 @@ fn print_help() {
|
||||||
"Tasks:
|
"Tasks:
|
||||||
renode-image builds a test image for renode
|
renode-image builds a test image for renode
|
||||||
renode-image-debug builds a test image for renode in debug mode
|
renode-image-debug builds a test image for renode in debug mode
|
||||||
ci [soc.svd] builds an image for real hardware for CI
|
hw-image [soc.svd] builds an image for real hardware
|
||||||
run runs a release build using a hosted environment
|
run runs a release build using a hosted environment
|
||||||
debug runs a debug build using a hosted environment
|
debug runs a debug build using a hosted environment
|
||||||
"
|
"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn build_ci(debug: bool, svd: Option<String>) -> Result<(), DynError> {
|
fn build_hw_image(debug: bool, svd: Option<String>) -> Result<(), DynError> {
|
||||||
let svd_file = match svd {
|
let svd_file = match svd {
|
||||||
Some(s) => s,
|
Some(s) => s,
|
||||||
None => return Err("svd file not specified".into()),
|
None => return Err("svd file not specified".into()),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue