aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/xula2/targets.mk
blob: ec941be60d126609ba9dd16fcce5012c26061b0d (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
	@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
	@xsload.py --flash build/$(project).bit