summaryrefslogtreecommitdiff
path: root/tools/check_code_size.sh
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-09-06 14:09:13 +1000
committerDamien George <damien.p.george@gmail.com>2017-09-06 14:09:13 +1000
commit4a93801c12898898744131f57d79cf216d0861b3 (patch)
tree1de68ace1e4799d82c65f3f4e0b29554f611d996 /tools/check_code_size.sh
parent01dd7804b87d60b2deab16712eccb3b97351a9b7 (diff)
all: Update Makefiles and others to build with new ports/ dir layout.
Also renames "stmhal" to "stm32" in documentation and everywhere else.
Diffstat (limited to 'tools/check_code_size.sh')
-rwxr-xr-xtools/check_code_size.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check_code_size.sh b/tools/check_code_size.sh
index c5f0c6ffd..2925ff168 100755
--- a/tools/check_code_size.sh
+++ b/tools/check_code_size.sh
@@ -10,7 +10,7 @@ REFERENCE=$HOME/persist/firmware.bin
if [ -f $REFERENCE ]; then
size_old=$(stat -c%s $REFERENCE)
- size_new=$(stat -c%s minimal/build/firmware.bin)
+ size_new=$(stat -c%s ports/minimal/build/firmware.bin)
echo "Old size: $size_old new size: $size_new"
if [ $size_new -gt $size_old ]; then
echo "Validation failure: Core code size increased"