2018-04-18 12:22:48 +00:00
***** ***** ***** ***** ***** *
Set up OpenOCD for Windows
***** ***** ***** ***** ***** *
2019-01-29 09:22:29 +00:00
:link_to_translation:`zh_CN:[中文]`
2017-06-11 19:12:30 +00:00
2018-10-01 06:21:30 +00:00
IDF Tools Installer
===================
2019-06-25 01:26:53 +00:00
If you are using CMake build system and followed the :doc: `/get-started/windows-setup` with the `` ESP-IDF Tools Installer `` V1.2 or newer, then by default you will already have `` openocd `` installed.
2018-10-01 06:21:30 +00:00
2019-01-29 09:22:29 +00:00
`` ESP-IDF Tools Installer `` adds `` openocd `` to the `` PATH `` so that it can be run from any directory.
2017-06-11 19:12:30 +00:00
2018-04-18 12:22:48 +00:00
Set up OpenOCD
==============
2017-06-11 19:12:30 +00:00
2018-05-03 04:22:35 +00:00
OpenOCD for Windows is available for download from Github:
2017-06-11 19:12:30 +00:00
2018-04-18 12:22:48 +00:00
https://github.com/espressif/openocd-esp32/releases
2017-06-11 19:12:30 +00:00
2018-04-18 12:22:48 +00:00
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
2018-05-03 04:22:35 +00:00
unzip /c/Users/<user>/Downloads/openocd-esp32-win32-<version>.zip
2017-06-11 19:12:30 +00:00
Next Steps
==========
To carry on with debugging environment setup, proceed to section :ref: `jtag-debugging-configuring-esp32-target` .
Related Documents
=================
.. toctree ::
:maxdepth: 1
building-openocd-windows