]> git.sur5r.net Git - openocd/blob - README.Windows
README.Windows: pkgconfig-lite should go into MinGW, not MSYS
[openocd] / README.Windows
1 Building OpenOCD for Windows
2 ----------------------------
3
4 You can build OpenOCD for Windows natively with either MinGW/MSYS or
5 Cygwin. Alternatively, one can cross-compile it using MinGW on a *nix
6 host. See README for the generic instructions.
7
8 Native MinGW/MSYS compilation
9 -----------------------------
10
11 As MSYS doesn't come with pkg-config pre-installed, you need to add it
12 manually. The easiest way to do that is to download pkg-config-lite
13 from:
14
15   http://sourceforge.net/projects/pkgconfiglite/
16
17 Then simply unzip the archive to the root directory of your MinGW
18 installation.
19
20 USB adapters
21 ------------
22
23 You usually need to have WinUSB.sys (or libusbK.sys) driver installed
24 for a USB-based adapter. Some vendor software (e.g. for ST-LINKv2)
25 does it on its own. For the other cases the easiest way to assign
26 WinUSB to a device is to use the Zadig installer:
27
28   http://sourceforge.net/projects/libwdi/files/zadig/
29
30 For the old drivers that use libusb-0.1 API you might need to link
31 against libusb-win32 headers and install the corresponding driver with
32 Zadig.