summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSebastian Muszytowski <sebastian@muszytowski.net>2016-01-13 21:52:13 +0100
committerSebastian Muszytowski <sebastian@muszytowski.net>2016-01-13 21:52:13 +0100
commitdc7e4369e5e3feb3ced249ed6351787725d18a82 (patch)
tree3f8160ebd2433c53f60120fc9c899024066ca16a /Makefile
parent875c0010fd394c80caf5cc8f5e214604ea61b58c (diff)
parentfb3f9e22fa89200d9f540f2417a0ea4277a0fd96 (diff)
mMerge branch 'master' of github.com:blinkenrocket/firmware
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}