2018-11-22 08:34:42 +00:00
|
|
|
# Black Magic Probe
|
|
|
|
# there are two connections, one for GDB and one for UART debugging
|
|
|
|
# copy this to /etc/udev/rules.d/99-blackmagic.rules
|
2022-06-01 02:09:45 +00:00
|
|
|
# and run sudo udevadm control -R
|
2022-06-06 06:08:37 +00:00
|
|
|
ACTION!="add|change", GOTO="blackmagic_rules_end"
|
2018-11-22 08:34:42 +00:00
|
|
|
SUBSYSTEM=="tty", ACTION=="add", ATTRS{interface}=="Black Magic GDB Server", SYMLINK+="ttyBmpGdb"
|
|
|
|
SUBSYSTEM=="tty", ACTION=="add", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg"
|
2022-06-06 06:08:37 +00:00
|
|
|
SUBSYSTEM=="usb", ATTR{idVendor}=="1d50", ATTR{idProduct}=="6017", MODE="0666", GROUP="plugdev", TAG+="uaccess"
|
|
|
|
SUBSYSTEM=="usb", ATTR{idVendor}=="1d50", ATTR{idProduct}=="6018", MODE="0666", GROUP="plugdev", TAG+="uaccess"
|
|
|
|
LABEL="blackmagic_rules_end"
|