contrib: add stlink udev rules
authorSpencer Oliver <spen@spen-soft.co.uk>
Wed, 4 Jan 2012 14:50:57 +0000 (14:50 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 9 Jan 2012 09:49:16 +0000 (09:49 +0000)
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>
contrib/openocd.udev

index f7d50b6..cffab06 100644 (file)
@@ -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"