Espruino/scripts/find_big_rom.sh
Gordon Williams dd2007392a 1v88 release
Had to remove 'dump()' on devices with very little flash memory (Olimexino/Micro:bit)
2017-02-16 17:27:00 +13: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