From b15aa4e88f25c48badfe2545835a148bb8f67243 Mon Sep 17 00:00:00 2001 From: Martin Oldfield Date: Mon, 17 Sep 2012 16:14:40 +0100 Subject: [PATCH] Made the size target look at the ELF file, not the hex, as per Jared Szechy's patch. Craig Leres made a similar comment --- arduino-mk/Arduino.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arduino-mk/Arduino.mk b/arduino-mk/Arduino.mk index 5261afa..38d8217 100644 --- a/arduino-mk/Arduino.mk +++ b/arduino-mk/Arduino.mk @@ -679,8 +679,8 @@ clean: depends: $(DEPS) cat $(DEPS) > $(DEP_FILE) -size: $(OBJDIR) $(TARGET_HEX) - $(SIZE) $(TARGET_HEX) +size: $(OBJDIR) $(TARGET_ELF) + $(SIZE) -C --mcu=$(MCU) $(TARGET_ELF) show_boards: $(PARSE_BOARD_CMD) --boards