aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2012-01-04 14:50:57 +0000
committerSpencer Oliver <spen@spen-soft.co.uk>2012-01-09 09:49:16 +0000
commit63c4af0104c5ec93b9821d730c11811c4609982d (patch)
tree1bf0fc647b8b62f065948e1f94a6c5648ea7b2e6 /contrib
parent327fafc6a22f5ff22c591c1ca345d3910022cfec (diff)
downloadriscv-openocd-63c4af0104c5ec93b9821d730c11811c4609982d.zip
riscv-openocd-63c4af0104c5ec93b9821d730c11811c4609982d.tar.gz
riscv-openocd-63c4af0104c5ec93b9821d730c11811c4609982d.tar.bz2
contrib: add stlink udev rules
Change-Id: I3f11de8abfaf8821311a7aa0fd237006de3c2792 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/333 Tested-by: jenkins Reviewed-by: Mathias Küster <kesmtp@freenet.de>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/openocd.udev6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/openocd.udev b/contrib/openocd.udev
index f7d50b6..cffab06 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"