1
0
mirror of https://github.com/sjlongland/atinysynth.git synced 2025-09-13 18:13:16 +10:00

ports/attiny85: Define program target

This commit is contained in:
Stuart Longland 2017-04-09 09:16:50 +10:00
parent 38bf5a4261
commit b1ddd0c099
Signed by: stuartl
GPG Key ID: F954BBBB7948D546

View File

@ -16,12 +16,8 @@ EFUSE=0xff
FREQ=16000000
all: $(TARGET)
$(BINDIR)/%.pgm: $(BINDIR)/%.ihex
$(PROG) $(PROG_ARGS) -p $(PROG_DEV) -U flash:w:$^:i
setfuse:
$(PROG) $(PROG_ARGS) -p $(PROG_DEV) \
program: $(BINDIR)/synth.ihex
$(PROG) $(PROG_ARGS) -p $(PROG_DEV) -U flash:w:$^:i \
-U lfuse:w:$(LFUSE):m \
-U hfuse:w:$(HFUSE):m \
-U efuse:w:$(EFUSE):m