From e24dfa6e65ed09067c469435301343618c332dba Mon Sep 17 00:00:00 2001 From: Ain <41307858+nero@users.noreply.github.com> Date: Mon, 29 Jan 2018 23:12:22 +0000 Subject: [PATCH] Add avr-size invocation --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 914c106..4b8d834 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ override LDFLAGS = CC = avr-gcc OBJCOPY = avr-objcopy OBJDUMP = avr-objdump +SIZE = avr-size AVRDUDE_ARGS = ifdef BOARD @@ -31,6 +32,7 @@ deps.mk: *.c drivers/*.c %.elf: %.o $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ + $(SIZE) $@ %.lst: %.elf $(OBJDUMP) -h -S $< > $@