build: add make target for writing bitstream to flash

This commit is contained in:
Luca 2024-12-29 21:02:01 +01:00
parent 09ca6c6bc0
commit 2b263e297a
1 changed files with 4 additions and 1 deletions

View File

@ -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 $<