summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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}