Good Morning @ColePete,
I watched the linked video - turns out I’d actually seen it before, c’est la vie (as they say in Wales!) 
Here’s what I did:
-
Downloaded and extracted the Marlin 2.0.x file, and extracted it to
Marlin-2.0.x. -
Downloaded and extracted the Marlin Configurations to
Configurations -
Copied all 4 files from
/home/norman/Downloads/Marlin/Configurations/config/examples/Creality/Ender-3/BigTreeTech SKR Mini E3 1.2intoMarlin-2.0.x/Marlin– overwriting the existing configuration files. -
Open the folder
Marlin-2.0.xin VSCode. -
Open the
platformio.inifile. -
Edited this section:
[platformio] src_dir = Marlin boards_dir = buildroot/share/PlatformIO/boards default_envs = mega2560 include_dir = Marlinchanging the
default_envsto this:default_envs = STM32F103RC_btt_512K_USB -
Saved the file.
-
Ticked the dustbin/trash can button on the bottom toolbar to clean anything that might have been there previously.
-
Ticked the check/tick to run a build.
-
Waited…
-
Waited some more…
-
Got this:
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [==== ] 35.4% (used 17400 bytes from 49152 bytes) Flash: [==== ] 44.1% (used 231348 bytes from 524288 bytes) =====================[SUCCESS] Took 100.91 seconds =============
So, that’s a default build with your configuration, I think. I have not configured anything, other then the board in use.
Can you now do the above, to a separate folder to where your current setup doesn’t compile, and let me know how you get on please?
This is the first time I’ve compiled Marlin by the way.
Cheers,
Norm.