Makefile targets related to various readouts

This commit is contained in:
Imbus 2024-03-24 06:12:01 +01:00
parent 353e7cadae
commit 446dad0242

View file

@ -71,3 +71,14 @@ 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