|
|||||||
Download Sources of OpenOCD
Время создания: 15.12.2023 19:17
Автор: alensav
Текстовые метки: Download Sources of OpenOCD
Раздел: ESP32
Запись: alensav/MyTetra2/main/base/1702657033l65a26789q/text.html на raw.githubusercontent.com
|
|||||||
|
|||||||
====================================================== » Building OpenOCD from Sources for Linux [中文] The following instructions are alternative to downloading binary OpenOCD from Espressif GitHub . To quickly setup the binary OpenOCD, instead of compiling it yourself, backup and proceed to section Setup of OpenOCD . Download Sources of OpenOCD The sources for the ESP32-enabled variant of OpenOCD are available from Espressif GitHub under https://github.com/espressif/openocd-esp32 . To download the sources, use the following commands: git clone --recursive https://github.com/espressif/openocd-esp32.git The clone of sources should be now saved in ~/esp/openocd-esp32 directory. Install Dependencies Install packages that are required to compile OpenOCD. Note Install the following packages one by one, check if installation was successful and then proceed to the next package. Resolve reported problems before moving to the next step. sudo apt-get install libtool sudo apt-get install pkg-config sudo apt-get install autoconf sudo apt-get install automake sudo apt-get install texinfo sudo apt-get install libusb-1.0 Note
Build OpenOCD Proceed with configuring and building OpenOCD: ./bootstrap ./configure make Optionally you can add sudo make install step at the end. Skip it, if you have an existing OpenOCD (from e.g., another development platform), as it may get overwritten. Note
Once make process is successfully completed, the executable of OpenOCD will be saved in ~/openocd-esp32/bin directory. Next Steps To carry on with debugging environment setup, proceed to section Configuring ESP32 Target . Provide feedback about this document Previous Next |
|||||||
Так же в этом разделе:
|
|||||||
|
|||||||
|