aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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