summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Stensgård <mastensg@mastensg.net>2025-07-16 21:15:19 +0200
committerMartin Stensgård <mastensg@mastensg.net>2025-07-16 21:15:19 +0200
commit994608b15b70720c4c2b5f41095b6fe92dfb8bad (patch)
tree23c3259d8d7a3298f9ecc9861cedf411846c043a /Makefile
parent115f675c0813e7e86e1944af5bbf5dcd039d79df (diff)
Makefile: add gui by nextpnr
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1afafb7..493a2d2 100644
--- a/Makefile
+++ b/Makefile
@@ -8,10 +8,13 @@ check:
clean:
rm -f top.asc top.bin top.json
+gui:
+ nextpnr-ice40 --hx1k --package tq144 --json top.json --pcf top.pcf --asc top.asc --top $(TOP) --gui
+
load: all
iceprog top.bin
-.PHONY: all check clean load
+.PHONY: all check clean gui load
top.asc: top.json top.pcf
nextpnr-ice40 --hx1k --package tq144 --json top.json --pcf top.pcf --asc top.asc --top $(TOP)