--- a/blackbox/Makefile Sat Dec 15 23:46:28 2012 +0100 +++ b/blackbox/Makefile Wed Dec 19 19:46:44 2012 +0100 @@ -89,6 +89,9 @@ backup: $(AVRDUDE) $(PROGRAMMER) -b $(ISP_BAUD) -i 1 -p $(MCU) -V -U flash:r:$(PRG)_backup.hex:i +restore: + $(AVRDUDE) $(PROGRAMMER) -b $(ISP_BAUD) -i 1 -p $(MCU) -V -U flash:w:$(PRG).hex:i + fuse: $(AVRDUDE) -c $(PROGRAMMER) -p $(MCU) -V $(FUSES)