summaryrefslogtreecommitdiff
path: root/src/arch/arduino-nano/Makefile.inc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-12-18 11:16:24 +0100
committerDaniel Friesel <derf@finalrewind.org>2017-12-18 11:16:24 +0100
commitef3ef99299fe3c4ea4cc9ab1c6526da2eb89e1a5 (patch)
treeb221a89dc892674c131459eb4d6cf957a0466c9e /src/arch/arduino-nano/Makefile.inc
parent771b62b056cfebecf8fb5ed4e1938ffc12d167f8 (diff)
arduino-nano: Add GPIO input/output/read/write support
Diffstat (limited to 'src/arch/arduino-nano/Makefile.inc')
-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} $@