kopia lustrzana https://github.com/stlink-org/stlink
Include a udev rules file for v1 boards too, for permissions
rodzic
388606716e
commit
e224519608
|
@ -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
6
README
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue