platformio / platformio-home

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

Could not initialize project #9016

Open mickkn opened 5 days ago

mickkn commented 5 days ago

PIO Core Call Error: "The following files/directories have been created in D:\[REPOS]\mChessboardESPIDF\r\ninclude - Put project header files here\r\nlib - Put project specific (private) libraries here\r\nsrc - Put project source files here\r\nplatformio.ini - Project Configuration File\r\nResolving upesy_wroom dependencies...\r\nAlready up-to-date.\r\nUpdating metadata for the vscode IDE...\r\n\n\nUserSideException: Processing upesy_wroom (platform: espressif32; board: upesy_wroom; framework: espidf)\r\n--------------------------------------------------------------------------------\r\nVerbose mode can be enabled via -v, --verbose option\r\nCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/upesy_wroom.html\r\nPLATFORM: Espressif 32 (5.4.0) > uPesy ESP32 Wroom DevKit\r\nHARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash\r\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)\r\nPACKAGES: \r\n - framework-espidf @ 3.40405.230623 (4.4.5) \r\n - tool-cmake @ 3.16.4 \r\n - tool-esptoolpy @ 1.40400.0 (4.4.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-esp32ulp @ 1.23500.220830 (2.35.0) \r\n - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5\r\nReading CMake configuration...\r\n-- Found Git: C:/Program Files/Git/cmd/git.exe (found version \"2.45.1.windows.1\") \r\n-- The C compiler identification is GNU 8.4.0\r\n-- The CXX compiler identification is GNU 8.4.0\r\n-- The ASM compiler identification is GNU\r\n-- Found assembler: C:/Users/mickk/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc.exe\r\n-- Check for working C compiler: C:/Users/mickk/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc.exe\r\n-- Check for working C compiler: C:/Users/mickk/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc.exe -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Check for working CXX compiler: C:/Users/mickk/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-g++.exe\r\n-- Check for working CXX compiler: C:/Users/mickk/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-g++.exe -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\n-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.\r\n-- Building ESP-IDF components for target esp32\r\n-- Project sdkconfig file D:/[REPOS]/mChessboardESPIDF/sdkconfig.upesy_wroom\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"D:/[REPOS]/mChessboardESPIDF/.pio/build/upesy_wroom/CMakeFiles/CMakeOutput.log\".\r\n\r\nfatal: not a git repository (or any of the parent directories): .git\r\nTraceback (most recent call last):\r\n\r\n File \"C:\Users\mickk\.platformio\packages\framework-espidf\tools\kconfig_new\confgen.py\", line 644, in \r\n\r\n main()\r\n\r\n File \"C:\Users\mickk\.platformio\packages\framework-espidf\tools\kconfig_new\confgen.py\", line 264, in main\r\n\r\n config = kconfiglib.Kconfig(args.kconfig)\r\n\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n\r\n File \"C:\Users\mickk\.platformio\penv\.espidf-4.4.5\Lib\site-packages\kconfiglib.py\", line 947, in init\r\n\r\n self._init(filename, warn, warn_to_stderr, encoding)\r\n\r\n File \"C:\Users\mickk\.platformio\penv\.espidf-4.4.5\Lib\site-packages\kconfiglib.py\", line 1085, in _init\r\n\r\n self._parse_block(None, self.top_node, self.top_node).next = None\r\n\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n\r\n File \"C:\Users\mickk\.platformio\penv\.espidf-4.4.5\Lib\site-packages\kconfiglib.py\", line 2970, in _parse_block\r\n\r\n raise KconfigError(\r\n\r\nkconfiglib.KconfigError: C:/Users/mickk/.platformio/packages/framework-espidf/Kconfig:206: 'D:/[REPOS]/mChessboardESPIDF/.pio/build/upesy_wroom/kconfigs_projbuild.in' not found (in 'source \"$COMPONENT_KCONFIGS_PROJBUILD_SOURCE_FILE\"'). Check that environment variables are set correctly (e.g. $srctree, which is unset or blank). Also note that unset environment variables expand to the empty string.\r\n\r\nCMake Error at C:/Users/mickk/.platformio/packages/framework-espidf/tools/cmake/kconfig.cmake:266 (message):\r\n Failed to run confgen.py\r\n (C:/Users/mickk/.platformio/penv/.espidf-4.4.5/Scripts/python.exe;C:/Users/mickk/.platformio/packages/framework-espidf/tools/kconfig_new/confgen.py;--kconfig;C:/Users/mickk/.platformio/packages/framework-espidf/Kconfig;--sdkconfig-rename;C:/Users/mickk/.platformio/packages/framework-espidf/sdkconfig.rename;--config;D:/[REPOS]/mChessboardESPIDF/sdkconfig.upesy_wroom;--env-file;D:/[REPOS]/mChessboardESPIDF/.pio/build/upesy_wroom/config.env).\r\n Error 1\r\nCall Stack (most recent call first):\r\n C:/Users/mickk/.platformio/packages/framework-espidf/tools/cmake/build.cmake:534 (__kconfig_generate_config)\r\n C:/Users/mickk/.platformio/packages/framework-espidf/tools/cmake/project.cmake:393 (idf_build_process)\r\n CMakeLists.txt:3 (project)\r\n\r\n\r\n\r\n========================== [FAILED] Took 4.66 seconds =========================="