mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +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") => {
|
||||
// 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();
|
||||
args.nth(1);
|
||||
let mut pkgs = hw_pkgs.to_vec();
|
||||
|
|
@ -558,7 +560,10 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
"--features", "perfcounter",
|
||||
]),
|
||||
&[],
|
||||
None, None,
|
||||
None,
|
||||
Some(&[
|
||||
"--features", "v2p",
|
||||
]),
|
||||
)?
|
||||
}
|
||||
Some("utra") => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue