From 7cfeb61399a56ed88bc2a2f4e1547051d015834d Mon Sep 17 00:00:00 2001 From: Manoel Brunnen Date: Thu, 22 Nov 2018 09:34:42 +0100 Subject: [PATCH] Add udev rules --- driver/99-blackmagic.rules | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 driver/99-blackmagic.rules diff --git a/driver/99-blackmagic.rules b/driver/99-blackmagic.rules new file mode 100644 index 0000000..f8e749b --- /dev/null +++ b/driver/99-blackmagic.rules @@ -0,0 +1,7 @@ +# 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 +SUBSYSTEM=="tty", ACTION=="add", ATTRS{interface}=="Black Magic GDB Server", SYMLINK+="ttyBmpGdb" +SUBSYSTEM=="tty", ACTION=="add", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg" +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="1d50", ATTR{idProduct}=="6017", MODE="0666" +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="1d50", ATTR{idProduct}=="6018", MODE="0666"