platformio / platformio-home

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

Could not import project #5245

Closed gcardi closed 1 year ago

gcardi commented 1 year ago

PIO Core Call Error: "Resolving nano32 dependencies...\r\nAlready up-to-date.\r\nUpdating metadata for the vscode IDE...\r\n\n\nError: Processing nano32 (board: nano32; platform: espressif32; framework: espidf)\r\n--------------------------------------------------------------------------------\r\nVerbose mode can be enabled via -v, --verbose option\r\nCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/nano32.html\r\nPLATFORM: Espressif 32 (5.3.0) > MakerAsia Nano32\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.40403.0 (4.4.3) \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.39.0.windows.2\") \r\n-- The C compiler identification is unknown\r\n-- The CXX compiler identification is unknown\r\n-- The ASM compiler identification is GNU\r\n-- Found assembler: C:/Users/Giuliano/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc.exe\r\n-- Check for working C compiler: C:/Users/Giuliano/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc.exe\r\n-- Check for working C compiler: C:/Users/Giuliano/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc.exe -- broken\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"C:/Users/Giuliano/Documents/PlatformIO/Projects/221231-210849-espidf-coap-server/.pio/build/nano32/CMakeFiles/CMakeOutput.log\".\r\nSee also \"C:/Users/Giuliano/Documents/PlatformIO/Projects/221231-210849-espidf-coap-server/.pio/build/nano32/CMakeFiles/CMakeError.log\".\r\n\r\nfatal: not a git repository (or any of the parent directories): .git\r\nCMake Error at C:/Users/Giuliano/.platformio/packages/tool-cmake/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:60 (message):\r\n The C compiler\r\n\r\n \"C:/Users/Giuliano/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc.exe\"\r\n\r\n is not able to compile a simple test program.\r\n\r\n It fails with the following output:\r\n\r\n Change Dir: C:/Users/Giuliano/Documents/PlatformIO/Projects/221231-210849-espidf-coap-server/.pio/build/nano32/CMakeFiles/CMakeTmp\r\n \r\n Run Build Command(s):C:/Users/Giuliano/.platformio/packages/tool-ninja/ninja.exe cmTC_b9bf3 && [1/2] Building C object CMakeFiles\cmTC_b9bf3.dir\testCCompiler.c.obj\r\n\r\n FAILED: CMakeFiles/cmTC_b9bf3.dir/testCCompiler.c.obj \r\n\r\n C:\Users\Giuliano\.platformio\packages\toolchain-xtensa-esp32\bin\xtensa-esp32-elf-gcc.exe -mlongcalls -Wno-frame-address -o CMakeFiles\cmTC_b9bf3.dir\testCCompiler.c.obj -c testCCompiler.c\r\n\r\n as: unknown option -- longcalls\r\n\r\n ninja: build stopped: subcommand failed.\r\n\r\n \r\n \r\n\r\n \r\n\r\n CMake will not be able to correctly generate this project.\r\nCall Stack (most recent call first):\r\n C:/Users/Giuliano/.platformio/packages/framework-espidf/tools/cmake/project.cmake:296 (__project)\r\n CMakeLists.txt:10 (project)\r\n\r\n\r\n\r\n========================== [FAILED] Took 5.54 seconds ==========================\r\n\r\nEnvironment Status Duration\r\n------------- -------- ------------\r\nnano32 FAILED 00:00:05.538\r\n==================== 1 failed, 0 succeeded in 00:00:05.538 ===================="

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.