Include a udev rules file for v1 boards too, for permissions

pull/29/head
Karl Palsson 2011-11-04 02:30:13 +00:00
rodzic 388606716e
commit e224519608
2 zmienionych plików z 14 dodań i 3 usunięć

11
49-stlinkv1.rules 100644
Wyświetl plik

@ -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.

6
README
Wyświetl plik

@ -75,13 +75,13 @@ for GDB.
Setting up udev rules Setting up udev rules
===================== =====================
For convenience, you may install udev rules file, 49-stlinkv2.rules, located For convenience, you may install udev rules file, 49-stlinkv*.rules, located
in the root of repository. You will need to copy it to /etc/udev/rules.d, in the root of repository. You will need to copy it to /etc/udev/rules.d,
and then either reboot or execute and then either reboot or execute
$ udevadm control --reload-rules $ udevadm control --reload-rules
Udev will now create a /dev/stlinkv2_XX file, with the appropriate permissions. Udev will now create a /dev/stlinkv2_XX or /dev/stlinkv1_XX file, with the appropriate permissions.
This is currently all the device is for, (only one stlinkv2 is supported at This is currently all the device is for, (only one stlink of each version is supported at
any time presently) any time presently)
Running programs from SRAM Running programs from SRAM