blackbox/Makefile

changeset 145
80be5eb283d3
parent 140
f910ad6ed0b6
--- a/blackbox/Makefile	Sat Dec 21 14:54:21 2013 +0100
+++ b/blackbox/Makefile	Sat Dec 21 16:21:06 2013 +0100
@@ -2,7 +2,8 @@
 
 MCU=atmega16
 #FUSES=-U lfuse:w:0x3f:m -U hfuse:w:0xd8:m
-FUSES=-U lfuse:w:0x2f:m -U hfuse:w:0xc8:m
+#FUSES=-U lfuse:w:0x2f:m -U hfuse:w:0xc8:m
+FUSES=-U lfuse:w:0x3c:m -U hfuse:w:0xc9:m
 BOOTFUSES=-U lfuse:w:0xff:m -U hfuse:w:0xce:m
 
 #F_CPU=4185600
@@ -95,7 +96,7 @@
 	$(AVRDUDE) $(PROGRAMMER) -b $(ISP_BAUD) -i 1 -p $(MCU) -V -U flash:w:$(PRG).hex:i
 
 fuse:
-	$(AVRDUDE) -c $(PROGRAMMER) -p $(MCU) -V $(FUSES)
+	$(AVRDUDE) $(PROGRAMMER) -p $(MCU) -V $(FUSES)
 
 clean:
 	rm -rf *.o *.elf *.elf.src *.s *.i

mercurial