mirror of
https://github.com/OpenSolo/OpenSolo.git
synced 2025-06-12 21:37:36 +02:00
Initial commit, based on .tar.gz file as provided by 3DR , see SOURCE file
This commit is contained in:
15
artoo/scripts/sizeprof.sh
Executable file
15
artoo/scripts/sizeprof.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
ELF=artoo.elf
|
||||
|
||||
echo
|
||||
echo Top Flash consumers:
|
||||
arm-none-eabi-readelf -W -s $ELF | grep -v NOTYPE | grep ": 080" | sort -n -k 3 -r | head -n 30 | arm-none-eabi-c++filt -n
|
||||
|
||||
echo
|
||||
echo Top RAM consumers:
|
||||
arm-none-eabi-readelf -W -s $ELF | grep -v NOTYPE | grep ": 2000" | sort -n -k 3 -r | head -n 20 | arm-none-eabi-c++filt -n
|
||||
|
||||
echo
|
||||
echo Program segment summary:
|
||||
arm-none-eabi-readelf -l $ELF | grep LOAD
|
Reference in New Issue
Block a user