X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=README;h=da7fafa3237a17729d64aaa25767aec18b7741e5;hb=refs%2Fheads%2Fdebian;hp=986de7002aa90c9a932462c0efb5dd4c8100f9fd;hpb=ca08bed617efc86a7765554c14a448b731f97eb3;p=fw%2Fstlink diff --git a/README b/README index 986de70..da7fafa 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ -STMicroelectronics Stlink Tools -=============================== +Open source version of the STMicroelectronics Stlink Tools +========================================================== -[![Build Status](https://travis-ci.org/xor-gate/stlink.svg?branch=travis)](https://travis-ci.org/xor-gate/stlink) +[![Build Status](https://travis-ci.org/texane/stlink.svg?branch=master)](https://travis-ci.org/texane/stlink) ## HOWTO @@ -19,9 +19,8 @@ Two different transport layers are used: ## Common requirements -. libusb-1.0 (You probably already have this, but you'll need the -development version to compile) -. pkg-config +* `pkg-config` +* `libusb-1.0` (plus development headers for building, on debian based distros `libusb-1.0.0-dev` package) ## For STLINKv1 @@ -31,10 +30,10 @@ is tell your operating system to completely ignore it. Options (do one of these before you plug it in) * `modprobe -r usb-storage && modprobe usb-storage quirks=483:3744:i` -* or *)1. add "options usb-storage quirks=483:3744:i" to /etc/modprobe.conf -* *)2. modprobe -r usb-storage && modprobe usb-storage -* or *)1. cp stlink_v1.modprobe.conf /etc/modprobe.d -* *)2. modprobe -r usb-storage && modprobe usb-storage +* or 1. `echo "options usb-storage quirks=483:3744:i" >> /etc/modprobe.conf` +* 2. `modprobe -r usb-storage && modprobe usb-storage` +* or 1. `cp stlink_v1.modprobe.conf /etc/modprobe.d` +* 2. `modprobe -r usb-storage && modprobe usb-storage` ## For STLINKv2 @@ -57,7 +56,7 @@ $ make ``` $ mkdir build && cd build -$ cmake .. +$ cmake -DCMAKE_BUILD_TYPE=Debug .. $ make ```