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 #3906

Closed mohamed-bekheet closed 2 years ago

mohamed-bekheet commented 2 years ago

PIO Core Call Error: "The current working directory D:\1.Mohamed\Embedded\ARM-microController\Drivers_mine\TivaC_Drivers\Project for test\TivaC_Test_Drivers will be used for the project.\r\n\r\nThe next files/directories have been created in D:\1.Mohamed\Embedded\ARM-microController\Drivers_mine\TivaC_Drivers\Project for test\TivaC_Test_Drivers\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 lptm4c123gh6pm (platform: titiva; board: lptm4c123gh6pm; framework: libopencm3)\r\n--------------------------------------------------------------------------------\r\nVerbose mode can be enabled via -v, --verbose option\r\nCONFIGURATION: https://docs.platformio.org/page/boards/titiva/lptm4c123gh6pm.html\r\nPLATFORM: TI TIVA (3.0.1) > TI LaunchPad (Tiva C) w/ tm4c123 (80MHz)\r\nHARDWARE: LPTM4C123GH6PM 80MHz, 32KB RAM, 256KB Flash\r\nDEBUG: Current (ti-icdi) On-board (ti-icdi)\r\nPACKAGES: \r\n - framework-libopencm3 1.10000.200730 (1.0.0) \r\n - toolchain-gccarmnoneeabi 1.40804.0 (4.8.4)\r\nWarning! Couldn't generate linker script for lm4f\r\n\r\nC:\Users\moham\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe: can't open file 'C:\Users\moham\.platformio\packages\framework-libopencm3\scripts\genlink.py': [Errno 2] No such file or directory\r\n\r\nFileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\moham\\.platformio\\packages\\framework-libopencm3\\lib\\lm4f\\Makefile':\r\n File \"C:\Users\moham\.platformio\penv\lib\site-packages\platformio\builder\main.py\", line 181:\r\n env.SConscript(\"$BUILD_SCRIPT\")\r\n File \"C:\Users\moham\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Script\SConscript.py\", line 597:\r\n return _SConscript(self.fs, *files, subst_kw)\r\n File \"C:\Users\moham\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Script\SConscript.py\", line 285:\r\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\r\n File \"C:\Users\moham\.platformio\platforms\titiva\builder\main.py\", line 144:\r\n target_elf = env.BuildProgram()\r\n File \"C:\Users\moham\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Util.py\", line 742:\r\n return self.method(*nargs, *kwargs)\r\n File \"C:\Users\moham\.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py\", line 61:\r\n env.ProcessProgramDeps()\r\n File \"C:\Users\moham\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Util.py\", line 742:\r\n return self.method(nargs, kwargs)\r\n File \"C:\Users\moham\.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py\", line 128:\r\n env.BuildFrameworks(env.get(\"PIOFRAMEWORK\"))\r\n File \"C:\Users\moham\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Util.py\", line 742:\r\n return self.method(*nargs, kwargs)\r\n File \"C:\Users\moham\.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py\", line 343:\r\n SConscript(env.GetFrameworkScript(f), exports=\"env\")\r\n File \"C:\Users\moham\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Script\SConscript.py\", line 660:\r\n return method(*args, *kw)\r\n File \"C:\Users\moham\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Script\SConscript.py\", line 597:\r\n return _SConscript(self.fs, files, subst_kw)\r\n File \"C:\Users\moham\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Script\SConscript.py\", line 285:\r\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\r\n File \"C:\Users\moham\.platformio\platforms\titiva\builder\frameworks\libopencm3\libopencm3.py\", line 279:\r\n get_source_files(root_dir))\r\n File \"C:\Users\moham\.platformio\platforms\titiva\builder\frameworks\libopencm3\libopencm3.py\", line 100:\r\n mkdata = parse_makefile_data(join(src_dir, \"Makefile\"))\r\n File \"C:\Users\moham\.platformio\platforms\titiva\builder\frameworks\libopencm3\libopencm3.py\", line 77:\r\n with open(makefile) as f:\r\n========================== [FAILED] Took 0.91 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.