Point to the latest release on Github, which can now be produced by CI.
Ref. https://github.com/espressif/openocd-esp32/issues/30
Ref. https://github.com/espressif/openocd-esp32/issues/18
-***********************
-Setup OpenOCD for Linux
-***********************
+************************
+Set up OpenOCD for Linux
+************************
-Setup OpenOCD
-=============
+Set up OpenOCD
+==============
-OpenOCD for 64-bit Linux is available for download from Espressif website:
+OpenOCD for 64-bit Linux is available for download from Github:
-https://dl.espressif.com/dl/openocd-esp32-linux64-a859564.tar.gz
+https://github.com/espressif/openocd-esp32/releases
-Download this file, then extract it in ``~/esp/`` directory::
+Download latest release archive with `linux64` in its name, for example `openocd-esp32-linux64-0.10.0-esp32-20180418.tar.gz`.
+
+Extract the downloaded file in ``~/esp/`` directory::
cd ~/esp
- tar -xzf ~/Downloads/openocd-esp32-linux64-a859564.tar.gz
+ tar -xzf ~/Downloads/openocd-esp32-linux64-<version>.tar.gz
Next Steps
-***********************
-Setup OpenOCD for MacOS
-***********************
+************************
+Set up OpenOCD for MacOS
+************************
-Setup OpenOCD
-=============
+Install libusb
+==============
-OpenOCD for MacOS is available for download from Espressif website:
+Use `Homebrew <https://brew.sh/>`_ or `Macports <https://www.macports.org/>`_ to install `libusb` package.
-https://dl.espressif.com/dl/openocd-esp32-macos-a859564.tar.gz
+Set up OpenOCD
+==============
-Download this file, then extract it in ``~/esp`` directory::
+OpenOCD for MacOS is available for download from Github:
+
+https://github.com/espressif/openocd-esp32/releases
+
+Download latest release archive with `macos` in its name, for example `openocd-esp32-macos-0.10.0-esp32-20180418.tar.gz`.
+
+Extract the downloaded file in ``~/esp/`` directory::
cd ~/esp
- tar -xzf ~/Downloads/openocd-esp32-macos-a859564.tar.gz
+ tar -xzf ~/Downloads/openocd-esp32-macos-<version>.tar.gz
Next Steps
-*************************
-Setup OpenOCD for Windows
-*************************
+**************************
+Set up OpenOCD for Windows
+**************************
-Setup OpenOCD
-=============
+Set up OpenOCD
+==============
-OpenOCD for Windows / MSYS2 is available for download from Espressif website:
-https://dl.espressif.com/dl/openocd-esp32-win32-a859564.zip
+OpenOCD for Windows / MSYS2 is available for download from Github:
-Download this file and extract ``openocd-esp32`` folder inside to ``~/esp/`` directory.
+https://github.com/espressif/openocd-esp32/releases
+Download latest release archive with `win32` in its name, for example `openocd-esp32-macos-0.10.0-win32-20180418.zip`.
+
+Extract the downloaded file in ``~/esp/`` directory.
+
+ cd ~/esp
+ unzip /c/Users/<user>/Downloads/openocd-esp32-win32-<version>.zip
Next Steps
==========