platformio / platformio-home

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

CouldNotCreateProject #5383

Open paulz opened 1 year ago

paulz commented 1 year ago
image

This is the error in window:

PIO Core Call Error: "The current working directory /Users/artium/Documents/PlatformIO/Projects/PlatformIO Scratch will be used for the project.\n\nThe next files/directories have been created in /Users/artium/Documents/PlatformIO/Projects/PlatformIO Scratch\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 samr21_xpro dependencies...\nPlatform Manager: Installing atmelsam\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking\nPlatform Manager: atmelsam@8.1.0 has been installed!\nTool Manager: Installing platformio/toolchain-gccarmnoneeabi @ ~1.80201.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking\nTool Manager: toolchain-gccarmnoneeabi@1.80201.181220 has been installed!\nTool Manager: Installing platformio/framework-zephyr @ ~2.20701.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking\nTool Manager: framework-zephyr@2.20701.220422 has been installed!\nTool Manager: Installing platformio/tool-cmake @ ~3.21.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking\nTool Manager: tool-cmake@3.21.3 has been installed!\nTool Manager: Installing platformio/tool-dtc @ ~1.4.7\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking\nTool Manager: tool-dtc@1.4.7 has been installed!\nTool Manager: Installing platformio/tool-ninja @ ^1.7.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking\nTool Manager: tool-ninja@1.9.0 has been installed!\nTool Manager: Installing platformio/tool-gperf @ ^3.0.0\nDownloading 0% 10% 20% 30% 40% 50% 60%\nUnpacking\nTool Manager: tool-gperf@3.1.0 has been installed!\nUpdating metadata for the vscode IDE...\n\n\nError: Processing samr21_xpro (platform: atmelsam; board: samr21_xpro; framework: zephyr)\n--------------------------------------------------------------------------------\nTool Manager: Installing platformio/tool-scons @ ~4.40400.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking\nTool Manager: tool-scons@4.40400.0 has been installed!\nVerbose mode can be enabled via -v, --verbose option\nCONFIGURATION: https://docs.platformio.org/page/boards/atmelsam/samr21_xpro.html\nPLATFORM: Atmel SAM (8.1.0) > Atmel ATSAMR21-XPRO\nHARDWARE: SAMR21G18A 48MHz, 32KB RAM, 256KB Flash\nDEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (atmel-ice, blackmagic, jlink)\nPACKAGES: \n - framework-zephyr @ 2.20701.220422 (2.7.1) \n - tool-cmake @ 3.21.3 \n - tool-dtc @ 1.4.7 \n - tool-gperf @ 3.1.0 \n - tool-ninja @ 1.9.0 \n - toolchain-gccarmnoneeabi @ 1.80201.181220 (8.2.1)\nInstalling Zephyr's Python dependencies\nCollecting pyyaml\n Using cached PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl (173 kB)\nCollecting pykwalify\n Downloading pykwalify-1.8.0-py2.py3-none-any.whl (24 kB)\nCollecting six\n Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)\nCollecting python-dateutil>=2.8.0\n Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 13.7 MB/s eta 0:00:00\nCollecting ruamel.yaml>=0.16.0\n Using cached ruamel.yaml-0.17.21-py3-none-any.whl (109 kB)\nCollecting docopt>=0.6.2\n Downloading docopt-0.6.2.tar.gz (25 kB)\n Preparing metadata (setup.py): started\n Preparing metadata (setup.py): finished with status 'done'\nCollecting ruamel.yaml.clib>=0.2.6\n Using cached ruamel.yaml.clib-0.2.7-cp310-cp310-macosx_12_0_arm64.whl (125 kB)\nBuilding wheels for collected packages: docopt\n Building wheel for docopt (setup.py): started\n Building wheel for docopt (setup.py): finished with status 'done'\n Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=13705 sha256=a188a43e962f601cee5dab94ec2d9d90b579cc0626da6202d1b84df80e187299\n Stored in directory: /Users/artium/Library/Caches/pip/wheels/fc/ab/d4/5da2067ac95b36618c629a5f93f809425700506f72c9732fac\nSuccessfully built docopt\nInstalling collected packages: docopt, six, ruamel.yaml.clib, pyyaml, ruamel.yaml, python-dateutil, pykwalify\nSuccessfully installed docopt-0.6.2 pykwalify-1.8.0 python-dateutil-2.8.2 pyyaml-6.0 ruamel.yaml-0.17.21 ruamel.yaml.clib-0.2.7 six-1.16.0\nInstalling canopennode package...\nCouldn't install the framework-zephyr-canopennode package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/lib/canopennode'...\nHEAD is now at f167efe zephyr: move build configuration into zephyr repository\nInstalling civetweb package...\nCouldn't install the framework-zephyr-civetweb package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/lib/civetweb'...\nHEAD is now at 094aeb41 cmake: relax minimum version requirements\nInstalling cmsis package...\nCouldn't install the framework-zephyr-cmsis package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/hal/cmsis'...\nHEAD is now at b0612c9 DSP: Integrate CMSIS-DSP 1.9.0 (CMSIS 5.8.0)\nInstalling fatfs package...\nCouldn't install the framework-zephyr-fatfs package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/fs/fatfs'...\nHEAD is now at 94fcd6b fs: Update driver to version 0.14b\nInstalling hal_atmel package...\nCouldn't install the framework-zephyr-hal-atmel package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/hal/atmel'...\nHEAD is now at 9f78f52 patch: sam3x, sam4e: Add TC_CMR_TCCLKS(value) macro\nInstalling hal_st package...\nCouldn't install the framework-zephyr-hal-st package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/hal/st'...\nHEAD is now at 575de9d sensor/stmemsc: Align stmemsc i/f to v2.00\nInstalling libmetal package...\nCouldn't install the framework-zephyr-libmetal package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/hal/libmetal'...\nHEAD is now at 39d049d lib: update libmetal to release v2021.04.0 + VERSION path fix\nInstalling littlefs package...\nCouldn't install the framework-zephyr-littlefs package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/fs/littlefs'...\nHEAD is now at 9e4498d lfs_util: fix log declaration when logging is disabled\nInstalling loramac-node package...\nCouldn't install the framework-zephyr-loramac-node package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/lib/loramac-node'...\nHEAD is now at 12019623 zephyr: radio: sx127x: override buffer read/write functions\nInstalling lvgl package...\nCouldn't install the framework-zephyr-lvgl package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/lib/gui/lvgl'...\nHEAD is now at 783c1f78 cmake: added missing file ext to lv_font_dejavu_16_persian_hebrew.c\nInstalling lz4 package...\nCouldn't install the framework-zephyr-lz4 package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/lib/lz4'...\nHEAD is now at 8e303c2 zephyr: make this repo a zephyr module\nInstalling mbedtls package...\nCouldn't install the framework-zephyr-mbedtls package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/crypto/mbedtls'...\nHEAD is now at 5765cb7f7 mbedtls: update README with laterst version information\nInstalling mcuboot package...\nCouldn't install the framework-zephyr-mcuboot package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/bootloader/mcuboot'...\nHEAD is now at 70bfbd2 merge: synchronize up to 85da97f + cherry-pick upstream bugfixes for LTS 2.7.0\nInstalling mcumgr package...\nCouldn't install the framework-zephyr-mcumgr package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/lib/mcumgr'...\nHEAD is now at 9ffebd5 img_mgmt: fix callback parameter values\nInstalling mipi-sys-t package...\nCouldn't install the framework-zephyr-mipi-sys-t package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/debug/mipi-sys-t'...\nHEAD is now at 75e6715 zephyr: move platform.h to zephyr tree\nInstalling nanopb package...\nCouldn't install the framework-zephyr-nanopb package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/lib/nanopb'...\nHEAD is now at d148bd2 Add zephyr module support\nInstalling open-amp package...\nCouldn't install the framework-zephyr-open-amp package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/lib/open-amp'...\nHEAD is now at 6010f05 lib: update open-amp lib to release v2021.04.0\nInstalling openthread package...\nCouldn't install the framework-zephyr-openthread package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/lib/openthread'...\nHEAD is now at 5d706547e Merge pull request #47 from canisLupus1313/zephyr\nInstalling segger package...\nCouldn't install the framework-zephyr-segger package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/debug/segger'...\nHEAD is now at 3a52ab2 config: Use zephyr provided options\nInstalling sof package...\nCouldn't install the framework-zephyr-sof package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/audio/sof'...\nHEAD is now at 76feb11d1 ipc4: mixer: add mixin & mixout modules support\nInstalling tflite-micro package...\nCouldn't install the framework-zephyr-tflite-micro package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/lib/tflite-micro'...\nHEAD is now at 9156d05 tflite-micro: fix module name\nInstalling tinycbor package...\nCouldn't install the framework-zephyr-tinycbor package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/lib/tinycbor'...\nHEAD is now at 40daca9 zephyr: Remove TINYCBOR from interface libraries\nInstalling tinycrypt package...\nCouldn't install the framework-zephyr-tinycrypt package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/crypto/tinycrypt'...\nHEAD is now at 3e9a49d cmake: Fix conditional in root CMakeLists.txt\nInstalling TraceRecorderSource package...\nCouldn't install the framework-zephyr-TraceRecorderSource package from PlatformIO Registry.\nCloning into '/Users/artium/.platformio/packages/framework-zephyr/_pio/modules/debug/TraceRecorder'...\nHEAD is now at 36c5777 Merge remote-tracking branch 'upstream/main' into zephyr\nReading CMake configuration...\n-- Application: /Users/artium/Documents/PlatformIO/Projects/PlatformIO Scratch/zephyr\n-- Zephyr version: 2.7.1 (/Users/artium/.platformio/packages/framework-zephyr)\n-- Found Python3: /Users/artium/.platformio/penv/bin/python3.10 (found suitable exact version \"3.10.9\") found components: Interpreter \n-- Board: atsamr21_xpro\n-- Cache files will be written to: /Users/artium/Library/Caches/zephyr\n-- Found dtc: /Users/artium/.platformio/packages/tool-dtc/dtc (found suitable version \"1.4.7\", minimum required is \"1.4.6\")\n-- Found toolchain: gnuarmemb (/Users/artium/.platformio/packages/toolchain-gccarmnoneeabi)\n-- Found BOARD.dts: /Users/artium/.platformio/packages/framework-zephyr/boards/arm/atsamr21_xpro/atsamr21_xpro.dts\n-- Generated zephyr.dts: /Users/artium/Documents/PlatformIO/Projects/PlatformIO Scratch/.pio/build/samr21_xpro/zephyr/zephyr.dts\n-- Generated devicetree_unfixed.h: /Users/artium/Documents/PlatformIO/Projects/PlatformIO Scratch/.pio/build/samr21_xpro/zephyr/include/generated/devicetree_unfixed.h\n-- Generated device_extern.h: /Users/artium/Documents/PlatformIO/Projects/PlatformIO Scratch/.pio/build/samr21_xpro/zephyr/include/generated/device_extern.h\n-- Including generated dts.cmake file: /Users/artium/Documents/PlatformIO/Projects/PlatformIO Scratch/.pio/build/samr21_xpro/zephyr/dts.cmake\nParsing /Users/artium/.platformio/packages/framework-zephyr/Kconfig\nLoaded configuration '/Users/artium/.platformio/packages/framework-zephyr/boards/arm/atsamr21_xpro/atsamr21_xpro_defconfig'\nConfiguration saved to '/Users/artium/Documents/PlatformIO/Projects/PlatformIO Scratch/.pio/build/samr21_xpro/zephyr/.config'\nKconfig header saved to '/Users/artium/Documents/PlatformIO/Projects/PlatformIO Scratch/.pio/build/samr21_xpro/zephyr/include/generated/autoconf.h'\n-- The C compiler identification is GNU 8.2.1\n-- The CXX compiler identification is GNU 8.2.1\n-- The ASM compiler identification is GNU\n-- Found assembler: /Users/artium/.platformio/packages/toolchain-gccarmnoneeabi/bin/arm-none-eabi-gcc\n-- Configuring incomplete, errors occurred!\nSee also \"/Users/artium/Documents/PlatformIO/Projects/PlatformIO Scratch/.pio/build/samr21_xpro/CMakeFiles/CMakeOutput.log\".\nSee also \"/Users/artium/Documents/PlatformIO/Projects/PlatformIO Scratch/.pio/build/samr21_xpro/CMakeFiles/CMakeError.log\".\n\nsh: ps: command not found\nError: Could not run sw_vers:\nNo such file or directory\nsh: ps: command not found\nError: Could not run sw_vers:\nNo such file or directory\nsh: ps: command not found\nError: Could not run sw_vers:\nNo such file or directory\nCMake Error: Could not find cmake module file: CMakeDetermineScratchCompiler.cmake\nCMake Error: Error required internal CMake variable not set, cmake may not be built correctly.\nMissing variable is:\nCMAKE_Scratch_COMPILER_ENV_VAR\nCMake Error: Error required internal CMake variable not set, cmake may not be built correctly.\nMissing variable is:\nCMAKE_Scratch_COMPILER\nCMake Error: Could not find cmake module file: /Users/artium/Documents/PlatformIO/Projects/PlatformIO Scratch/.pio/build/samr21_xpro/CMakeFiles/3.21.3/CMakeScratchCompiler.cmake\nCMake Error at CMakeLists.txt:3 (project):\n No CMAKE_Scratch_COMPILER could be found.\n\n Tell CMake where to find the compiler by setting the CMake cache entry\n CMAKE_Scratch_COMPILER to the full path to the compiler, or to the compiler\n name if it is in the PATH.\n\n\nCMake Error: Could not find cmake module file: CMakeScratchInformation.cmake\nCMake Error: CMAKE_Scratch_COMPILER not set, after EnableLanguage\n========================= [FAILED] Took 57.95 seconds ========================="

and when we press "Report a problem" we get: "Your request URL is too long.":

image
paulz commented 1 year ago

we tried to setup project for this board: Atmel ATSAMR21-XPro

in Visual Studio Code and Mac M1

paulz commented 1 year ago

same happened M2 Mac

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.