Hi guys,
I recently have been getting back into 3D printing and I'm trying to compile firmware for my Ender 3 with the BTT SKR V2 board. it seems like my compile fails instantly. I downloaded a few different iterations of the marlin and btt config files to try. I didn't change anything like BL Touch settings to see if that made a difference. No luck. I read elsewhere that it might be a Platform IO setting so I have uninstalled VS Code and Platform IO with no luck. I don't remember being failed this fast before when I was doing this a year ago.
Here is the terminal readout:
> Executing task: C:\Users\crazy\.platformio\penv\Scripts\platformio.exe run <
Warning! Ignore unknown configuration option `monitor_flags` in section [env]
Warning! `src_filter` configuration option in section [env:include_tree] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Warning! `src_filter` configuration option in section [env

UE] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Warning! `src_filter` configuration option in section [env:esp32] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Warning! `src_build_flags` configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please use `build_src_flags` instead
Warning! `src_filter` configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Warning! `src_filter` configuration option in section [env

AMD51_grandcentral_m4] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Warning! `src_filter` configuration option in section [env:malyan_M300] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Warning! `src_filter` configuration option in section [env:teensy31] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Warning! `src_filter` configuration option in section [env:teensy35] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Warning! `src_filter` configuration option in section [env:teensy36] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Warning! `src_filter` configuration option in section [env:teensy41] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Processing STM32F103RC_btt_maple (platform:
[email protected]~12.1; board: genericSTM32F103RC; framework: arduino)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
In file included from c:\users\crazy\desktop\skr\marlin\src\inc\MarlinConfigPre.h:55:0,
from c:\users\crazy\desktop\skr\marlin\src\inc\marlinconfig.h:28,
from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:
c:\users\crazy\desktop\skr\marlin\src\core\drivers.h:80:51: error: missing binary operator before token "("
#define AXIS_DRIVER_TYPE(A,T) AXIS_DRIVER_TYPE_##A(T)
^
c:\users\crazy\desktop\skr\marlin\src\core\drivers.h:119:31: note: in expansion of macro 'AXIS_DRIVER_TYPE'
#define AXIS_IS_TMC(A) ( AXIS_DRIVER_TYPE(A,TMC2130) || AXIS_DRIVER_TYPE(A,TMC2160) \
^~~~~~~~~~~~~~~~
c:\users\crazy\desktop\skr\marlin\configuration_adv.h:2793:7: note: in expansion of macro 'AXIS_IS_TMC'
#if AXIS_IS_TMC(I)
^~~~~~~~~~~
c:\users\crazy\desktop\skr\marlin\src\core\drivers.h:80:51: error: missing binary operator before token "("
#define AXIS_DRIVER_TYPE(A,T) AXIS_DRIVER_TYPE_##A(T)
^
c:\users\crazy\desktop\skr\marlin\src\core\drivers.h:119:31: note: in expansion of macro 'AXIS_DRIVER_TYPE'
#define AXIS_IS_TMC(A) ( AXIS_DRIVER_TYPE(A,TMC2130) || AXIS_DRIVER_TYPE(A,TMC2160) \
^~~~~~~~~~~~~~~~
c:\users\crazy\desktop\skr\marlin\configuration_adv.h:2803:7: note: in expansion of macro 'AXIS_IS_TMC'
#if AXIS_IS_TMC(J)
^~~~~~~~~~~
c:\users\crazy\desktop\skr\marlin\src\core\drivers.h:80:51: error: missing binary operator before token "("
#define AXIS_DRIVER_TYPE(A,T) AXIS_DRIVER_TYPE_##A(T)
^
c:\users\crazy\desktop\skr\marlin\src\core\drivers.h:119:31: note: in expansion of macro 'AXIS_DRIVER_TYPE'
#define AXIS_IS_TMC(A) ( AXIS_DRIVER_TYPE(A,TMC2130) || AXIS_DRIVER_TYPE(A,TMC2160) \
^~~~~~~~~~~~~~~~
c:\users\crazy\desktop\skr\marlin\configuration_adv.h:2813:7: note: in expansion of macro 'AXIS_IS_TMC'
#if AXIS_IS_TMC(K)
^~~~~~~~~~~
CalledProcessError: Command '"C:\Users\crazy\.platformio\packages\
[email protected]\bin\arm-none-eabi-g++.exe" -DTARGET_STM32F1 -D__MARLIN_FIRMWARE__ -DNDEBUG -DARDUINO_ARCH_STM32 -DDEBUG_LEVEL=0 -DSS_TIMER=4 -D__MARLIN_DEPS__ -w -dM -E -x c++ buildroot/share/PlatformIO/scripts/common-dependencies.h' returned non-zero exit status 1.:
File "C:\Users\crazy\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 185:
env.SConscript(item, exports="env")
File "C:\Users\crazy\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Script\SConscript.py", line 597:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\crazy\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Script\SConscript.py", line 285:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "C:\Users\crazy\Desktop\SKR\buildroot\share\PlatformIO\scripts\common-dependencies.py", line 309:
apply_features_config()
File "C:\Users\crazy\Desktop\SKR\buildroot\share\PlatformIO\scripts\common-dependencies.py", line 136:
if not env.MarlinFeatureIsEnabled(feature):
File "C:\Users\crazy\.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Util.py", line 742:
return self.method(*nargs, **kwargs)
File "C:\Users\crazy\Desktop\SKR\buildroot\share\PlatformIO\scripts\common-dependencies.py", line 285:
load_marlin_features()
File "C:\Users\crazy\Desktop\SKR\buildroot\share\PlatformIO\scripts\common-dependencies.py", line 273:
define_list = subprocess.check_output(cmd, shell=True).splitlines()
File "C:\Users\crazy\.platformio\python3\lib\subprocess.py", line 424:
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "C:\Users\crazy\.platformio\python3\lib\subprocess.py", line 528:
raise CalledProcessError(retcode, process.args,
========================================================================================== [FAILED] Took 0.65 seconds ==========================================================================================
Environment Status Duration
--------------------- -------- ------------
STM32F103RC_btt_maple FAILED 00:00:00.650
==================================================================================== 1 failed, 0 succeeded in 00:00:00.650 ====================================================================================
The terminal process "C:\Users\crazy\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.