Makefile targets related to various readouts
This commit is contained in:
parent
353e7cadae
commit
446dad0242
1 changed files with 12 additions and 1 deletions
11
makefile
11
makefile
|
@ -71,3 +71,14 @@ size: $(TARGET).hex
|
|||
# Reset target
|
||||
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