Include a udev rules file for v1 boards too, for permissions
[fw/stlink] / 49-stlinkv1.rules
diff --git a/49-stlinkv1.rules b/49-stlinkv1.rules
new file mode 100644 (file)
index 0000000..d474d6a
--- /dev/null
@@ -0,0 +1,11 @@
+# stm32 discovery boards, with onboard st/linkv1
+# ie, STM32VL
+
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3744", \
+    MODE:="0666", \
+    SYMLINK+="stlinkv1_%n"
+
+# If you share your linux system with other users, or just don't like the
+# idea of write permission for everybody, you can replace MODE:="0666" with
+# OWNER:="yourusername" to create the device owned by you, or with
+# GROUP:="somegroupname" and mange access using standard unix groups.