Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
Changed order of flashing operations
Browse files Browse the repository at this point in the history
  • Loading branch information
pichenettes committed Apr 24, 2012
1 parent c28b717 commit cf97d98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ upload_all: $(FIRMWARE) $(BOOTLOADER)
bake_all: $(FIRMWARE) $(BOOTLOADER)
make -f bootloader/makefile fuses
$(AVRDUDE) -B 1 $(AVRDUDE_COM_OPTS) $(AVRDUDE_ISP_OPTS) \
-U eeprom:w:$(EEPROM):i \
-U flash:w:$(FIRMWARE):i -U flash:w:$(BOOTLOADER):i \
-U eeprom:w:$(EEPROM):i
$(AVRDUDE) -B 1 $(AVRDUDE_COM_OPTS) $(AVRDUDE_ISP_OPTS) -U lock:w:0x2f:m
-U lock:w:0x2f:m

backup: $(EEPROM)
$(AVRDUDE) $(AVRDUDE_COM_OPTS) $(AVRDUDE_ISP_OPTS) -U eeprom:r:$(EEPROM):i
Expand Down

0 comments on commit cf97d98

Please sign in to comment.