***********************
Setup OpenOCD for MacOS
***********************


Setup OpenOCD
=============

OpenOCD for MacOS is available for download from Espressif website:

https://dl.espressif.com/dl/openocd-esp32-macos-a859564.tar.gz 

Download this file, then extract it in ``~/esp`` directory::

    cd ~/esp
    tar -xzf ~/Downloads/openocd-esp32-macos-a859564.tar.gz 


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-macos

