avr-something

Something something AVR side…
git clone git://henryandlizzy.uk/avr-something
Log | Files | Refs | README

commit da61efbdb273c3eeb5794fbe80800688a289ab27
parent 326c6f10fab2f4a85769cde12e3999fa845f5f93
Author: Henry Wilson <m3henry@googlemail.com>
Date:   Thu, 22 Feb 2018 22:29:50 +0000

added verify option to makefile

Diffstat:
Mmakefile | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/makefile b/makefile @@ -8,7 +8,7 @@ DEPFLAGS = -MT $@ -MMD -MP -MF .$*.d COMPILE.c = $(CC) $(DEPFLAGS) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c # Create our phony targets to avoid files interfering -.PHONY: clean install +.PHONY: clean install check # Generate a list of sources and objects C_SOURCES = $(wildcard *.c) @@ -27,6 +27,9 @@ program.elf: $(OBJECTS) install: program.hex @ avrdude -c usbasp -p m644p -D -U $< +verify: program.hex + @ avrdude -c usbasp -p m644p -n -U flash:v:$< + # Clean up everything that we generate clean: @ rm -f program.hex program.elf .*.o .*.d