summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruvok2025-12-24 17:50:22 +0100
committeruvok2025-12-24 17:50:22 +0100
commit27997642dbe82b43ce85338f88cae1bb7f030750 (patch)
tree79a6aeab36e31a1b0daa66f3e61032897e721abf
parent177e51dce83dc9c94947fbfa3a0035cc0c4c856f (diff)
Don't write to persistant flash
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f558ca1..c2824e5 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@ MAKEFLAGS += --no-builtin-variables
.SUFFIXES:
PROGRAM ?= led
+FLASH_OPTS ?=
all: $(PROGRAM).fs
@@ -29,8 +30,9 @@ tangnano9k.cst:
%.fs: %.pnr.json
gowin_pack -d GW1N-9C -o $@ $<
+# flash: -f
flash: led.fs
- openFPGALoader -b tangnano9k -f led.fs
+ openFPGALoader -b tangnano9k $(FLASH_OPTS) led.fs
clean:
rm -rf *.json *.fs *.svg *.log