VS code with ESP-IDF code compilation issue.

iot-sel24
Posts: 1
Joined: Thu Oct 17, 2024 5:21 am

VS code with ESP-IDF code compilation issue.

Postby iot-sel24 » Thu Oct 17, 2024 5:47 am

We are using VS code(version: 1.94.4) with ESP-IDF(version:5.31) and are trying to build an existing LED blinking sample project which gives an error "no internet connection". The present work environment does not have an internet connection on a PC where the code is getting compiled. We would like to know how to use VS code with ESP-IDF offline.

nopnop2002
Posts: 111
Joined: Thu Oct 03, 2019 10:52 pm
Contact:

Re: VS code with ESP-IDF code compilation issue.

Postby nopnop2002 » Fri Oct 18, 2024 5:34 am

Projects that use idf_component.yml always require a network connection.

Code: Select all

$ ls main
CMakeLists.txt  Kconfig.projbuild  blink_example_main.c  idf_component.yml


Projects that do not use idf_component.yml can be built offline.

Code: Select all

$ ls main
CMakeLists.txt  hello_world_main.c

Who is online

Users browsing this forum: No registered users and 327 guests