From e8a94cf3bd4c780013a0342e15269ca74d38b0c8 Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Mon, 18 Nov 2013 18:54:34 -0500 Subject: xula2 upload commonly requires root --- contrib/xula2/targets.mk | 4 ++-- 1 file 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 -- cgit v1.2.3