2. 切换不同版本IDF
- 方法1:用ESP-IDF Tools Installers安装不同版本的IDF的快捷方式。
- 方法2:运行CMD.exe,进入不同IDF路径,运行目录下的export.bat。
- 链接:https://docs.espressif.com/projects/esp-idf/en/release-v4.4/esp32/get-started/windows-setup.html
Create a copy of the shortcut created by the ESP-IDF Tools Installer, and change the working directory of the new shortcut to the ESP-IDF directory you wish to use.
Alternatively, run cmd.exe, then change to the ESP-IDF directory you wish to use, and run export.bat. Note that unlike the previous option, this way requires Python and Git to be present in PATH. If you get errors related to Python or Git not being found, use the first option.
1. 最简单地配置环境
- 下载官方安装工具:ESP-IDF Tools Installers
- 打开桌面快捷方式PowerShell或者CMD。
- 链接:https://docs.espressif.com/projects/esp-idf/en/release-v4.4/esp32/get-started/windows-setup.html



