aboutsummaryrefslogtreecommitdiff
path: root/bin/build.sh
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-08-29 04:54:41 -0600
committerSelene ToyKeeper2019-08-29 04:54:41 -0600
commitc1a898ddaa004e60be2fa6b016e0af8b133223de (patch)
treee9cf6b941e1f68b4e19cf49255136b81a8e2c346 /bin/build.sh
parentmerged a sanitized copy of the Emisar D4v2 branch; history summarized below: (diff)
parentfixed attiny13 builds (diff)
downloadanduril-c1a898ddaa004e60be2fa6b016e0af8b133223de.tar.gz
anduril-c1a898ddaa004e60be2fa6b016e0af8b133223de.tar.bz2
anduril-c1a898ddaa004e60be2fa6b016e0af8b133223de.zip
merged updates from fsm branch
Diffstat (limited to 'bin/build.sh')
-rwxr-xr-xbin/build.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/build.sh b/bin/build.sh
index ddd2a72..192fa30 100755
--- a/bin/build.sh
+++ b/bin/build.sh
@@ -33,4 +33,6 @@ function run () {
run $CC $OTHERFLAGS $CFLAGS -o $PROGRAM.o -c $PROGRAM.c
run $CC $OFLAGS $LDFLAGS -o $PROGRAM.elf $PROGRAM.o
run $OBJCOPY $OBJCOPYFLAGS $PROGRAM.elf $PROGRAM.hex
-run avr-size -C --mcu=$MCU $PROGRAM.elf | grep Full
+# deprecated
+#run avr-size -C --mcu=$MCU $PROGRAM.elf | grep Full
+run avr-objdump -Pmem-usage $PROGRAM.elf | grep Full