mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
artiq_flash: do not always assume permission problems
This commit is contained in:
parent
8a3be4eca0
commit
8a2b8fc634
@ -112,7 +112,7 @@ check_return() {
|
||||
xc3sprog -c $CABLE -R 2&>1 > /dev/null
|
||||
if [ "$?" != "0" ]
|
||||
then
|
||||
echo "Flashing failed because it seems you do not have permission to access the USB device."
|
||||
echo "Flashing failed. Maybe you do not have permission to access the USB device?"
|
||||
echo "To fix this you might want to add a udev rule by doing:"
|
||||
echo "$ sudo cp $ARTIQ_PREFIX/misc/$UDEV_RULES /etc/udev/rules.d"
|
||||
echo "Then unplug/replug your device and try flashing again"
|
||||
|
Loading…
Reference in New Issue
Block a user