diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-12-29 19:56:04 +0100 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-12-29 19:56:04 +0100 |
commit | 68c80359ba0983bc21a18c0270025be9b441c0bb (patch) | |
tree | a06a04eb8756f96d05c55768bd356917847cdc95 /Makefile.util | |
parent | 5b6a3f3b216939a11ed1978d7da4dd6bbe4edc2a (diff) | |
download | AGH-engineering-thesis-68c80359ba0983bc21a18c0270025be9b441c0bb.tar.gz AGH-engineering-thesis-68c80359ba0983bc21a18c0270025be9b441c0bb.zip |
add the ability to include additional data at the end of bitstream image and prepare an example, that reads thic data through SPI and displays it
Diffstat (limited to 'Makefile.util')
-rw-r--r-- | Makefile.util | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.util b/Makefile.util index 88939b1..85f14a9 100644 --- a/Makefile.util +++ b/Makefile.util @@ -21,8 +21,11 @@ design.asc pnr.log: $(PCF) design.json $(PNR) --hx8k --asc design.asc --pcf $< --json design.json \ --package ct256 > pnr.log 2>&1 -design.bin : design.asc +design.bin : design.asc $(FLASH_DATA) $(ICEPACK) $< $@ +ifdef FLASH_DATA + cat $(FLASH_DATA) >> $@ +endif prog : design.bin sudo iceprogduino $< |