From 68c80359ba0983bc21a18c0270025be9b441c0bb Mon Sep 17 00:00:00 2001 From: Wojciech Kosior Date: Tue, 29 Dec 2020 19:56:04 +0100 Subject: 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 --- Makefile.util | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile.util') 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 $< -- cgit v1.2.3