Espressif IDE don't work in VSCode
Posted: Sun Jan 17, 2021 10:46 am
Hello,
I watched the video. But I've many problems with the installation.
The first diffenrence to my trys is, that in the video has an chart "IDF Onboarding". That I can't find. ""Extension ESP-IDF only". I don't know if that has any meaning.
I did play trought the installation nevertheless.
When I build the "hello_world" the VSC hangs up with
Can anyone help with a tip?
I watched the video. But I've many problems with the installation.
The first diffenrence to my trys is, that in the video has an chart "IDF Onboarding". That I can't find. ""Extension ESP-IDF only". I don't know if that has any meaning.
I did play trought the installation nevertheless.
When I build the "hello_world" the VSC hangs up with
Code: Select all
ESP-IDF Custom Terminal
$ cmake
********"******************************o-idf\partition_table && C:\ESP32\.espressif\tools\cmake\3.13.4\bin\cmake.exe -E echo "Partition table binary generated. Contents:" && C:\ESP32\.espressif
Partition table binary generated. Contents:
*******************************************************************************
# Espressif ESP32 Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,
*******************************************************************************
onfigure step for 'bootloader'
FAILED: bootloader-prefix/src/bootloader-stamp/bootloader-configure
cmd.exe /C "cd /D C:\Daten\ESP_VSC\hello_world\build\bootloader && C:\ESP32\.espressif\tools\cmake\3.13.4\bin\cmake.exe -DSDKCONFIG=C:/Daten/ESP_VSC/hello_world/sdkconfig -DIDF_PATH=C:/ESP32/esp-idf-v4.1-rc -DIDF_TARGET=esp32 -DPYTHON_DEPS_CHECKED=1 -DPYTHON=C:\ESP32\.espressif\python_env\idf4.1_py3.8_env\Scripts\python.exe -DEXTRA_COMPONENT_DIRS=C:/ESP32/esp-idf-v4.1-rc/components/bootloader -DLEGACY_INCLUDE_COMMON_HEADERS= -GNinja C:/ESP32/esp-idf-v4.1-rc/components/bootloader/subproject && C:\ESP32\.espressif\tools\cmake\3.13.4\bin\cmake.exe -E touch C:/Daten/ESP_VSC/hello_world/build/bootloader-prefix/src/bootloader-stamp/bootloader-configure"
CMake Error: The source "C:/ESP32/esp-idf-v4.1-rc/components/bootloader/subproject/CMakeLists.txt" does not match the source "C:/Users/User/esp/esp-idf/components/bootloader/subproject/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
ect esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/err.c.obj
ject esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/def.c.obj
[5/676] Building C object esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/netifapi.c.obj
[6/676] Building C object esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/mem.c.obj
bject esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/ip.c.obj
_idf_lwip.dir/lwip/src/core/inet_chksum.c.objiles/_
.objp/src/apps/netbiosns/netbiosns.c/__idf_lwip.dir
[10/676] Building C object esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/netdb.c.obj
[11/676] Building C object esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/tcpip.c.obj
ct esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/apps/sntp/sntp.c.obj
object esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/init.c.obj
/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/core/dns.c.obj
t esp-idf/lwip/CMakeFiles/__idf_lwip.dir/lwip/src/api/sockets.c.obj
d stopped: subcommand failed.
$
Can anyone help with a tip?