From 2b263e297aefddb07b37c7c886bad7d1f6fafc9a Mon Sep 17 00:00:00 2001 From: Luca Date: Sun, 29 Dec 2024 21:02:01 +0100 Subject: [PATCH] build: add make target for writing bitstream to flash --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 83998f8..a20e50f 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ XRAY_DATABASE_DIR = /usr/share/xray/database PART = xc7a35tcsg324-1 -.PHONY: all clean prog sim +.PHONY: all clean flash prog sim all: pixelflut.bit @@ -11,6 +11,9 @@ clean: rm -f pixelflut.bit pixelflut.fasm pixelflut.frames pixelflut.json rm -f dvi_tb.vcd dvi_tb.vvp +flash: pixelflut.bit + openFPGALoader -b arty_a7_35t --write-flash $< + prog: pixelflut.bit openFPGALoader -b arty_a7_35t $<