From 63c4af0104c5ec93b9821d730c11811c4609982d Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Wed, 4 Jan 2012 14:50:57 +0000 Subject: contrib: add stlink udev rules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3f11de8abfaf8821311a7aa0fd237006de3c2792 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/333 Tested-by: jenkins Reviewed-by: Mathias Küster --- contrib/openocd.udev | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'contrib') diff --git a/contrib/openocd.udev b/contrib/openocd.udev index f7d50b6f..cffab06c 100644 --- a/contrib/openocd.udev +++ b/contrib/openocd.udev @@ -77,4 +77,10 @@ ATTRS{idVendor}=="1457", ATTRS{idProduct}=="5118", MODE="644", GROUP="plugdev" # XDS100v2 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="a6d0", MODE="664", GROUP="plugdev" +# stlink v1 +SYSFS{idVendor}=="0483", SYSFS{idProduct}=="3744", MODE="664", GROUP="plugdev" + +# stlink v2 +SYSFS{idVendor}=="0483", SYSFS{idProduct}=="3748", MODE="664", GROUP="plugdev" + LABEL="openocd_rules_end" -- cgit v1.2.3-18-g5258