summaryrefslogtreecommitdiff
path: root/community/dfu-util/stm32dfu.udev.rules
diff options
context:
space:
mode:
Diffstat (limited to 'community/dfu-util/stm32dfu.udev.rules')
-rw-r--r--community/dfu-util/stm32dfu.udev.rules10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/dfu-util/stm32dfu.udev.rules b/community/dfu-util/stm32dfu.udev.rules
new file mode 100644
index 000000000..138ddc425
--- /dev/null
+++ b/community/dfu-util/stm32dfu.udev.rules
@@ -0,0 +1,10 @@
+# stm32 boards, with onboard DFU support
+
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", \
+ MODE:="0666", \
+ SYMLINK+="stm32_dfu"
+
+# 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.