# This file needs avra version >= 1.2.0 PROJECT=akl-mini DEVICE=t24 LFUSE=0x62 HFUSE=0xDF all: hispai par: avra $(PROJECT).asm avrpp -fl$(LFUSE) -fh$(HFUSE) $(PROJECT).hex $(PROJECT).eep.hex parmulti: avra $(PROJECT).asm while true; do \ avrpp -fl$(LFUSE) -fh$(HFUSE) $(PROJECT).hex $(PROJECT).eep.hex && /bin/echo -e "\nPASSED\n\x07"; done hispai: avra $(PROJECT).asm hispai -d $(DEVICE) -m -i 100k -wp $(PROJECT).hex -we $(PROJECT).eep.hex -fl $(LFUSE) -fh $(HFUSE) hispaitest: avra $(PROJECT).asm hispai -d $(DEVICE) -wp $(PROJECT).hex -we $(PROJECT).eep.hex -fl $(LFUSE) -fh $(HFUSE) stk: avra $(PROJECT).asm avrdude -c stk500pp -p $(DEVICE) -U flash:w:$(PROJECT).hex -U lfuse:w:$(LFUSE):m -U hfuse:w:$(HFUSE):m #-U eeprom:w:$(PROJECT).eep.hex isp: avra $(PROJECT).asm avrdude -c avr910 -p $(DEVICE) -U flash:w:$(PROJECT).hex eeprom: avra $(PROJECT).asm avrdude -c avr910 -p $(DEVICE) -U eeprom:w:$(PROJECT).eep.hex fuses: avrdude -c avr910 -p $(DEVICE) -U lfuse:w:$(LFUSE):m -U hfuse:w:$(HFUSE):m