Hello, I’m a bit new with this world of c programming and I have stumble into a little problem I don’t understand how to solve.
I started a completly new project for esp32 with ESP-IDF in platformio. I write the command “pio run” to start a compilation and this appears:
"
PS C:\Repos\NAC-1\NAC-1> pio run
Processing esp32dev (platform: espressif32; board: esp32dev; framework: espidf)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: Redirecting...
PLATFORM: Espressif 32 (3.3.2) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (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.40300.0 (4.3.0)
-
tool-cmake 3.16.4
-
tool-esptoolpy 1.30100.210531 (3.1.0)
-
tool-idf 1.0.1
-
tool-mconf 1.4060000.20190628 (406.0.0)
-
tool-ninja 1.9.0
-
toolchain-esp32ulp 1.22851.191205 (2.28.51)
-
toolchain-xtensa32 2.80400.210211 (8.4.0)
WARNING: You are using pip version 21.1.2; however, version 21.2.4 is available.
You should consider upgrading via the ‘c:\users\gpe.platformio\penv\scripts\python.exe -m pip install --upgrade pip’ command.
Reading CMake configuration…
Generating assembly for certificate bundle…
CMake Error at C:/Users/GPE/.platformio/packages/framework-espidf/tools/cmake/scripts/data_file_embed_asm.cmake:26 (file):
file failed to open for reading (No such file or directory):C:\Repos\NAC-1\NAC-1.pio\build\esp32dev\x509_crt_bundle
*** Error 1
LDF: Library Dependency Finder → Library Dependency Finder (LDF) — PlatformIO latest documentation
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies…
No dependencies
Building in release mode
*** [.pio\build\esp32dev.pio\build\esp32dev\x509_crt_bundle.o] Source .pio\build\esp32dev\x509_crt_bundle.S' not found, needed by target
.pio\build\esp32dev.pio\build\esp32dev\x509_crt_bundle.o’.
"
I don’t understand what the problem is, can someone point me in the right direction?