Recently I started getting errors building Marlin Firmware an STM32F103RET6_creality Environment like so. Its the default configuration of Marlin-2.0.x for Ender 3 v2
The STM32F103RET6_creality_maple Environment works just fine.
PS C:\Marlin-2.0.x> platformio run -e STM32F103RET6_creality
Processing STM32F103RET6_creality (platform: ststm32@~12.1; board: genericSTM32F103RE; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose
option
Zugriff verweigert
CalledProcessError: Command ‘“C:\Users\KJ.platformio\packages\toolchain-gccarmnoneeabi\bin\arm-none-eabi-g++.exe” -D__MARLIN_FIRMWARE__ -DNDEBUG -DUSBCON -DUSBD_USE_CDC -DTIM_IRQ_PRIO=13 -DADC_RESOLUTION=12 -DMCU_STM32F103RE -DHAL_SD_MODULE_ENABLED -DSS_TIMER=4 -DTIMER_SERVO=TIM5 -DENABLE_HWSERIAL3 -DTRANSFER_CLOCK_DIV=8 -D__MARLIN_DEPS__ -w -dM -E -x c++ buildroot/share/PlatformIO/scripts/common-dependencies.h’ returned non-zero exit status 1.:
File “C:\Users\KJ.platformio\penv\Lib\site-packages\platformio\builder\main.py”, line 175:
env.SConscript(item, exports=“env”)
File “C:\Users\KJ.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\KJ.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:\Marlin-2.0.x\buildroot\share\PlatformIO\scripts\common-dependencies.py”, line 309:
apply_features_config()
if not env.MarlinFeatureIsEnabled(feature):
File “C:\Users\KJ.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py”, line 658:
return self.method(*nargs, **kwargs)
File “C:\Marlin-2.0.x\buildroot\share\PlatformIO\scripts\common-dependencies.py”, line 285:
load_marlin_features()
File “C:\Marlin-2.0.x\buildroot\share\PlatformIO\scripts\common-dependencies.py”, line 273:
define_list = subprocess.check_output(cmd, shell=True).splitlines()
File “C:\Users\KJ.platformio\python3\lib\subprocess.py”, line 424:
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File “C:\Users\KJ.platformio\python3\lib\subprocess.py”, line 528:
raise CalledProcessError(retcode, process.args,
==================================================================== [FAILED] Took 1.98 seconds ====================================================================
Environment Status Duration
STM32F103RET6_creality FAILED 00:00:01.978
could someone help me or give me a hint how to solve the issu?
I already removed Marlin and PlatformIO extension from vscode and also reinstalled vscode and the required extension but still but still the same errors
Im using Windows 10 x64 and Python 3.9.6