Skip to content

Commit

Permalink
Include a udev rules file for v1 boards too, for permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
karlp committed Nov 4, 2011
1 parent 3886067 commit e224519
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions 49-stlinkv1.rules
@@ -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 changes: 3 additions & 3 deletions README
Expand Up @@ -75,13 +75,13 @@ for GDB.
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,
and then either reboot or execute
$ udevadm control --reload-rules

Udev will now create a /dev/stlinkv2_XX file, with the appropriate permissions.
This is currently all the device is for, (only one stlinkv2 is supported at
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 stlink of each version is supported at
any time presently)

Running programs from SRAM
Expand Down

0 comments on commit e224519

Please sign in to comment.