Skip to content

Commit

Permalink
Solve openocd issue on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jixing.zou committed Sep 5, 2016
1 parent 0f32f8a commit ff80911
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 98-daplink.rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

# mbed CMSIS-DAP
ATTRS{idVendor}=="0d28", ATTRS{idProduct}=="0204", MODE="664", GROUP="plugdev"
KERNEL=="hidraw*", ATTRS{idVendor}=="0d28", ATTRS{idProduct}=="0204", MODE="664", GROUP="plugdev"
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ Get this driver and install it if you are using an Windows PC, so that you can u

* Note that you do not need any driver for OSX and Linux platforms.

## Add udev rules (Linux only)

Copy file "98-daplink.rules" to path "/etc/udev/rules.d/". Then restart or reloaded with

$ sudo udevadm control --reload-rules

We thank bapowell & kdsoo for solving this problem.
[openocd error on Linux](https://github.com/RedBearLab/nRF51822-Arduino/issues/73)

## Burn Bootloader

Expand Down

0 comments on commit ff80911

Please sign in to comment.