Skip to content

Commit

Permalink
Rule for slow uploads for chips using the internal oscillator
Browse files Browse the repository at this point in the history
  • Loading branch information
pichenettes committed Sep 13, 2013
1 parent b6e1319 commit c895df1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions makefile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ upload: $(TARGET_HEX)
$(AVRDUDE) $(AVRDUDE_COM_OPTS) $(AVRDUDE_ISP_OPTS) \
-B 1 -U flash:w:$(TARGET_HEX):i -U lock:w:0x$(LOCK):m

slow_upload: $(TARGET_HEX)
$(AVRDUDE) $(AVRDUDE_COM_OPTS) $(AVRDUDE_ISP_OPTS) \
-B 4 -U flash:w:$(TARGET_HEX):i -U lock:w:0x$(LOCK):m

clean:
$(REMOVE) $(OBJS) $(TARGETS) $(DEP_FILE) $(DEPS)

Expand Down

0 comments on commit c895df1

Please sign in to comment.