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 |