esp:esp32:esp-idf:installation
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| esp:esp32:esp-idf:installation [2020/04/13 12:55] – oscar | esp:esp32:esp-idf:installation [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Installation ====== | ||
| - | ===== Get ESP-IDF ===== | ||
| - | To build applications for the ESP32, you need the ESP-IDF software libraries provided by Espressif. Consult [[https:// | ||
| - | |||
| - | cd ~/ | ||
| - | | ||
| - | //This will clone the Master Branch// | ||
| - | git clone --recursive https:// | ||
| - | | ||
| - | T//his will clone a stable release. Assuming that 4.0 is the latest stable release// | ||
| - | git clone -b v4.0 --recursive https:// | ||
| - | | ||
| - | ESP-IDF will be downloaded into ~/ | ||
| - | |||
| - | ===== Set up the tools ===== | ||
| - | Aside from the ESP-IDF, you also need to install the tools used by ESP-IDF, such as the compiler, debugger, Python packages, etc. | ||
| - | The scripts below installs the compilation tools required by ESP-IDF inside the user home directory: __**$HOME/ | ||
| - | If changing the IDF_TOOLS_PATH, | ||
| - | |||
| - | cd ~/ | ||
| - | ./ | ||
| - | |||
| - | ===== Set up the environment variables ===== | ||
| - | The installed tools are not yet added to the PATH environment variable. To make the tools usable from the command line, some environment variables must be set. ESP-IDF provides another script which does that. | ||
| - | In the terminal where you are going to use ESP-IDF, run: | ||
| - | |||
| - | . $HOME/ | ||
| - | |||
| - | Note the space between the leading dot and the path! | ||
| - | |||
| - | You can also automate this step, making ESP-IDF tools available in every terminal, by adding this line to your .profile or .bash_profile script. | ||
esp/esp32/esp-idf/installation.1586782545.txt.gz · Last modified: (external edit)
