mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00

Rename all the files which will be edited substantially in the next commit, without changing their contents Docs will not build for this ocmmit. This is done so that git doesn't decide we renamed xxx-cmake -> xxx-legacy in the next commit, which is what it will infer otherwise (and makes rebasing more of a pain than it should be)
32 lines
1.4 KiB
ReStructuredText
32 lines
1.4 KiB
ReStructuredText
*********************************
|
|
Updating ESP-IDF tools on Windows
|
|
*********************************
|
|
|
|
.. _get-started-cmake-install_bat-windows:
|
|
|
|
Install ESP-IDF tools using ``install.bat``
|
|
===========================================
|
|
|
|
From the Windows Command Prompt, change to the directory where ESP-IDF is installed. Then run::
|
|
|
|
install.bat
|
|
|
|
This will download and install the tools necessary to use ESP-IDF. If the specific version of the tool is already installed, no action will be taken.
|
|
The tools are downloaded and installed into a directory specified during ESP-IDF Tools Installer process. By default, this is ``C:\Users\username\.espressif``.
|
|
|
|
.. _get-started-cmake-export_bat-windows:
|
|
|
|
Add ESP-IDF tools to PATH using ``export.bat``
|
|
==============================================
|
|
|
|
ESP-IDF tools installer creates a Start menu shortcut for "ESP-IDF Command Prompt". This shortcut opens a Command Prompt window where all the tools are already available.
|
|
|
|
In some cases, you may want to work with ESP-IDF in a Command Prompt window which wasn't started using that shortcut. If this is the case, follow the instructions below to add ESP-IDF tools to PATH.
|
|
|
|
In the command prompt where you need to use ESP-IDF, change to the directory where ESP-IDF is installed, then execute ``export.bat``::
|
|
|
|
cd %userprofile%\esp\esp-idf
|
|
export.bat
|
|
|
|
When this is done, the tools will be available in this command prompt.
|