Initial commit, based on .tar.gz file as provided by 3DR , see SOURCE file

This commit is contained in:
Buzz
2017-07-29 17:55:41 +10:00
commit 24d15eb032
674 changed files with 428002 additions and 0 deletions

15
artoo/scripts/sizeprof.sh Executable file
View 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