aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Szechy <jared.szechy@gmail.com>2012-07-01 01:56:43 -0400
committerJared Szechy <jared.szechy@gmail.com>2012-07-01 01:56:43 -0400
commit3a37aa58315ed816e539938910b01eb0fbb06533 (patch)
tree6f4acf77fd4663d6c698ca60288c285f209ef827
parent409823d061adf4aa0368317d3d36312880c06d0e (diff)
Fix size so it uses the elf file rather than the hex. Also added the mcu so it shows device memory usage.
-rw-r--r--arduino-mk/Arduino.mk4
1 files 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