New VSC Updates Stops Project build

Amir_El
Posts: 17
Joined: Thu Nov 19, 2020 3:55 pm

New VSC Updates Stops Project build

Postby Amir_El » Sun Mar 14, 2021 7:47 am

The automatic update just updated my VSC to 1.54.2 & ESP-IDF 4.1.1. The Building process stopped working immediately after the update. (The build process never change from the photo below)

Image

I still can do the build from the command line but not from VSC anymore

Image

I hope I can find a solution other than reinstalling the whole thing.

Amir_El
Posts: 17
Joined: Thu Nov 19, 2020 3:55 pm

Re: New VSC Updates Stops Project build

Postby Amir_El » Sun Mar 14, 2021 9:08 am

I noticed also that my C/C++ Compiler has been changed !!

How I can change the compiler back to the old clang-x64 ?

Image

ESP_bignacio
Posts: 229
Joined: Wed May 02, 2018 12:12 pm

Re: New VSC Updates Stops Project build

Postby ESP_bignacio » Tue Mar 16, 2021 8:30 am

Can you check your project's settings.json values? If your project settings.json have idf.espIdfPath, for example, this will override any global settings in Visual Studio Code.

Can you share a bit about your setup and any errors ?

You can use the `ESP-IDF: Doctor command` to generate a report of your configuration.

**Logs**
If applicable, please share the log file which can be obtained from

- Windows: `%USERPROFILE%\.vscode\extensions\espressif.esp-idf-extension-VERSION\esp_idf_vsc_ext.log`
- Linux & MacOSX: `$HOME/.vscode/extensions/espressif.esp-idf-extension-VERSION/esp_idf_vsc_ext.log`

orbitcoms
Posts: 149
Joined: Fri Aug 03, 2018 10:08 pm
Location: Sydney, Australia

Re: New VSC Updates Stops Project build

Postby orbitcoms » Tue Mar 16, 2021 9:23 pm

I am a newbie to vscode and ESP32 but maybe my experience with the extension recently and feedback from Espressif might help?

My projects stopped building in the IDE after installing the extension.

I found when I deleted vscode and re-compiled (using the cylinder shape compile icon at bottom of screen), my project builds.

But the intelli-sense did not work.

So next I created a new esp-idf project using the command palette in vsc and copied the contents of the c_cpp_properties.json from the new project into my original project. Now it compiles and intelli-sense works fine (with exception of pdMS_TO_TICKS).

Who is online

Users browsing this forum: No registered users and 15 guests