Skip to content

Commit

Permalink
[README] Added note about the Linux udev rule
Browse files Browse the repository at this point in the history
  • Loading branch information
martonmiklos committed May 22, 2019
1 parent 39cc92c commit d9b96b8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,18 @@ Normally, both ```BOOT-0``` and ```BOOT-1``` must be connected to '0'. If you co
This bootloader should't have any compiler restrictions, so it should work with
any GCC ARM toolchain version (latest is always recommended!). Just run 'make' on that folder.

### Linux udev setup:

To use the HID bootloader without root permissions the following udev rule needs to be installed to the /etc/udev/rules.d/99-stm32_hid_bl.rules:

```
# STM32_HID_bootloader
ATTR{idProduct}=="beba", ATTR{idVendor}=="1209", MODE="666"
```

You might need to reboot or run ```udevadm control --reload-rules``` and replug your device to use it as a normal user after installing.


### Windows examples:

```D:\STM32_HID_bootloader\cli>make clean``` Clears the previous generated files
Expand Down

0 comments on commit d9b96b8

Please sign in to comment.