aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/xula2/targets.mk
blob: e03df920c6ed1d04e70b8c4caf02af7369fa0058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# xula2 device-specific configuration make targets.
# put variables in settings.mk, not this file.

.PHONY: prog prog_flash

# This target uploads directly to the FPGA; volatile
prog: build/$(project).bit
	# First ensure that xsload.py is installed
	@xsload.py --version
	@sudo xsload.py --fpga build/$(project).bit
 
# This target uploads to the SPI flash on board; non-volatile
prog_flash: build/$(project).bit
	# First ensure that xsload.py is installed
	@xsload.py --version
	@sudo xsload.py --flash build/$(project).bit