Hi all, A VScode noob here trying to understand why my marlin in not compiling.
I bought myself an ender 3 a while ago, and recently upgraded to a skr mini e3 V1.2, and a bltouch. to make it all work i needed to update the firmware, so that is what i am doing right now.
I followed this turtorial, and no problems, till i wanted to compile the whole thing.
i have also tried reinstalling platformIO and VSCode but without succes.
this is my error code:
> Executing task: C:\Users\Henri\.platformio\penv\Scripts\pio.exe run <
Processing STM32F103RC_btt_512K (platform: ststm32@~6.1; board: genericSTM32F103RC; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
'CC' is not recognized as an internal or external command,
operable program or batch file.
CalledProcessError: Command 'CC -DTARGET_STM32F1 -D__MARLIN_FIRMWARE__ -DHAVE_SW_SERIAL -DDEBUG_LEVEL=0 -DSS_TIMER=4 -DSTM32_FLASH_SIZE=512 -D__MARLIN_DEPS__ -w -dM -E -x c++ buildroot/share/PlatformIO/scripts/common-dependencies.h' returned non-zero exit status 1.:
File "C:\users\henri\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 168:
env.SConscript(item, exports="env")
File "C:\Users\Henri\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Script\SConscript.py", line 598:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\Henri\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Script\SConscript.py", line 287:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "C:\AAA\Marlin\buildroot\share\PlatformIO\scripts\common-dependencies.py", line 286:
apply_features_config()
File "C:\AAA\Marlin\buildroot\share\PlatformIO\scripts\common-dependencies.py", line 118:
if not env.MarlinFeatureIsEnabled(feature):
File "C:\Users\Henri\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Environment.py", line 219:
return self.method(*nargs, **kwargs)
File "C:\AAA\Marlin\buildroot\share\PlatformIO\scripts\common-dependencies.py", line 262:
load_marlin_features()
File "C:\AAA\Marlin\buildroot\share\PlatformIO\scripts\common-dependencies.py", line 250:
define_list = subprocess.check_output(cmd, shell=True).splitlines()
File "C:\Users\Henri\.platformio\python3\lib\subprocess.py", line 411:
**kwargs).stdout
File "C:\Users\Henri\.platformio\python3\lib\subprocess.py", line 512:
output=stdout, stderr=stderr)
======================================================================================================== [FAILED] Took 0.57 seconds ========================================================================================================
Environment Status Duration
-------------------- -------- ------------
STM32F103RC_btt_512K FAILED 00:00:00.568
=================================================================================================== 1 failed, 0 succeeded in 00:00:00.568 ===================================================================================================The terminal process "C:\Users\Henri\.platformio\penv\Scripts\pio.exe 'run'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.