blackbox/Makefile

changeset 128
be47571ed2fd
parent 114
313aad7435a8
child 139
7127e7082ee0
--- 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)
 

mercurial