mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
modify the bloat message to help enforce some discipline on binary size
This commit is contained in:
parent
7cf8ec0e69
commit
9bc9811472
1 changed files with 2 additions and 1 deletions
|
|
@ -28,5 +28,6 @@ scp -i c:/users/bunnie/.ssh/id_pi target/riscv32imac-unknown-xous-elf/release/xo
|
|||
$file = Get-Item target/riscv32imac-unknown-xous-elf/release/xous.img
|
||||
$SizeinBytes = $file.Length
|
||||
if($SizeinBytes -gt 6815743) {
|
||||
"Warning: xous.img exceeds the 24-bit limit of JTAG. Upload using USB instead!"
|
||||
$Overage = $SizeinBytes - 6815743
|
||||
"Warning: xous.img is getting bloated. Bloat over ideal target: $Overage bytes."
|
||||
}
|
||||
Loading…
Reference in a new issue