Dump size at the end of the build.

This commit is contained in:
Ryan Pavlik 2012-07-05 12:45:19 -05:00
parent abad0738c0
commit 8273ef1153

View file

@ -640,6 +640,9 @@ $(OBJDIR)/%.o: $(ARDUINO_CORE_PATH)/%.cpp
# various object conversions
$(OBJDIR)/%.hex: $(OBJDIR)/%.elf
$(OBJCOPY) -O ihex -R .eeprom $< $@
# Dump size for microcontroller.
echo
$(call avr_size,$<,$@)
$(OBJDIR)/%.eep: $(OBJDIR)/%.elf
-$(OBJCOPY) -j .eeprom --set-section-flags=.eeprom="alloc,load" \