myjtag
جولای 22, 2024, 11:01ق.ظ
1
سلام
طبق داکیومنت اکستنش ESP-IDF واسه VScode از لینک
# Installation
> **NOTE:** [Troubleshooting](../../README.md#Troubleshooting)
1. If you are on Mac or Linux, install the following [ESP-IDF Prerequisites](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-macos-setup.html#step-1-install-prerequisites). If you are using Windows, ignore this step.
2. Download and install [Visual Studio Code](https://code.visualstudio.com/).
3. Open the **Extensions** view by clicking on the Extension icon in the Activity Bar on the side of Visual Studio Code or the **View: Extensions** command (shortcut: <kbd>⇧</kbd> <kbd>⌘</kbd> <kbd>X</kbd> or <kbd>Ctrl+Shift+X</kbd>.
4. Search for [ESP-IDF Extension](https://marketplace.visualstudio.com/items?itemName=espressif.esp-idf-extension).
5. Install the extension.
6. (OPTIONAL) Press <kbd>F1</kbd> and type **ESP-IDF: Select where to Save Configuration Settings**, which can be User Settings, Workspace Settings or Workspace Folder Settings. Please take a look at [Working with multiple projects](../MULTI_PROJECTS.md) for more information. Default is User settings.
7. In Visual Studio Code, select menu "View" and "Command Palette" and type [configure esp-idf extension]. After, choose the **ESP-IDF: Configure ESP-IDF Extension** option. You can also choose where to save settings in the setup wizard.
8. Now the setup wizard window will be shown with several setup options: **Express**, **Advanced** or **Use Existing Setup**.
> **NOTE**: **Use Existing Setup** setup mode option is only shown if:
>
> - `esp-idf.json` is found in the current `idf.toolsPath` (MacOS/Linux users) or `idf.toolsPathWin` (Windows users). This file is generated when you install ESP-IDF with the [ESP-IDF Windows Installer](https://github.com/espressif/idf-installer) or using [IDF-ENV](https://github.com/espressif/idf-env).
> - ESP-IDF is found in `idf.espIdfPath` or `idf.espIdfPathWin`, `IDF_PATH` environment variable, `$HOME/esp/esp-idf` on MacOS/Linux and `%USERPROFILE%\esp\esp-idf` or `%USERPROFILE%\Desktop\esp-idf` in Windows.
> - ESP-IDF Tools and ESP-IDF Python virtual environment for the previous ESP-IDF are found in `idf.toolsPath` or`idf.toolsPathWin`, `IDF_TOOLS_PATH` environment variable, `$HOME\.espressif` on MacOS/Linux and `%USERPROFILE%\.espressif` on Windows.
<p>
This file has been truncated. show original
رفتم جلو و همه چیو تونستن نصب کنم. بعدش اومدم با استفاده از اموزش Basic use اولین مثال ساده چشمک زن رو اجرا کنم. پروژه رو ایجاد میکنه، اما کامند های ESP-IDF: Set Espressif Device Target و یا ESP-IDF: SDK Configuration Editor رو اجرا نمیکنه و این پیغام Eroor رو میده
Downloading from https://dl.espressif.com/dl/esp-idf/idf_versions.txt
idf_versions.txt has (1) KB
idf_versions.txt progress: 100.00% (0.10 / 0.10) KB
[SDK Configuration Editor]
---------------------------ERROR--------------------------
Error: spawn C:\Users\Ali.espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
-----------------------END OF ERROR-----------------------
مشکل چیه؟ از شکن، و 403.online هم استفاده کردم، بازم نمیشه، میشه دوستنی که تجربه دارن بگن که مشکل رو چه جور حل میشه کرد