Installing ADF on VS

MP@L&T
Posts: 4
Joined: Wed Feb 17, 2021 11:34 am

Installing ADF on VS

Postby MP@L&T » Wed Feb 17, 2021 12:22 pm

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.

MP@L&T
Posts: 4
Joined: Wed Feb 17, 2021 11:34 am

Re: Installing ADF on VS

Postby MP@L&T » Tue Feb 23, 2021 9:45 am

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.

Who is online

Users browsing this forum: No registered users and 3 guests