From 910073d647e55d133494429d8c3a4bacffc32428 Mon Sep 17 00:00:00 2001 From: eine <6628437+eine@users.noreply.github.com> Date: Sun, 19 Jan 2020 03:25:43 +0000 Subject: migrate from Travis to GHA and rework examples (#78) * migrate from Travis to GHA * rework examples --- icezum/blink/Makefile | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 icezum/blink/Makefile (limited to 'icezum/blink/Makefile') diff --git a/icezum/blink/Makefile b/icezum/blink/Makefile deleted file mode 100644 index e7c2964..0000000 --- a/icezum/blink/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -PROJ = blink -PIN_DEF = blink.pcf -DEVICE = hx1k - -all: $(PROJ).rpt $(PROJ).bin - -%.blif: %.vhdl - ghdl -a $(PROJ).vhdl - yosys -m ../../ghdl.so -p 'ghdl $(PROJ); synth_ice40 -blif $@' - - -%.asc: $(PIN_DEF) %.blif - arachne-pnr -d $(subst hx,,$(subst lp,,$(DEVICE))) -o $@ -p $^ - -%.bin: %.asc - icepack $< $@ - -%.rpt: %.asc - icetime -d $(DEVICE) -mtr $@ $< - -prog: $(PROJ).bin - iceprog $< - -sudo-prog: $(PROJ).bin - @echo 'Executing prog as root!!!' - sudo iceprog $< - -clean: - rm -f $(PROJ).blif $(PROJ).asc $(PROJ).rpt $(PROJ).bin work-obj93.cf - -.SECONDARY: -.PHONY: all prog clean -- cgit v1.2.3