I was wondering if anyone can help me.
I'm trying to install ESP-ADF on VS Code.
I followed the instructions https://github.com/espressif/vscode-esp-idf-extension and installed the ESP-IDF which I can choose examples, build and flash a ESP32-Lyrat Dev Board.
When I install ESP-ADF through VS to the directory C:\Users\%user_name%\.espressif\esp-adf I can choose an example project which then cannot build.
I've looked online at other people's problems and tried everything from adding system variables to setting the PATH and adding the .vscode folder with c_cpp_properties.json file.
I've had a few different problems but the most common one I get is Failed to resolve component 'audio_sal'.
Any help in getting it working would be much appreciated.
Installing ADF on VS
Re: Installing ADF on VS
I solved this for anyone who has the same problem on Visual Studio Code.
To solve:
(1) Press F1 and select Preferences: Open Settings (JSON)
(2) Copy the idf.espAdfPathWin and paste a line below and delete the Win part of the word. So have both a idf.espAdfPathWin and a idf.espAdfPath
After this I was able to select both idf and adf examples through F1 and was able to build projects.
To solve:
(1) Press F1 and select Preferences: Open Settings (JSON)
(2) Copy the idf.espAdfPathWin and paste a line below and delete the Win part of the word. So have both a idf.espAdfPathWin and a idf.espAdfPath
After this I was able to select both idf and adf examples through F1 and was able to build projects.
-
- Posts: 2
- Joined: Tue Nov 30, 2021 3:32 am
Re: Installing ADF on VS
ADF_PATH was wrong.
Who is online
Users browsing this forum: No registered users and 25 guests