This is an automated email from Gerrit.

Antonio Borneo ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/6004

-- gerrit

commit 3b6dc81e134a6e16193eabc198210c3caffc1951
Author: Antonio Borneo <[email protected]>
Date:   Sun Jan 3 12:02:49 2021 +0100

    udev: fix permission for Ambiq Micro EVK's
    
    Commit 68e204f1e91a ("udev: Add rules for Ambiq Micro EVK's.") was
    initially proposed as http://openocd.zylin.com/3429/ then replaced
    by http://openocd.zylin.com/3980/
    The initial proposal was for file '99-openocd.rules', in which
    MODE="664" was the norm.
    After merge of http://openocd.zylin.com/2804/ the new udev rules
    in '60-openocd.rules' switched to MODE="660", but the evolution of
    the above patch missed this change.
    
    Switch udev rules of Ambiq Micro EVK's to MODE="660" and uniform
    them to the rest of the file.
    
    Change-Id: I4b4eea535184ee8569da3264bff4f1fafb5bce4d
    Signed-off-by: Antonio Borneo <[email protected]>
    Fixes: 68e204f1e91a ("udev: Add rules for Ambiq Micro EVK's.")

diff --git a/contrib/60-openocd.rules b/contrib/60-openocd.rules
index fe57364..e187659 100644
--- a/contrib/60-openocd.rules
+++ b/contrib/60-openocd.rules
@@ -158,9 +158,9 @@ ATTRS{idVendor}=="1cbe", ATTRS{idProduct}=="02a5", 
MODE="660", GROUP="plugdev",
 ATTRS{idVendor}=="1cbe", ATTRS{idProduct}=="00ff", MODE="660", 
GROUP="plugdev", TAG+="uaccess"
 
 # Ambiq Micro EVK and Debug boards.
-ATTRS{idVendor}=="2aec", ATTRS{idProduct}=="6010", MODE="664", 
GROUP="plugdev", TAG+="uaccess"
-ATTRS{idVendor}=="2aec", ATTRS{idProduct}=="6011", MODE="664", 
GROUP="plugdev", TAG+="uaccess"
-ATTRS{idVendor}=="2aec", ATTRS{idProduct}=="1106", MODE="664", 
GROUP="plugdev", TAG+="uaccess"
+ATTRS{idVendor}=="2aec", ATTRS{idProduct}=="6010", MODE="660", 
GROUP="plugdev", TAG+="uaccess"
+ATTRS{idVendor}=="2aec", ATTRS{idProduct}=="6011", MODE="660", 
GROUP="plugdev", TAG+="uaccess"
+ATTRS{idVendor}=="2aec", ATTRS{idProduct}=="1106", MODE="660", 
GROUP="plugdev", TAG+="uaccess"
 
 # Marvell Sheevaplug
 ATTRS{idVendor}=="9e88", ATTRS{idProduct}=="9e8f", MODE="660", 
GROUP="plugdev", TAG+="uaccess"

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to