![]() Sudo apt-get install make libtool pkg-config autoconf automake texinfo Here too, just restating the instructions from : Then for the openocd-32 make sure you do not have a regular distro version of openocd installed, if you do: Sudo apt-get install libusb-1.0 # otherwise No package 'libusb-1.0' found Sudo apt-get install pkg-config # needed to solve error: configure.ac:12: error: possibly undefined macro: AC_MSG_WARN Sudo apt-get install automake # needed for aclocal If installing on WSL (Ubuntu on Windows), I needed to also install: # get the esp-idf from github, don't forget the -recursive !!Įxport PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin # put the download into the ~/esp/xtensa-esp32-elf/ directory # download the toolchain, in this case the 64-bit linux version 1.22.0-61-gab8375a-5.2.0 Sudo apt-get install git wget make libncurses-dev flex bison gperf python python-serial Nothing new here not presented in espressif instructions so in brief. Once the toolchain is installed, there's also a special version of OpenOCD here: I started with the esp-idf instructions with release 2.1 from. Although I'd like to do this fully in Windows, I start with an Ubuntu VM and use PuTTY SSH and Telnet Client to connect. In order to get VSCode debugging the ESP32, it is probably a good idea to first get regular gdb debugging working. I've also added a step 3 using ESP WIP OpenOCD. ![]() ![]() If you already have the toolchain installed and want to simply debug, see step 2!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |