blackbox/Makefile

changeset 103
52fd4283cd2c
parent 80
393b63b8c95f
child 114
313aad7435a8
--- a/blackbox/Makefile	Sun Oct 28 11:23:18 2012 +0100
+++ b/blackbox/Makefile	Sun Oct 28 16:18:53 2012 +0100
@@ -81,6 +81,9 @@
 program: code
 	$(AVRDUDE) -P $(PORT) -c stk500v2 -b $(ISP_BAUD) -i 1 -p $(MCU) -V -U flash:w:$(PRG).hex:i
 
+backup:
+	$(AVRDUDE) -P $(PORT) -c stk500v2 -b $(ISP_BAUD) -i 1 -p $(MCU) -V -U flash:r:$(PRG)_backup.hex:i
+
 fuse:
 	$(AVRDUDE) -P $(PORT) -c stk500v2 -p $(MCU) -V $(FUSES)
 

mercurial