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

Open ikkholis27 opened 1 year ago

ikkholis27 commented 1 year ago

PIO Core Call Error: "The current working directory C:\Users\Thinkpad E14 G2\OneDrive - Flexisolve Technology Pte Ltd\Documents\PlatformIO\Projects\GD32Iconplus will be used for the project.\r\n\r\nThe next files/directories have been created in C:\Users\Thinkpad E14 G2\OneDrive - Flexisolve Technology Pte Ltd\Documents\PlatformIO\Projects\GD32Iconplus\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\nResolving genericGD32F303CE dependencies...\r\nAlready up-to-date.\r\nUpdating metadata for the vscode IDE...\r\n\n\nError: Processing genericGD32F303CE (platform: gd32; board: genericGD32F303CE; framework: spl)\r\n--------------------------------------------------------------------------------\r\nTool Manager: Installing platformio/tool-scons @ ~4.40400.0\r\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\r\nUnpacking\r\nTool Manager: tool-scons@4.40400.0 has been installed!\r\nTool Manager: Removing tool-scons @ 4.40300.220725\r\nTool Manager: tool-scons@4.40300.220725 has been removed!\r\nVerbose mode can be enabled via -v, --verbose option\r\nCONFIGURATION: https://docs.platformio.org/page/boards/gd32/genericGD32F303CE.html\r\nPLATFORM: GD GD32 (1.0.0+sha.2d74cfe) > GD32F303CE (64k RAM, 512k Flash)\r\nHARDWARE: GD32F303CET6 120MHz, 64KB RAM, 512KB Flash\r\nDEBUG: Current (stlink) External (blackmagic, cmsis-dap, jlink, sipeed-rv-debugger, stlink)\r\nPACKAGES: \r\n - framework-spl-gd32 @ 2.10000.0+sha.43a133d \r\n - toolchain-gccarmnoneeabi @ 1.90201.191206 (9.2.1)\r\nWarning! Cannot find a linker script for the required board! Firmware will be linked with a default linker script!\r\nKeyError: 'flash_start':\r\n File \"C:\Users\Thinkpad E14 G2\.platformio\penv\lib\site-packages\platformio\builder\main.py\", line 187:\r\n env.SConscript(\"$BUILD_SCRIPT\")\r\n File \"C:\Users\Thinkpad E14 G2\.platformio\packages\tool-scons\scons-local-4.4.0\SCons\Script\SConscript.py\", line 597:\r\n return _SConscript(self.fs, *files, subst_kw)\r\n File \"C:\Users\Thinkpad E14 G2\.platformio\packages\tool-scons\scons-local-4.4.0\SCons\Script\SConscript.py\", line 285:\r\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\r\n File \"C:\Users\Thinkpad E14 G2\.platformio\platforms\gd32\builder\main.py\", line 128:\r\n target_elf = env.BuildProgram()\r\n File \"C:\Users\Thinkpad E14 G2\.platformio\packages\tool-scons\scons-local-4.4.0\SCons\Util.py\", line 737:\r\n return self.method(*nargs, *kwargs)\r\n File \"C:\Users\Thinkpad E14 G2\.platformio\penv\lib\site-packages\platformio\builder\tools\piobuild.py\", line 60:\r\n env.ProcessProgramDeps()\r\n File \"C:\Users\Thinkpad E14 G2\.platformio\packages\tool-scons\scons-local-4.4.0\SCons\Util.py\", line 737:\r\n return self.method(nargs, kwargs)\r\n File \"C:\Users\Thinkpad E14 G2\.platformio\penv\lib\site-packages\platformio\builder\tools\piobuild.py\", line 120:\r\n env.BuildFrameworks(env.get(\"PIOFRAMEWORK\"))\r\n File \"C:\Users\Thinkpad E14 G2\.platformio\packages\tool-scons\scons-local-4.4.0\SCons\Util.py\", line 737:\r\n return self.method(*nargs, kwargs)\r\n File \"C:\Users\Thinkpad E14 G2\.platformio\penv\lib\site-packages\platformio\builder\tools\piobuild.py\", line 331:\r\n SConscript(env.GetFrameworkScript(name), exports=\"env\")\r\n File \"C:\Users\Thinkpad E14 G2\.platformio\packages\tool-scons\scons-local-4.4.0\SCons\Script\SConscript.py\", line 660:\r\n return method(*args, *kw)\r\n File \"C:\Users\Thinkpad E14 G2\.platformio\packages\tool-scons\scons-local-4.4.0\SCons\Script\SConscript.py\", line 597:\r\n return _SConscript(self.fs, files, subst_kw)\r\n File \"C:\Users\Thinkpad E14 G2\.platformio\packages\tool-scons\scons-local-4.4.0\SCons\Script\SConscript.py\", line 285:\r\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\r\n File \"C:\Users\Thinkpad E14 G2\.platformio\platforms\gd32\builder\frameworks\spl.py\", line 173:\r\n LDSCRIPT_PATH=get_linker_script(board.get(\"build.mcu\")))\r\n File \"C:\Users\Thinkpad E14 G2\.platformio\platforms\gd32\builder\frameworks\spl.py\", line 105:\r\n content = data.substitute(\r\n File \"C:\Python39\lib\string.py\", line 121:\r\n return self.pattern.sub(convert, self.template)\r\n File \"C:\Python39\lib\string.py\", line 114:\r\n return str(mapping[named])\r\n========================= [FAILED] Took 60.58 seconds ========================="

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.