platformio / platformio-home

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

Could not initialize project #5373

Open ademeyer opened 1 year ago

ademeyer commented 1 year ago

PIO Core Call Error: "The current working directory /home/laplace/Documents/PlatformIO/Projects/newidf will be used for the project.\n\nThe next files/directories have been created in /home/laplace/Documents/PlatformIO/Projects/newidf\ninclude - Put project header files here\nlib - Put here project specific (private) libraries\nsrc - Put project source files here\nplatformio.ini - Project Configuration File\nResolving esp32doit-devkit-v1 dependencies...\nAlready up-to-date.\nUpdating metadata for the vscode IDE...\n\n\nError: Processing esp32doit-devkit-v1 (platform: espressif32; board: esp32doit-devkit-v1; framework: espidf)\n--------------------------------------------------------------------------------\nVerbose mode can be enabled via -v, --verbose option\nCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32doit-devkit-v1.html\nPLATFORM: Espressif 32 (5.2.0) > DOIT ESP32 DEVKIT V1\nHARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash\nDEBUG: 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)\nPACKAGES: \n - framework-espidf @ 3.40402.0 (4.4.2) \n - tool-cmake @ 3.16.4 \n - tool-esptoolpy @ 1.40201.0 (4.2.1) \n - tool-ninja @ 1.7.1 \n - toolchain-esp32ulp @ 1.22851.191205 (2.28.51) \n - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3\n\n[notice] A new release of pip available: 22.2.2 -> 23.0\n[notice] To update, run: pip install --upgrade pip\nReading CMake configuration...\n-- Found Git: /usr/bin/git (found version \"2.34.1\") \n-- The C compiler identification is GNU 8.4.0\n-- The CXX compiler identification is GNU 8.4.0\n-- The ASM compiler identification is GNU\n-- Found assembler: /home/laplace/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc\n-- Check for working C compiler: /home/laplace/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc\n-- Check for working C compiler: /home/laplace/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc -- works\n-- Detecting C compiler ABI info\n-- Detecting C compiler ABI info - done\n-- Detecting C compile features\n-- Detecting C compile features - done\n-- Check for working CXX compiler: /home/laplace/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-g++\n-- Check for working CXX compiler: /home/laplace/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-g++ -- works\n-- Detecting CXX compiler ABI info\n-- Detecting CXX compiler ABI info - done\n-- Detecting CXX compile features\n-- Detecting CXX compile features - done\n-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.\n-- Building ESP-IDF components for target esp32\nSolving dependencies requirements\nUpdating lock file at /home/laplace/Documents/PlatformIO/Projects/newidf/dependencies.lock\n-- Found Git: /usr/bin/git (found version \"2.34.1\") \n-- Configuring incomplete, errors occurred!\nSee also \"/home/laplace/Documents/PlatformIO/Projects/newidf/.pio/build/esp32doit-devkit-v1/CMakeFiles/CMakeOutput.log\".\n\nfatal: not a git repository (or any of the parent directories): .git\nCMake Error at /home/laplace/.platformio/packages/framework-espidf/tools/cmake/component.cmake:219 (message):\n CMake Warning (dev) at\n .pio/build/esp32doit-devkit-v1/build_properties.temp.cmake:8:\n\n Syntax Warning in cmake code at column 51\n\n \n\n Argument not separated from preceding token by whitespace.\n\n Call Stack (most recent call first):\n\n /home/laplace/.platformio/packages/framework-espidf/tools/cmake/scripts/component_get_requirements.cmake:3 (include)\n\n This warning is for project developers. Use -Wno-dev to suppress it.\n\n \n\n CMake Error at\n /home/laplace/.platformio/packages/tool-cmake/share/cmake-3.16/Modules/ExternalProject.cmake:1029\n (define_property):\n\n define_property command is not scriptable\n\n Call Stack (most recent call first):\n\n /home/laplace/.platformio/packages/framework-espidf/tools/cmake/kconfig.cmake:1 (include)\n /home/laplace/.platformio/packages/framework-espidf/tools/cmake/idf.cmake:41 (include)\n /home/laplace/.platformio/packages/framework-espidf/tools/cmake/project.cmake:12 (include)\n /home/laplace/.platformio/packages/framework-espidf/components/esp_lte_modem/CMakeLists.txt:5 (include)\n /home/laplace/.platformio/packages/framework-espidf/tools/cmake/scripts/component_get_requirements.cmake:106 (include)\n /home/laplace/.platformio/packages/framework-espidf/tools/cmake/scripts/component_get_requirements.cmake:124 (component_get_requirements)\n\n \n\n \n\nCall Stack (most recent call first):\n /home/laplace/.platformio/packages/framework-espidf/tools/cmake/build.cmake:488 (component_get_requirements)\n /home/laplace/.platformio/packages/framework-espidf/tools/cmake/project.cmake:384 (idf_build_process)\n CMakeLists.txt:3 (project)\n\n\n\n========================== [FAILED] Took 0.94 seconds =========================="

ademeyer commented 1 year ago

Trying to create a new project using ESP IDF framework on platformio. I am new

stale[bot] commented 1 year 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.

stale[bot] commented 1 year 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.