aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@leaflabs.com>2013-11-18 18:54:34 -0500
committerbryan newbold <bnewbold@leaflabs.com>2013-11-18 18:55:38 -0500
commite8a94cf3bd4c780013a0342e15269ca74d38b0c8 (patch)
treec20541e2e618d2c2832308d476e5728682617901
parent5d2ccee41d39db5805a97022e3e4efd51089efb5 (diff)
downloadbasic-hdl-template-e8a94cf3bd4c780013a0342e15269ca74d38b0c8.tar.gz
basic-hdl-template-e8a94cf3bd4c780013a0342e15269ca74d38b0c8.zip
xula2 upload commonly requires root
-rw-r--r--contrib/xula2/targets.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/xula2/targets.mk b/contrib/xula2/targets.mk
index ec941be..e03df92 100644
--- a/contrib/xula2/targets.mk
+++ b/contrib/xula2/targets.mk
@@ -7,10 +7,10 @@
prog: build/$(project).bit
# First ensure that xsload.py is installed
@xsload.py --version
- @xsload.py --fpga build/$(project).bit
+ @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
- @xsload.py --flash build/$(project).bit
+ @sudo xsload.py --flash build/$(project).bit