size displayed before upload

This commit is contained in:
Pascal Brisset
2006-05-01 20:50:00 +00:00
parent 71c4c9f0cf
commit f8a372dbc1
+2
View File
@@ -144,6 +144,8 @@ $(OBJDIR)/%.hex: $(OBJDIR)/%.elf
%.install: $(OBJDIR)/%.hex check_arch
# stk200 needs to be erased first
$(UISP) $(UISP_FLAGS) --erase
@echo SIZE
$(Q)$(SIZE) $@
$(UISP) $(UISP_FLAGS) --upload $(VERIFY) if=$<
erase: check_arch