Espidf not building under windows 10

Hello,

I have been trying to get Espidf working under windows 10 and pio 6.1.11 by using the docs’ information at Get started with ESP-IDF and ESP32-DevKitC: debugging, unit testing, project analysis — PlatformIO latest documentation but I am not having much luck. When I create a new project using Espidf as the framework, I get Could not initialize project with this error message (full log here). Sorry, I can’t get anchors to work, both full logs mentioned in this post are at the bottom of the message.

Reading CMake configuration...

*** Multiple ways to build the same target were specified for: D:\\code\\pio\\espidftest\\.pio\\build\\esp32dev\\esp_efuse_fields.o (from ['D:\\\\code\\\\pio\\\\.platformio\\\\packages\\\\framework-espidf\\\\components\\\\efuse\\\\esp32\\\\esp_efuse_fields.c'] and from ['D:\\\\code\\\\pio\\\\.platformio\\\\packages\\\\framework-espidf\\\\components\\\\efuse\\\\src\\\\esp_efuse_fields.c'])
File \"D:\\code\\pio\\.platformio\\platforms\\espressif32\\builder\\frameworks\\espidf.py\", line 695, in compile_source_files

If I open the created project anyways, and inspect the CMakeList.txt in the root of the project, it contains

cmake_minimum_required(VERSION 3.16.0)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(espidftest)

and the CMakeList.txt in root/src/ contains

# This file was automatically generated for projects
# without default 'CMakeLists.txt' file.

FILE(GLOB_RECURSE app_sources ${CMAKE_SOURCE_DIR}/src/*.*)

idf_component_register(SRCS ${app_sources})

my platformio.ini contains

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = espidf

I have tried a verbose run which yielded additional errors via pio run -v (full log here)

fatal: not a git repository (or any of the parent directories): .git
Compiler supported targets: xtensa-esp32-elf

fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository: D:/code/pio/.platformio/packages/framework-espidf/components/openthread/openthread/../../../.git/modules/components/openthread/openthread


*** Multiple ways to build the same target were specified for: D:\code\pio\espidftest\.pio\build\esp32dev\esp_efuse_fields.o  (from ['D:\\code\\pio\\.platformio\\packages\\framework-espidf\\components\\efuse\\esp32\\esp_efuse_fields.c'] and from ['D:\\code\\pio\\.platformio\\packages\\framework-espidf\\components\\efuse\\src\\esp_efuse_fields.c'])
File "D:\code\pio\.platformio\platforms\espressif32\builder\frameworks\espidf.py", line 695, in compile_source_files

I have looked into D:/code/pio/.platformio/packages/framework-espidf/components/openthread/openthread/../../../ and there is indeed no .git forlder there.

I am unsure how to proceed from there, has anybody an idea?
Thank you!

install_error_log

PIO Core Call Error: "The following files/directories have been created in D:\\code\\pio\\espidftest
include - Put project header files here
lib - Put project specific (private) libraries here
src - Put project source files here
platformio.ini - Project Configuration File
Resolving esp32dev dependencies...
Platform Manager: Installing espressif32
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Platform Manager: espressif32@6.4.0 has been installed!
Tool Manager: Installing espressif/toolchain-xtensa-esp32 @ 12.2.0+20230208
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: toolchain-xtensa-esp32@12.2.0+20230208 has been installed!
Tool Manager: Installing platformio/toolchain-esp32ulp @ ~1.23500.0
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: toolchain-esp32ulp@1.23500.220830 has been installed!
Tool Manager: Installing espressif/tool-xtensa-esp-elf-gdb @ ~11.2.0
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: tool-xtensa-esp-elf-gdb@11.2.0+20230208 has been installed!
Tool Manager: Installing espressif/tool-riscv32-esp-elf-gdb @ ~11.2.0
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: tool-riscv32-esp-elf-gdb@11.2.0+20220823 has been installed!
Tool Manager: Installing platformio/framework-espidf @ ~3.50101.0
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: framework-espidf@3.50101.230828 has been installed!
Tool Manager: Installing platformio/tool-esptoolpy @ ~1.40501.0
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: tool-esptoolpy@1.40501.0 has been installed!
Tool Manager: Installing platformio/tool-cmake @ ~3.16.0
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: tool-cmake@3.16.4 has been installed!
Tool Manager: Installing platformio/tool-ninja @ ^1.7.0
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20%
Tool Manager: tool-ninja@1.9.0 has been installed!
Tool Manager: Installing platformio/tool-mconf @ ~1.4060000.0
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80%
Tool Manager: tool-mconf@1.4060000.20190628 has been installed!
Tool Manager: Installing platformio/tool-idf @ ~1.0.1
Downloading 0% 10% 20%
Unpacking 0% 10% 20%
Tool Manager: tool-idf@1.0.1 has been installed!
Tool Manager: Installing platformio/tool-scons @ ~4.40502.0
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: tool-scons@4.40502.0 has been installed!
Updating metadata for the vscode IDE...


UserSideException: Processing esp32dev (platform: espressif32; board: esp32dev; framework: espidf)
--------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (6.4.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: 
 - framework-espidf @ 3.50101.230828 (5.1.1) 
 - tool-cmake @ 3.16.4 
 - tool-esptoolpy @ 1.40501.0 (4.5.1) 
 - tool-idf @ 1.0.1 
 - tool-mconf @ 1.4060000.20190628 (406.0.0) 
 - tool-ninja @ 1.9.0 
 - tool-riscv32-esp-elf-gdb @ 11.2.0+20220823 
 - tool-xtensa-esp-elf-gdb @ 11.2.0+20230208 
 - toolchain-esp32ulp @ 1.23500.220830 (2.35.0) 
 - toolchain-xtensa-esp32 @ 12.2.0+20230208
Creating a new virtual environment for IDF Python dependencies
Installing ESP-IDF's Python dependencies
Collecting urllib3<2
 Using cached urllib3-1.26.18-py2.py3-none-any.whl (143 kB)
Collecting cryptography~=41.0.1
 Using cached cryptography-41.0.7-cp37-abi3-win_amd64.whl (2.7 MB)
Collecting future>=0.18.3
 Using cached future-0.18.3-py3-none-any.whl
Collecting pyparsing~=3.0.9
 Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
Collecting kconfiglib~=14.1.0
 Using cached kconfiglib-14.1.0-py2.py3-none-any.whl (145 kB)
Collecting idf-component-manager~=1.2.3
 Using cached idf_component_manager-1.2.3-py3-none-any.whl (116 kB)
Collecting esp-idf-kconfig~=1.2.0
 Using cached esp_idf_kconfig-1.2.0-py3-none-any.whl (22 kB)
Collecting cffi>=1.12 (from cryptography~=41.0.1)
 Using cached cffi-1.16.0-cp311-cp311-win_amd64.whl (181 kB)
Collecting packaging (from idf-component-manager~=1.2.3)
 Using cached packaging-23.2-py3-none-any.whl (53 kB)
Collecting requests<3 (from idf-component-manager~=1.2.3)
 Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Collecting requests-file (from idf-component-manager~=1.2.3)
 Using cached requests_file-1.5.1-py2.py3-none-any.whl (3.7 kB)
Collecting requests-toolbelt (from idf-component-manager~=1.2.3)
 Using cached requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
Collecting schema (from idf-component-manager~=1.2.3)
 Using cached schema-0.7.5-py2.py3-none-any.whl (17 kB)
Collecting six (from idf-component-manager~=1.2.3)
 Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting tqdm<5 (from idf-component-manager~=1.2.3)
 Using cached tqdm-4.66.1-py3-none-any.whl (78 kB)
Collecting colorama (from idf-component-manager~=1.2.3)
 Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting pyyaml>5.2 (from idf-component-manager~=1.2.3)
 Using cached PyYAML-6.0.1-cp311-cp311-win_amd64.whl (144 kB)
Collecting cachecontrol[filecache]>0.12.6 (from idf-component-manager~=1.2.3)
 Using cached cachecontrol-0.13.1-py3-none-any.whl (22 kB)
Collecting contextlib2>0.6.0 (from idf-component-manager~=1.2.3)
 Using cached contextlib2-21.6.0-py2.py3-none-any.whl (13 kB)
Collecting click (from idf-component-manager~=1.2.3)
 Using cached click-8.1.7-py3-none-any.whl (97 kB)
Collecting msgpack>=0.5.2 (from cachecontrol[filecache]>0.12.6->idf-component-manager~=1.2.3)
 Using cached msgpack-1.0.7-cp311-cp311-win_amd64.whl (222 kB)
Collecting filelock>=3.8.0 (from cachecontrol[filecache]>0.12.6->idf-component-manager~=1.2.3)
 Using cached filelock-3.13.1-py3-none-any.whl (11 kB)
Collecting pycparser (from cffi>=1.12->cryptography~=41.0.1)
 Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting charset-normalizer<4,>=2 (from requests<3->idf-component-manager~=1.2.3)
 Using cached charset_normalizer-3.3.2-cp311-cp311-win_amd64.whl (99 kB)
Collecting idna<4,>=2.5 (from requests<3->idf-component-manager~=1.2.3)
 Using cached idna-3.6-py3-none-any.whl (61 kB)
Collecting certifi>=2017.4.17 (from requests<3->idf-component-manager~=1.2.3)
 Using cached certifi-2023.11.17-py3-none-any.whl (162 kB)
Installing collected packages: urllib3, six, pyyaml, pyparsing, pycparser, packaging, msgpack, kconfiglib, idna, future, filelock, contextlib2, colorama, charset-normalizer, certifi, tqdm, schema, requests, esp-idf-kconfig, click, cffi, requests-toolbelt, requests-file, cryptography, cachecontrol, idf-component-manager
Successfully installed cachecontrol-0.13.1 certifi-2023.11.17 cffi-1.16.0 charset-normalizer-3.3.2 click-8.1.7 colorama-0.4.6 contextlib2-21.6.0 cryptography-41.0.7 esp-idf-kconfig-1.2.0 filelock-3.13.1 future-0.18.3 idf-component-manager-1.2.3 idna-3.6 kconfiglib-14.1.0 msgpack-1.0.7 packaging-23.2 pycparser-2.21 pyparsing-3.0.9 pyyaml-6.0.1 requests-2.31.0 requests-file-1.5.1 requests-toolbelt-1.0.0 schema-0.7.5 six-1.16.0 tqdm-4.66.1 urllib3-1.26.18

[notice] A new release of pip is available: 23.1.2 -> 23.3.1
[notice] To update, run: d:\\code\\pio\\.platformio\\penv\\.espidf-5.1.1\\Scripts\\python.exe -m pip install --upgrade pip
Installing windows-curses package
Collecting windows-curses
 Using cached windows_curses-2.3.2-cp311-cp311-win_amd64.whl (80 kB)
Installing collected packages: windows-curses
Successfully installed windows-curses-2.3.2

[notice] A new release of pip is available: 23.1.2 -> 23.3.1
[notice] To update, run: d:\\code\\pio\\.platformio\\penv\\.espidf-5.1.1\\Scripts\\python.exe -m pip install --upgrade pip
Reading CMake configuration...

*** Multiple ways to build the same target were specified for: D:\\code\\pio\\espidftest\\.pio\\build\\esp32dev\\esp_efuse_fields.o (from ['D:\\\\code\\\\pio\\\\.platformio\\\\packages\\\\framework-espidf\\\\components\\\\efuse\\\\esp32\\\\esp_efuse_fields.c'] and from ['D:\\\\code\\\\pio\\\\.platformio\\\\packages\\\\framework-espidf\\\\components\\\\efuse\\\\src\\\\esp_efuse_fields.c'])
File \"D:\\code\\pio\\.platformio\\platforms\\espressif32\\builder\\frameworks\\espidf.py\", line 695, in compile_source_files
========================= [FAILED] Took 49.15 seconds ========================="

build_error_log

Processing esp32dev (platform: espressif32; board: esp32dev; framework: espidf)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (6.4.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
 - framework-espidf @ 3.50101.230828 (5.1.1)
 - tool-cmake @ 3.16.4
 - tool-esptoolpy @ 1.40501.0 (4.5.1)
 - tool-idf @ 1.0.1
 - tool-mconf @ 1.4060000.20190628 (406.0.0)
 - tool-ninja @ 1.9.0
 - tool-riscv32-esp-elf-gdb @ 11.2.0+20220823
 - tool-xtensa-esp-elf-gdb @ 11.2.0+20230208
 - toolchain-esp32ulp @ 1.23500.220830 (2.35.0)
 - toolchain-xtensa-esp32 @ 12.2.0+20230208
Reading CMake configuration...
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- Could not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
-- Project sdkconfig file D:/code/pio/espidftest/sdkconfig.esp32dev
-- App "espidftest" version: 1
-- Adding linker script D:/code/pio/espidftest/.pio/build/esp32dev/esp-idf/esp_system/ld/memory.ld
-- Adding linker script D:/code/pio/.platformio/packages/framework-espidf/components/esp_system/ld/esp32/sections.ld.in       
-- Adding linker script D:/code/pio/.platformio/packages/framework-espidf/components/esp_rom/esp32/ld/esp32.rom.ld
-- Adding linker script D:/code/pio/.platformio/packages/framework-espidf/components/esp_rom/esp32/ld/esp32.rom.api.ld        
-- Adding linker script D:/code/pio/.platformio/packages/framework-espidf/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld     
-- Adding linker script D:/code/pio/.platformio/packages/framework-espidf/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld
-- Adding linker script D:/code/pio/.platformio/packages/framework-espidf/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld
-- Adding linker script D:/code/pio/.platformio/packages/framework-espidf/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld
-- Adding linker script D:/code/pio/.platformio/packages/framework-espidf/components/soc/esp32/ld/esp32.peripherals.ld
-- Components: __pio_env app_trace app_update bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_coex esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_local_ctrl esp_mm esp_netif esp_netif_stack esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_wifi espcoredump esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip mbedtls mqtt newlib nvs_flash openthread partition_table perfmon protobuf-c protocomm pthread sdmmc soc spi_flash spiffs src tcp_transport ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: D:/code/pio/.platformio/packages/framework-espidf/components/__pio_env D:/code/pio/.platformio/packages/framework-espidf/components/app_trace D:/code/pio/.platformio/packages/framework-espidf/components/app_update D:/code/pio/.platformio/packages/framework-espidf/components/bootloader D:/code/pio/.platformio/packages/framework-espidf/components/bootloader_support D:/code/pio/.platformio/packages/framework-espidf/components/bt D:/code/pio/.platformio/packages/framework-espidf/components/cmock D:/code/pio/.platformio/packages/framework-espidf/components/console D:/code/pio/.platformio/packages/framework-espidf/components/cxx D:/code/pio/.platformio/packages/framework-espidf/components/driver D:/code/pio/.platformio/packages/framework-espidf/components/efuse D:/code/pio/.platformio/packages/framework-espidf/components/esp-tls D:/code/pio/.platformio/packages/framework-espidf/components/esp_adc D:/code/pio/.platformio/packages/framework-espidf/components/esp_app_format D:/code/pio/.platformio/packages/framework-espidf/components/esp_coex D:/code/pio/.platformio/packages/framework-espidf/components/esp_common D:/code/pio/.platformio/packages/framework-espidf/components/esp_eth D:/code/pio/.platformio/packages/framework-espidf/components/esp_event D:/code/pio/.platformio/packages/framework-espidf/components/esp_gdbstub D:/code/pio/.platformio/packages/framework-espidf/components/esp_hid D:/code/pio/.platformio/packages/framework-espidf/components/esp_http_client D:/code/pio/.platformio/packages/framework-espidf/components/esp_http_server D:/code/pio/.platformio/packages/framework-espidf/components/esp_https_ota D:/code/pio/.platformio/packages/framework-espidf/components/esp_https_server D:/code/pio/.platformio/packages/framework-espidf/components/esp_hw_support D:/code/pio/.platformio/packages/framework-espidf/components/esp_lcd D:/code/pio/.platformio/packages/framework-espidf/components/esp_local_ctrl D:/code/pio/.platformio/packages/framework-espidf/components/esp_mm D:/code/pio/.platformio/packages/framework-espidf/components/esp_netif D:/code/pio/.platformio/packages/framework-espidf/components/esp_netif_stack D:/code/pio/.platformio/packages/framework-espidf/components/esp_partition D:/code/pio/.platformio/packages/framework-espidf/components/esp_phy D:/code/pio/.platformio/packages/framework-espidf/components/esp_pm D:/code/pio/.platformio/packages/framework-espidf/components/esp_psram D:/code/pio/.platformio/packages/framework-espidf/components/esp_ringbuf D:/code/pio/.platformio/packages/framework-espidf/components/esp_rom D:/code/pio/.platformio/packages/framework-espidf/components/esp_system D:/code/pio/.platformio/packages/framework-espidf/components/esp_timer D:/code/pio/.platformio/packages/framework-espidf/components/esp_wifi D:/code/pio/.platformio/packages/framework-espidf/components/espcoredump D:/code/pio/.platformio/packages/framework-espidf/components/esptool_py D:/code/pio/.platformio/packages/framework-espidf/components/fatfs D:/code/pio/.platformio/packages/framework-espidf/components/freertos D:/code/pio/.platformio/packages/framework-espidf/components/hal D:/code/pio/.platformio/packages/framework-espidf/components/heap D:/code/pio/.platformio/packages/framework-espidf/components/http_parser D:/code/pio/.platformio/packages/framework-espidf/components/idf_test D:/code/pio/.platformio/packages/framework-espidf/components/ieee802154 D:/code/pio/.platformio/packages/framework-espidf/components/json D:/code/pio/.platformio/packages/framework-espidf/components/log D:/code/pio/.platformio/packages/framework-espidf/components/lwip D:/code/pio/.platformio/packages/framework-espidf/components/mbedtls D:/code/pio/.platformio/packages/framework-espidf/components/mqtt D:/code/pio/.platformio/packages/framework-espidf/components/newlib D:/code/pio/.platformio/packages/framework-espidf/components/nvs_flash D:/code/pio/.platformio/packages/framework-espidf/components/openthread D:/code/pio/.platformio/packages/framework-espidf/components/partition_table D:/code/pio/.platformio/packages/framework-espidf/components/perfmon D:/code/pio/.platformio/packages/framework-espidf/components/protobuf-c D:/code/pio/.platformio/packages/framework-espidf/components/protocomm D:/code/pio/.platformio/packages/framework-espidf/components/pthread D:/code/pio/.platformio/packages/framework-espidf/components/sdmmc D:/code/pio/.platformio/packages/framework-espidf/components/soc D:/code/pio/.platformio/packages/framework-espidf/components/spi_flash D:/code/pio/.platformio/packages/framework-espidf/components/spiffs D:/code/pio/espidftest/src D:/code/pio/.platformio/packages/framework-espidf/components/tcp_transport D:/code/pio/.platformio/packages/framework-espidf/components/ulp D:/code/pio/.platformio/packages/framework-espidf/components/unity D:/code/pio/.platformio/packages/framework-espidf/components/usb D:/code/pio/.platformio/packages/framework-espidf/components/vfs D:/code/pio/.platformio/packages/framework-espidf/components/wear_levelling D:/code/pio/.platformio/packages/framework-espidf/components/wifi_provisioning D:/code/pio/.platformio/packages/framework-espidf/components/wpa_supplicant D:/code/pio/.platformio/packages/framework-espidf/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: D:/code/pio/espidftest/.pio/build/esp32dev

fatal: not a git repository (or any of the parent directories): .git
Compiler supported targets: xtensa-esp32-elf

fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository: D:/code/pio/.platformio/packages/framework-espidf/components/openthread/openthread/../../../.git/modules/components/openthread/openthread


*** Multiple ways to build the same target were specified for: D:\code\pio\espidftest\.pio\build\esp32dev\esp_efuse_fields.o  (from ['D:\\code\\pio\\.platformio\\packages\\framework-espidf\\components\\efuse\\esp32\\esp_efuse_fields.c'] and from ['D:\\code\\pio\\.platformio\\packages\\framework-espidf\\components\\efuse\\src\\esp_efuse_fields.c'])
File "D:\code\pio\.platformio\platforms\espressif32\builder\frameworks\espidf.py", line 695, in compile_source_files
========================================================================================== [FAILED] Took 5.78 seconds ==========================================================================================

Okay, it was in fact a bug related to changing the platformio’s core dir location.

I have found these two posts and this issue related. I can work around that.

for now, I just wiped %USERPROFILE%/.platformio and created a symlink to where I want my files to be stored by using mklink /d

1 Like