Skip to content

Commit

Permalink
More generic stlinkv2 udev naming
Browse files Browse the repository at this point in the history
Better support for F4, or anything else that appears as an stlinkv2
  • Loading branch information
karlp authored and Hakkavélin committed Nov 1, 2011
1 parent e8bae67 commit c0c45e2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions 49-stm32l-discovery.rules → 49-stlinkv2.rules
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# stm32l discovery board, with onboard st/linkv2
#
# stm32 discovery boards, with onboard st/linkv2
# ie, STM32L, STM32F4.
# STM32VL has st/linkv1, which is quite different

SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748", \
MODE:="0666", \
SYMLINK+="stm32l_stlink%n"
#
SYMLINK+="stlinkv2_%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
Expand Down

0 comments on commit c0c45e2

Please sign in to comment.