diff -r 0e71b51c83a5 -r e787f47c084b car004f/Makefile --- a/car004f/Makefile Mon Dec 23 10:59:14 2013 +0100 +++ b/car004f/Makefile Mon Dec 23 14:05:53 2013 +0100 @@ -4,6 +4,7 @@ #FUSES=-U lfuse:w:0xAE:m -U hfuse:w:0xd9:m FUSES=-U lfuse:w:0x83:m -U hfuse:w:0xd8:m # original fuses: 83 / d8 + BOOTFUSES=-U lfuse:w:0xff:m -U hfuse:w:0xce:m #F_CPU=4185600 @@ -94,6 +95,10 @@ fuse: $(AVRDUDE) $(PROGRAMMER) -p $(MCU) -V $(FUSES) +calibration: + $(AVRDUDE) $(PROGRAMMER) -p $(MCU) -U calibration:r:calibration.data:h + $(AVRDUDE) $(PROGRAMMER) -p $(MCU) -U eeprom:w:`cut -d ',' -f 3 ./calibration.data`,0xff:m + clean: rm -rf *.o *.elf *.elf.src *.s *.i rm -rf driver/*.o