微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

我没有 C:\\Users\\Dhruvil\\.platformio\\packages\\framework-arduinoststm32

如何解决我没有 C:\\Users\\Dhruvil\\.platformio\\packages\\framework-arduinoststm32

每次我尝试构建我的马林鱼固件时都会收到此错误

Windows PowerShell
copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

PS C:\Users\Dhruvil\Downloads\Marlin-2.0.9.1\Marlin-2.0.9.1> platformio run --target upload -e STM32F103RC_btt_USB
Processing STM32F103RC_btt_USB (platform: ststm32@~12.1; board: genericSTM32F103RC; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Tool Manager: Installing platformio/tool-openocd @ ~2.1000.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: tool-openocd @ 2.1000.200630 has been installed!
Tool Manager: Installing platformio/tool-dfuutil @ ~1.9.190708
Downloading  [####################################]  100%
Tool Manager: tool-dfuutil @ 1.9.200310 has been installed!
Verbose mode can be enabled via `-v,--verbose` option
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\Dhruvil\\.platformio\\packages\\framework-arduinoststm32@src-37335c727965154be67d1d5ed653b9c6\\variants\\MARLIN_F103Rx':
  File "C:\Users\Dhruvil\.platformio\penv\Lib\site-packages\platformio\builder\main.py",line 175:
    env.sconscript(item,exports="env")
  File "C:\Users\Dhruvil\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\sconscript.py",line 591:
    return _sconscript(self.fs,*files,**subst_kw)
  File "C:\Users\Dhruvil\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\sconscript.py",line 280:
    exec(compile(scriptdata,scriptname,'exec'),call_stack[-1].globals)
  File "C:\Users\Dhruvil\Downloads\Marlin-2.0.9.1\Marlin-2.0.9.1\buildroot\share\PlatformIO\scripts\generic_create_variant.py",line 48:
    os.mkdir(variant_dir)
========================================================================= [Failed] Took 275.47 seconds =========================================================================

Environment          Status    Duration
-------------------  --------  ------------
STM32F103RC_btt_USB  Failed    00:04:35.469
===================================================================== 1 Failed,0 succeeded in 00:04:35.469 =====================================================================
PS C:\Users\Dhruvil\Downloads\Marlin-2.0.9.1\Marlin-2.0.9.1> echo "done" >C:\Users\Dhruvil\AppData\Local\Temp\ipc
PS C:\Users\Dhruvil\Downloads\Marlin-2.0.9.1\Marlin-2.0.9.1> 

我假设它与 platformio 的包有关,但我不知道它实际上是什么以及如何解决它。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。