aboutsummaryrefslogtreecommitdiff
path: root/README.Windows
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2013-09-11 23:05:16 +0200
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2013-09-13 21:34:14 +0000
commit10df176b0fb932d61f0dc5d6bfd0a0942501fc40 (patch)
tree9f28a80692af7baa0d9e640bbbbd1deae2ca1f29 /README.Windows
parent5871dd1bd0f409ac4d6c4ac3dacf312731a7a0a3 (diff)
downloadriscv-openocd-10df176b0fb932d61f0dc5d6bfd0a0942501fc40.zip
riscv-openocd-10df176b0fb932d61f0dc5d6bfd0a0942501fc40.tar.gz
riscv-openocd-10df176b0fb932d61f0dc5d6bfd0a0942501fc40.tar.bz2
README* refactoring
This is an attempt to bring the README files in line with the current status of the OpenOCD development. - remove some obsolete information and duplicated instructions - reword some statements - restructure in a way more appealing to a regular user - add a supported hardware list to allow a potential user to determine if his/her usecase is covered by a freetext keyword search through the document - Add OSX notes (courtesy GrizzlyAdams and inca) Since most ftdi-based adapters are now covered by the ftdi driver, I think it's ok to remove some of the libftdi/ftd2xx instructions, the few users who still need them should refer to upstream docs instead. I'm not sure if README.Windows should come with the DOS line endings, but i'd expect many windows users to use their silly notepad to view it, and notepad ignores LF apparently. (Decided to use LF anyway.) I understand discussing and reviewing such a massive README change is a somewhat demanding task but I feel it's a necessity to move forward maintaining proper documentation. Change-Id: Idfde3014c72dd5c32ad292ee1ab205322e51a138 Signed-off-by: Paul Fertser <fercerpav@gmail.com> Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on: http://openocd.zylin.com/1503 Tested-by: jenkins Reviewed-by: Xiaofan <xiaofanc@gmail.com>
Diffstat (limited to 'README.Windows')
-rw-r--r--README.Windows20
1 files changed, 20 insertions, 0 deletions
diff --git a/README.Windows b/README.Windows
new file mode 100644
index 0000000..1e9c496
--- /dev/null
+++ b/README.Windows
@@ -0,0 +1,20 @@
+Building OpenOCD for Windows
+----------------------------
+
+You can build OpenOCD for Windows natively with either MinGW/MSYS or
+Cygwin. Alternatively, one can cross-compile it using MinGW on a *nix
+host. See README for the generic instructions.
+
+USB adapters
+------------
+
+You usually need to have WinUSB.sys (or libusbK.sys) driver installed
+for a USB-based adapter. Some vendor software (e.g. for ST-LINKv2)
+does it on its own. For the other cases the easiest way to assign
+WinUSB to a device is to use the Zadig installer:
+
+ http://sourceforge.net/projects/libwdi/files/zadig/
+
+For the old drivers that use libusb-0.1 API you might need to link
+against libusb-win32 headers and install the corresponding driver with
+Zadig.