Makefile targets related to various readouts
This commit is contained in:
parent
353e7cadae
commit
446dad0242
1 changed files with 12 additions and 1 deletions
13
makefile
13
makefile
|
@ -70,4 +70,15 @@ size: $(TARGET).hex
|
||||||
|
|
||||||
# Reset target
|
# Reset target
|
||||||
reset:
|
reset:
|
||||||
avrdude -p $(MCU) -c $(PROGRAMMER) -E reset
|
avrdude -p $(MCU) -c $(PROGRAMMER) -E reset
|
||||||
|
|
||||||
|
read-flash:
|
||||||
|
avrdude -p $(MCU) -c $(PROGRAMMER) -U flash:r:flash.hex:i
|
||||||
|
|
||||||
|
read-eeprom:
|
||||||
|
avrdude -p $(MCU) -c $(PROGRAMMER) -U eeprom:r:eeprom.hex:i
|
||||||
|
|
||||||
|
read-fuses:
|
||||||
|
avrdude -p $(MCU) -c $(PROGRAMMER) -U lfuse:r:-:h -U hfuse:r:-:h -U efuse:r:-:h
|
||||||
|
|
||||||
|
.PHONY: all clean flash qemu asm serial reset read-flash read-eeprom size
|
Loading…
Reference in a new issue