summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arduino-nano/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/arduino-nano/Makefile.inc b/src/arch/arduino-nano/Makefile.inc
index a7c0fa9..cd6227b 100644
--- a/src/arch/arduino-nano/Makefile.inc
+++ b/src/arch/arduino-nano/Makefile.inc
@@ -26,6 +26,7 @@ OBJECTS = ${TARGETS:.cc=.o}
build/system.elf: ${OBJECTS}
${CXX} ${COMMON_FLAGS} ${CXXFLAGS} -Wl,--gc-sections -o $@ ${OBJECTS}
+ avr-size --format=avr --mcu=${MCU} $@
build/system.hex: build/system.elf
${OBJCOPY} -O ihex ${@:.hex=.elf} $@