summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-01-13 19:09:24 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-01-13 19:09:24 +0100
commit06d8fe27274bd4300322d24b4ed87da6f22eafee (patch)
tree8d57f7c14860cea8fa874b29a7533dd9f0d778a7
parentb34fba1020fc242198cbbdcc4339caaf622302b5 (diff)
change avr-size arguments for better readability
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d68198a..bb94e73 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,8 @@ AVRFLAGS += -U flash:w:main.hex
main.elf: main.c
${AVRCC} ${CFLAGS} -o $@ ${@:.elf=.c} -Wl,-Map=main.map,--cref
- avr-size -d $@
+ @echo
+ @avr-size --format=avr --mcu=${MCU} $@
program: main.hex #main.eep
${AVRFLASH} -p ${MCU} -c ${AVRDUDE_PROGRAMMER} ${AVRFLAGS}