blackbox/Makefile

changeset 103
52fd4283cd2c
parent 80
393b63b8c95f
child 114
313aad7435a8
equal deleted inserted replaced
102:72f5eb420096 103:52fd4283cd2c
79 rm $(PRG).map 79 rm $(PRG).map
80 80
81 program: code 81 program: code
82 $(AVRDUDE) -P $(PORT) -c stk500v2 -b $(ISP_BAUD) -i 1 -p $(MCU) -V -U flash:w:$(PRG).hex:i 82 $(AVRDUDE) -P $(PORT) -c stk500v2 -b $(ISP_BAUD) -i 1 -p $(MCU) -V -U flash:w:$(PRG).hex:i
83 83
84 backup:
85 $(AVRDUDE) -P $(PORT) -c stk500v2 -b $(ISP_BAUD) -i 1 -p $(MCU) -V -U flash:r:$(PRG)_backup.hex:i
86
84 fuse: 87 fuse:
85 $(AVRDUDE) -P $(PORT) -c stk500v2 -p $(MCU) -V $(FUSES) 88 $(AVRDUDE) -P $(PORT) -c stk500v2 -p $(MCU) -V $(FUSES)
86 89
87 clean: 90 clean:
88 rm -rf *.o *.elf *.elf.src *.s *.i 91 rm -rf *.o *.elf *.elf.src *.s *.i

mercurial