Skip to content

Instantly share code, notes, and snippets.

@code0100fun
Created January 1, 2019 18:54
Show Gist options
  • Save code0100fun/d946d9c1c2787cf974280eb5a49775c7 to your computer and use it in GitHub Desktop.
Save code0100fun/d946d9c1c2787cf974280eb5a49775c7 to your computer and use it in GitHub Desktop.
Udev rules for Black Magic Probe on an STM32 Blue Pill
# UDEV Rules for Black Magic Probe (STM32 Blue Pill)
# copy this file to /etc/udev/rules.d/50-black-magic-blue-pill.rules
# reload rules:
# $ sudo udevadm control --reload-rules && sudo udevadm trigger
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="6018", GROUP="plugdev", MODE="0666"

Adding this rule allows you to access the device without sudo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment