stm32l4: support flashing L496 devices
[openocd.git] / README.Windows
1 Building OpenOCD for Windows
2 ----------------------------
3
4 You can build OpenOCD for Windows natively with either MinGW-w64/MSYS
5 or Cygwin (plain MinGW might work with --disable-werror but is not
6 recommended as it doesn't provide enough C99 compatibility).
7 Alternatively, one can cross-compile it using MinGW-w64 on a *nix
8 host. See README for the generic instructions.
9
10 Also, the MSYS2 project provides both ready-made binaries and an easy
11 way to self-compile from their software repository out of the box.
12
13 Native MinGW-w64/MSYS compilation
14 -----------------------------
15
16 As MSYS doesn't come with pkg-config pre-installed, you need to add it
17 manually. The easiest way to do that is to download pkg-config-lite
18 from:
19
20 http://sourceforge.net/projects/pkgconfiglite/
21
22 Then simply unzip the archive to the root directory of your MinGW-w64
23 installation.
24
25 USB adapters
26 ------------
27
28 For the adapters that use a HID-based protocol, e.g. CMSIS-DAP, you do
29 not need to perform any additional configuration.
30
31 For all the others you usually need to have WinUSB.sys (or
32 libusbK.sys) driver installed. Some vendor software (e.g. for
33 ST-LINKv2) does it on its own. For the other cases the easiest way to
34 assign WinUSB to a device is to use the latest Zadig installer:
35
36 http://zadig.akeo.ie
37
38 When using a composite USB device, it's often necessary to assign
39 WinUSB.sys to the composite parent instead of the specific
40 interface. To do that one needs to activate an advanced option in the
41 Zadig installer.
42
43 For the old drivers that use libusb-0.1 API you might need to link
44 against libusb-win32 headers and install the corresponding driver with
45 Zadig.
46
47 If you need to use the same adapter with other applications that may
48 require another driver, a solution for Windows Vista and above is to
49 activate the IgnoreHWSerNum registry setting for the USB device.
50
51 That setting forces Windows to associate the driver per port instead of
52 per serial number, the same behaviour as when the device does not contain
53 a serial number. So different drivers can be installed for the adapter on
54 different ports and you just need to plug the adapter into the correct
55 port depending on which application to use.
56
57 For more information, see:
58
59 http://msdn.microsoft.com/en-us/library/windows/hardware/jj649944(v=vs.85).aspx
60 http://www.ftdichip.com/Support/Knowledgebase/index.html?ignorehardwareserialnumber.htm

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)