Page 1 of 1

VS code with ESP-IDF code compilation issue.

Posted: Thu Oct 17, 2024 5:47 am
by iot-sel24
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.

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

Posted: Fri Oct 18, 2024 5:34 am
by nopnop2002
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