aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@yeah.nah.nz>2021-02-08 19:20:02 +1300
committerDavid Phillips <david@yeah.nah.nz>2021-02-08 19:20:02 +1300
commit8364ca1993bbb67c09639ba873335eeaacd1ad25 (patch)
tree9f74b539d23eb2b83833e674946682e4a23d617e
parent8b7171966d8589afe7fb802f84204b059602ae3c (diff)
downloadaltimeter-8364ca1993bbb67c09639ba873335eeaacd1ad25.tar.xz
Print MCU fill as well as section size
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7f8886e..e05f490 100644
--- a/Makefile
+++ b/Makefile
@@ -66,7 +66,7 @@ build/altimeter.elf: \
$(AVR_CC) $(AVR_LDFLAGS) -o $@ $^
size:
- [ -f "$(REAL_ELF)" ] && $(AVR_SIZE) "$(REAL_ELF)"
+ [ -f "$(REAL_ELF)" ] && $(AVR_SIZE) -C --mcu="$(MCU)" "$(REAL_ELF)"
# ELF for simulator/emu. Note that whever I/O is required, the *_sim.{o,c}
# versions of each component will provide a mocked interface. This allows for