platformio / platformio-home

PlatformIO Home
https://docs.platformio.org/page/home/index.html
Apache License 2.0
95 stars 62 forks source link

Could not initialize project #3275

Closed HAJMOUSA closed 2 years ago

HAJMOUSA commented 2 years ago

PIO Core Call Error: "The current working directory C:\Users\ahajmousa\Documents\PlatformIO\Projects\ESP32-C3_test will be used for the project.\r\n\r\nThe next files/directories have been created in C:\Users\ahajmousa\Documents\PlatformIO\Projects\ESP32-C3_test\r\ninclude - Put project header files here\r\nlib - Put here project specific (private) libraries\r\nsrc - Put project source files here\r\nplatformio.ini - Project Configuration File\r\n\n\nError: Processing esp32-c3-devkitm-1 (platform: espressif32; board: esp32-c3-devkitm-1; framework: espidf)\r\n--------------------------------------------------------------------------------\r\nVerbose mode can be enabled via -v, --verbose option\r\nCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-c3-devkitm-1.html\r\nPLATFORM: Espressif 32 (3.3.2) > Espressif ESP32-C3-DevKitM-1\r\nHARDWARE: ESP32C3 160MHz, 320KB RAM, 4MB Flash\r\nDEBUG: 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)\r\nPACKAGES: \r\n - framework-espidf 3.40300.0 (4.3.0) \r\n - tool-cmake 3.16.4 \r\n - tool-esptoolpy 1.30100.210531 (3.1.0) \r\n - tool-idf 1.0.1 \r\n - tool-mconf 1.4060000.20190628 (406.0.0) \r\n - tool-ninja 1.9.0 \r\n - toolchain-riscv-esp 1.80400.0 (8.4.0)\r\nWARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.\r\nYou should consider upgrading via the 'c:\.platformio\penv\scripts\python.exe -m pip install --upgrade pip' command.\r\nReading CMake configuration...\r\n-- Found Git: C:/Program Files/Git/cmd/git.exe (found version \"2.28.0.windows.1\") \r\n-- Configuring incomplete, errors occurred!\r\n\r\nfatal: not a git repository (or any of the parent directories): .git\r\nCMake Error at C:/.platformio/packages/framework-espidf/tools/cmake/targets.cmake:65 (message):\r\n Toolchain file toolchain-esp32c3.cmake not found,checked\r\n C:/.platformio/packages/framework-espidf/tools/cmake/toolchain-esp32c3.cmake\r\n and\r\n C:/.platformio/packages/framework-espidf/components/esp32c3/toolchain-esp32c3.cmake\r\nCall Stack (most recent call first):\r\n C:/.platformio/packages/framework-espidf/tools/cmake/project.cmake:294 (__target_set_toolchain)\r\n CMakeLists.txt:3 (project)\r\n\r\n\r\n\r\n========================= [FAILED] Took 20.57 seconds ========================="

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.