Espruino/scripts/find_big_rom.sh
Gordon Williams 3746c6a89f 1v88 release
Had to remove 'dump()' on devices with very little flash memory (Olimexino/Micro:bit)
2016-11-10 10:54:45 +00:00

14 lines
229 B
Bash
Executable File

#!/bin/bash
#
# Extracts and orders symbol names so we can see how big they are
#
if [ $# -eq 0 ]
then
echo "USAGE:"
echo "scripts/find_big_rom.sh espruino_XXXX.lst"
exit 1
fi
grep "^0[08]...... [^<]" $1 | sort --key=4