mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
add xtask tweaks for performance counter variants (perf-image target)
This commit is contained in:
parent
6537661aa5
commit
7dbc1f60b0
1 changed files with 6 additions and 1 deletions
|
|
@ -540,6 +540,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
)?
|
)?
|
||||||
}
|
}
|
||||||
Some("perf-image") => {
|
Some("perf-image") => {
|
||||||
|
// note: to use this image, you need to load a version of the SOC that has the performance counters built in.
|
||||||
|
// this can be generated using the command `python3 .\betrusted_soc.py -e .\dummy.nky --perfcounter` in the betrusted-soc repo.
|
||||||
let mut args = env::args();
|
let mut args = env::args();
|
||||||
args.nth(1);
|
args.nth(1);
|
||||||
let mut pkgs = hw_pkgs.to_vec();
|
let mut pkgs = hw_pkgs.to_vec();
|
||||||
|
|
@ -558,7 +560,10 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
"--features", "perfcounter",
|
"--features", "perfcounter",
|
||||||
]),
|
]),
|
||||||
&[],
|
&[],
|
||||||
None, None,
|
None,
|
||||||
|
Some(&[
|
||||||
|
"--features", "v2p",
|
||||||
|
]),
|
||||||
)?
|
)?
|
||||||
}
|
}
|
||||||
Some("utra") => {
|
Some("utra") => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue