Re: Getting to blinky with an ESP32 board

Michael Rosen

Did you complete “Step 3: Set up the Tools” on the esp-idf getting started page? If so, you should have run the install script and installed the ESP tools on your system. Depending on where you installed them, there should be a directory at either $HOME/.espressif (or %USERPROFILE%\.espressif on windows) or somewhere else if you installed them elsewhere. Once you find them, you need to set that environment variables for using that espressif toolchain:



export ESPRESSIF_TOOLCHAIN_PATH=<<DIRECTORY YOU FOUND EARLIER>>/tools/xtensa-esp32-elf/esp-2020r2-8.2.0/xtensa-esp32-elf/


For flashing, you’ll also need a version of which you can get from cloning the ESP IDF then setting the path to it for Zephyr to find:




From: users@... <users@...> On Behalf Of don.haig@...
Sent: Wednesday, July 29, 2020 3:22 PM
To: users@...
Subject: [Zephyr-users] Getting to blinky with an ESP32 board


I am trying out Zephyr following the "Getting Started" guide:

I've installed the toolchain and I am trying to get the blinky example running on an ESP32 board. I've installed the latest stable ESP toolchain according to the instructions here:

To set up the build environment, I apparently need to set the following environment variable:

export ESPRESSIF_TOOLCHAIN_PATH="/path/to/xtensa-esp32-elf/"

Unfortunately, there is no "xtensa-esp32-elf/" directory that I can find.

When I try to build the example, I get the following error:
  not found - Please check your toolchain installation

It is probably something simple, but I'm stumped. Can someone point me in the right direction?

Join to automatically receive all group messages.