Skip to content

Commit 430026f

Browse files
committed
Correct the line endings in the STLink udev rules to LF.
1 parent 75638e8 commit 430026f

File tree

3 files changed

+48
-48
lines changed

3 files changed

+48
-48
lines changed

udev/49-stlinkv2-1.rules

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# stm32 nucleo boards, with onboard st/linkv2-1
2-
# ie, STM32F0, STM32F4.
3-
4-
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374b", \
5-
MODE:="0666", \
6-
SYMLINK+="stlinkv2-1_%n"
7-
8-
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3752", \
9-
MODE:="0666", \
10-
SYMLINK+="stlinkv2-1_%n"
11-
12-
# If you share your linux system with other users, or just don't like the
13-
# idea of write permission for everybody, you can replace MODE:="0666" with
14-
# OWNER:="yourusername" to create the device owned by you, or with
15-
# GROUP:="somegroupname" and mange access using standard unix groups.
1+
# stm32 nucleo boards, with onboard st/linkv2-1
2+
# ie, STM32F0, STM32F4.
3+
4+
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374b", \
5+
MODE:="0666", \
6+
SYMLINK+="stlinkv2-1_%n"
7+
8+
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3752", \
9+
MODE:="0666", \
10+
SYMLINK+="stlinkv2-1_%n"
11+
12+
# If you share your linux system with other users, or just don't like the
13+
# idea of write permission for everybody, you can replace MODE:="0666" with
14+
# OWNER:="yourusername" to create the device owned by you, or with
15+
# GROUP:="somegroupname" and mange access using standard unix groups.

udev/49-stlinkv2.rules

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# stm32 discovery boards, with onboard st/linkv2
2-
# ie, STM32L, STM32F4.
3-
4-
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748", \
5-
MODE:="0666", \
6-
SYMLINK+="stlinkv2_%n"
7-
8-
# If you share your linux system with other users, or just don't like the
9-
# idea of write permission for everybody, you can replace MODE:="0666" with
10-
# OWNER:="yourusername" to create the device owned by you, or with
11-
# GROUP:="somegroupname" and mange access using standard unix groups.
1+
# stm32 discovery boards, with onboard st/linkv2
2+
# ie, STM32L, STM32F4.
3+
4+
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748", \
5+
MODE:="0666", \
6+
SYMLINK+="stlinkv2_%n"
7+
8+
# If you share your linux system with other users, or just don't like the
9+
# idea of write permission for everybody, you can replace MODE:="0666" with
10+
# OWNER:="yourusername" to create the device owned by you, or with
11+
# GROUP:="somegroupname" and mange access using standard unix groups.

udev/49-stlinkv3.rules

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
# stlink-v3 boards (standalone and embedded) in usbloader mode and standard (debug) mode
2-
3-
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374d", \
4-
MODE:="0666", \
5-
SYMLINK+="stlinkv3loader_%n"
6-
7-
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374e", \
8-
MODE:="0666", \
9-
SYMLINK+="stlinkv3_%n"
10-
11-
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374f", \
12-
MODE:="0666", \
13-
SYMLINK+="stlinkv3_%n"
14-
15-
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3753", \
16-
MODE:="0666", \
17-
SYMLINK+="stlinkv3_%n"
18-
19-
# If you share your linux system with other users, or just don't like the
20-
# idea of write permission for everybody, you can replace MODE:="0666" with
21-
# OWNER:="yourusername" to create the device owned by you, or with
22-
# GROUP:="somegroupname" and mange access using standard unix groups.
1+
# stlink-v3 boards (standalone and embedded) in usbloader mode and standard (debug) mode
2+
3+
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374d", \
4+
MODE:="0666", \
5+
SYMLINK+="stlinkv3loader_%n"
6+
7+
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374e", \
8+
MODE:="0666", \
9+
SYMLINK+="stlinkv3_%n"
10+
11+
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374f", \
12+
MODE:="0666", \
13+
SYMLINK+="stlinkv3_%n"
14+
15+
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3753", \
16+
MODE:="0666", \
17+
SYMLINK+="stlinkv3_%n"
18+
19+
# If you share your linux system with other users, or just don't like the
20+
# idea of write permission for everybody, you can replace MODE:="0666" with
21+
# OWNER:="yourusername" to create the device owned by you, or with
22+
# GROUP:="somegroupname" and mange access using standard unix groups.

0 commit comments

Comments
 (0)