Why do I get this error everytime I try to build the new marlin firmware

the error code is “The terminal process “C:\Users\Owner.platformio\penv\Scripts\pio.exe ‘run’” terminated with exit code: 1.” and my system environment is “STM32F103RC_bigtree_512K_USB” my board is an SKR mini E3 V1.2 any suggestions are a help.

Were there any other errors/warnings prior to that one?

Cheers,
Norm.

2 Likes

@normandunbar
Maybe, do these count as errors?

(sorry for the delayed response, I was out of town for a little)

Hi @ColePete,

The first line in the screenshot looks like something above it failed.

Can you grab the full set of lines with a select and copy, then paste here. To format them correctly:

```
Paste here...
```

Those are backticks, not single quotes by the way.

Thanks.

Cheers,
Norm.

Here you go

> Executing task in folder Marlin-2.0.x SKR mini E3 V1.2 updated - BLtouch fil runout: C:\Users\Owner\.platformio\penv\Scripts\pio.exe run <

Processing STM32F103RC_bigtree_512K_USB (platform: ststm32; board: genericSTM32F103RC; framework: arduino)
------------------------------------------------------------------------------------------------------------------------------------------------

Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103RC.html
PLATFORM: ST STM32 (9.0.0) > STM32F103RC (48k RAM. 256k Flash)  
HARDWARE: STM32F103RCT6 72MHz, 48KB RAM, 512KB Flash
DEBUG: Current (blackmagic) External (blackmagic, jlink, stlink)
PACKAGES:
 - framework-arduinoststm32 4.10900.200819 (1.9.0)
 - framework-cmsis 2.50501.200527 (5.5.1)
 - tool-stm32duino 1.0.2
 - toolchain-gccarmnoneeabi 1.90201.191206 (9.2.1)
C:\Users\Owner\.platformio\python3\python.exe: can't open file 'Marlin/src/HAL/HAL_STM32F1/build_flags.py': [Errno 2] No such file or directory
OSError: 'python Marlin/src/HAL/HAL_STM32F1/build_flags.py' exited 2:
  File "C:\Users\Owner\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 170:
    env.SConscript("$BUILD_SCRIPT")
  File "C:\Users\Owner\.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\Owner\.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:\Users\Owner\.platformio\platforms\ststm32\builder\main.py", line 99:
    target_elf = env.BuildProgram()
  File "C:\Users\Owner\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Environment.py", line 219:
    return self.method(*nargs, **kwargs)
  File "C:\Users\Owner\.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 61:
    env.ProcessProgramDeps()
  File "C:\Users\Owner\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Environment.py", line 219:
    return self.method(*nargs, **kwargs)
  File "C:\Users\Owner\.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 124:
    env.ProcessFlags(env.get("BUILD_FLAGS"))
  File "C:\Users\Owner\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Environment.py", line 219:
    return self.method(*nargs, **kwargs)
  File "C:\Users\Owner\.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 222:
    env.Append(**env.ParseFlagsExtended(flags))
  File "C:\Users\Owner\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Environment.py", line 219:
    return self.method(*nargs, **kwargs)
  File "C:\Users\Owner\.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 185:
    for key, value in env.ParseFlags(str(raw)).items():
  File "C:\Users\Owner\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Environment.py", line 815:
    do_parse(arg)
  File "C:\Users\Owner\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Environment.py", line 681:
    arg = self.backtick(arg[1:])
  File "C:\Users\Owner\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Environment.py", line 599:
    raise OSError("'%s' exited %d" % (command, status))
========================================================== [FAILED] Took 0.88 seconds ==========================================================

Environment                   Status    Duration
----------------------------  --------  ------------
STM32F103RC_bigtree_512K_USB  FAILED    00:00:00.877
==================================================== 1 failed, 0 succeeded in 00:00:00.877 ==================================================== 
The terminal process "C:\Users\Owner\.platformio\penv\Scripts\pio.exe 'run'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

I’ve just checked my Marlin 2.0.x source and it’s there - have you accidentally deleted a file?

Do you have spaces in your username which could break the path encoding?

1 Like

@maxgerhardt
what do you mean by “Do you have spaces in your username which could break the path encoding?”

I have not deleted any files but I did download the files from this video:
SKR Mini E3 - The best Ender 3 upgrade from stock? - YouTube
In the description, there is a section called “Free complied firmware to save you time:” and I used the “BLtouch with ‘standard’ mount: https://gum.co/pqrhF” file.

I’d suggest going direct to the Marlin FW page (https://marlinfw.org/) and downloading the original source there. You should be able to take the Configuration.h and Configuration_adv.h files from your previous download and inserting them into a fresh Marlin source download. Then try compiling and see what you get.

No idea about BLtouch/Standard mount configurations (I’m running a FoldaRap and Mendel90) but typically those two files (Configuration.h and maybe Configuration_adv.h) are all you need to touch with Marlin

edit: You may also want to update platformio.ini file in there as well to match the original download.

What this means is, on Windows, what is your user/login name? Mine is “norman” and my “home” folder is C:\Users\norman. Some logon/usernames have spaces – “fred bloggs” will have a home folder of c:\Users\fred bloggs – that stops a few things from working correctly. Marlin compiles being one of them.

Cheers,
Norm.

@normandunbar @cdabone
OK, so I redownloaded the marlin bugfix firmware 2.0.x online. I replaced the configuration.h and configurationadv.h with my edited ones, but this is what happened when I tried to build.

> Executing task in folder Marlin-bugfix-2.0.x: C:\Users\Owner\.platformio\penv\Scripts\pio.exe run <

Processing STM32F103RC_btt_512K (platform: ststm32@~10.0; board: genericSTM32F103RC; framework: arduino)
------------------------------------------------------------------------------------------------------------------------------------------------
Platform Manager: Installing ststm32 @ ~10.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Platform Manager: ststm32 @ 10.0.0 has been installed!
Tool Manager: Removing toolchain-gccarmnoneeabi @ 1.90201.191206
Tool Manager: toolchain-gccarmnoneeabi @ 1.90201.191206 has been removed!
The platform 'ststm32@~10.0' has been successfully installed!
The rest of the packages will be installed later depending on your build environment.
Tool Manager: Installing platformio/framework-arduinoststm32-maple @ ~3.10000.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: framework-arduinoststm32-maple @ 3.10000.201129 has been installed!
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__ -DARDUINO_ARCH_STM32 -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\Owner\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 168:
    env.SConscript(item, exports="env")
  File "C:\Users\Owner\.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\Owner\.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:\Users\Owner\Downloads\Marlin-bugfix-2.0.X\Marlin-bugfix-2.0.x\buildroot\share\PlatformIO\scripts\common-dependencies.py", line 311:  
    apply_features_config()
  File "C:\Users\Owner\Downloads\Marlin-bugfix-2.0.X\Marlin-bugfix-2.0.x\buildroot\share\PlatformIO\scripts\common-dependencies.py", line 142:  
    if not env.MarlinFeatureIsEnabled(feature):
  File "C:\Users\Owner\.platformio\packages\tool-scons\scons-local-4.0.1\SCons\Environment.py", line 219:
    return self.method(*nargs, **kwargs)
  File "C:\Users\Owner\Downloads\Marlin-bugfix-2.0.X\Marlin-bugfix-2.0.x\buildroot\share\PlatformIO\scripts\common-dependencies.py", line 287:  
    load_marlin_features()
  File "C:\Users\Owner\Downloads\Marlin-bugfix-2.0.X\Marlin-bugfix-2.0.x\buildroot\share\PlatformIO\scripts\common-dependencies.py", line 275:
    define_list = subprocess.check_output(cmd, shell=True).splitlines()
  File "C:\Users\Owner\.platformio\python3\lib\subprocess.py", line 411:
    **kwargs).stdout
  File "C:\Users\Owner\.platformio\python3\lib\subprocess.py", line 512:
    output=stdout, stderr=stderr)
========================================================= [FAILED] Took 128.82 seconds =========================================================

Environment           Status    Duration
--------------------  --------  ------------
STM32F103RC_btt_512K  FAILED    00:02:08.816
==================================================== 1 failed, 0 succeeded in 00:02:08.816 ==================================================== 
The terminal process "C:\Users\Owner\.platformio\penv\Scripts\pio.exe 'run'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

any ideas?

That error about “CC” not being found looks to be Issue 18959 from Marlin.

I wonder if you have downloaded the latest bugfix Marlin release?

Can you post the download link and I’ll attempt to compile it myself. There was another issue raising this error on Windows only, but that was fixed back in September.

I also assume that you are building by following These instructions?

Cheers,
Norm.

It looks like progress, so that’s good :slight_smile:
I generally build inside of a Debian VM (sometimes linux just works better :smiley: )

1 Like

@normandunbar

Sure, I downloaded from here: Download | Marlin Firmware and scroll down to the “nightly builds” and it is the bugfix-2.0.x.zip file. Just click where I have circled and it will download exactly what I downloaded.

image

1 Like

Personally for a self build, I’d start with the latest stable before I started looking at nightlies

1 Like

@cdabone
so use the one at the top?

@ColePete - yes, take the “Latest release: 2.0.7.2”

If you’re going to play around with nightlies, take a look to see if they have a build log - there’s a good chance that they will report if there’s any build issues that need looking into.

I have never had a great experience running most OSS builds on Windows, so it’s probably worth investing a little time in setting up a Ubuntu VM - but setting up development environments is a whole topic in itself

@cdabone @normandunbar

So I re-dowloaded the most recent version off of marlin. And, I editied it to be the way that I wanted. But, when I clicked the checkmark telling it to build, it started building only to end with these errors:

> Executing task in folder Marlin-2.0.x: C:\Users\Owner\.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
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103RC.html
PLATFORM: ST STM32 (6.1.1) > STM32F103RC (48k RAM. 256k Flash)  
HARDWARE: STM32F103RCT6 72MHz, 48KB RAM, 512KB Flash
DEBUG: Current (blackmagic) External (blackmagic, jlink, stlink)
PACKAGES:
 - framework-arduinoststm32-maple 2.10000.200103 (1.0.0)        
 - tool-stm32duino 1.0.2
 - toolchain-gccarmnoneeabi 1.70201.0 (7.2.1)
Converting Marlin.ino
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 31 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <SoftwareSerialM> 1.0.0    
|-- <TMCStepper> 0.7.1
|   |-- <SoftwareSerialM> 1.0.0
|-- <U8glib-HAL> 0.4.3
|   |-- <Wire> 1.0
|-- <STM32ADC> 1.0
|-- <EEPROM>
|-- <USBComposite for STM32F1> 0.91
|-- <Wire> 1.0
|-- <FreeRTOS701>
|-- <Servo(STM32F1)> 1.1.2
Building in release mode
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduinoVariant\board.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduinoVariant\wirish\boards.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduinoVariant\wirish\boards_setup.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduinoVariant\wirish\start.S.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduinoVariant\wirish\start_c.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduinoVariant\wirish\syscalls.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\HardwareSerial.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\HardwareTimer.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\IPAddress.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\Print.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\Stream.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\WString.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\avr\dtostrf.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\cxxabi-compat.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\ext_interrupts.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\hooks.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\itoa.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\adc.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\adc_f1.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\bkp_f1.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\dac.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\dma.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\dma_f1.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\exc.S.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\exti.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\exti_f1.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\flash.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\fsmc_f1.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\gpio.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\gpio_f1.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\i2c.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\i2c_f1.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\iwdg.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\nvic.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\pwr.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\rcc.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\rcc_f1.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\spi.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\spi_f1.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\stm32f1\performance\isrs.S.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\stm32f1\performance\vector_table.S.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\systick.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\timer.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\timer_f1.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\usart.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\usart_f1.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\usart_private.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\usb\stm32f1\usb.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\usb\stm32f1\usb_cdcacm.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\usb\stm32f1\usb_reg_map.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\usb\usb_lib\usb_core.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\usb\usb_lib\usb_init.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\usb\usb_lib\usb_mem.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\usb\usb_lib\usb_regs.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\libmaple\util.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\main.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\new.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\pwm.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\sdio.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\stm32f1\util_hooks.c.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\stm32f1\wiring_pulse_f1.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\stm32f1\wirish_debug.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\stm32f1\wirish_digital_f1.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\tone.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\usb_serial.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\wirish_analog.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\wirish_digital.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\wirish_math.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\wirish_shift.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\FrameworkArduino\wirish_time.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\HAL.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\HAL_SPI.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\MarlinSerial.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\SPI.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\Servo.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\SoftwareSerial.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\dogm\u8g_com_stm32duino_swspi.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\eeprom_bl24cxx.cpp.o
Compiling .pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\eeprom_flash.cpp.o
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfigPre.h:56:0,
                 from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:28,
                 from Marlin\src\HAL\STM32F1\HAL.cpp:30:
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected ',' before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected string-literal before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected ')' before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1703:47: error: expected ',' before numeric constant
   #define PROBING_MARGIN_FRONT PROBING_MARGIN 20
                                               ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1330:19: note: in expansion of macro 'PROBING_MARGIN_FRONT'
     static_assert(PROBING_MARGIN_FRONT >= 0, "PROBING_MARGIN_FRONT must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1703:47: error: expected string-literal before numeric constant
   #define PROBING_MARGIN_FRONT PROBING_MARGIN 20
                                               ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1330:19: note: in expansion of macro 'PROBING_MARGIN_FRONT'
     static_assert(PROBING_MARGIN_FRONT >= 0, "PROBING_MARGIN_FRONT must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~~
compilation terminated due to -fmax-errors=5.
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfigPre.h:56:0,
                 from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:28,
                 from Marlin\src\HAL\STM32F1\HAL_SPI.cpp:32:
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected ',' before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected string-literal before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected ')' before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1703:47: error: expected ',' before numeric constant
   #define PROBING_MARGIN_FRONT PROBING_MARGIN 20
                                               ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1330:19: note: in expansion of macro 'PROBING_MARGIN_FRONT'
     static_assert(PROBING_MARGIN_FRONT >= 0, "PROBING_MARGIN_FRONT must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1703:47: error: expected string-literal before numeric constant
   #define PROBING_MARGIN_FRONT PROBING_MARGIN 20
                                               ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1330:19: note: in expansion of macro 'PROBING_MARGIN_FRONT'
     static_assert(PROBING_MARGIN_FRONT >= 0, "PROBING_MARGIN_FRONT must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~~
compilation terminated due to -fmax-errors=5.
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfigPre.h:56:0,
                 from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:28,
                 from Marlin\src\HAL\STM32F1\Servo.cpp:25:
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected ',' before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected string-literal before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected ')' before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1703:47: error: expected ',' before numeric constant
   #define PROBING_MARGIN_FRONT PROBING_MARGIN 20
                                               ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1330:19: note: in expansion of macro 'PROBING_MARGIN_FRONT'
     static_assert(PROBING_MARGIN_FRONT >= 0, "PROBING_MARGIN_FRONT must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~~
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfigPre.h:56:0,
                 from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:28,
                 from Marlin\src\HAL\STM32F1\SPI.cpp:43:
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected ',' before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfigPre.h:56:0,
                 from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:28,
                 from Marlin\src\HAL\STM32F1\MarlinSerial.cpp:25:
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected ',' before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
In file included from Marlin\src\HAL\STM32F1\dogm\../../../inc/MarlinConfigPre.h:56:0,
                 from Marlin\src\HAL\STM32F1\dogm\../../../inc/MarlinConfig.h:28,
                 from Marlin\src\HAL\STM32F1\dogm\u8g_com_stm32duino_swspi.cpp:21:
Marlin\src\HAL\STM32F1\dogm\../../../inc/../../Configuration_adv.h:1704:46: error: expected ',' before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\dogm\../../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfigPre.h:56:0,
                 from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:28,
                 from Marlin\src\HAL\STM32F1\eeprom_bl24cxx.cpp:30:
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected ',' before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
*** [.pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\HAL_SPI.cpp.o] Error 1
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1703:47: error: expected string-literal before numeric constant
   #define PROBING_MARGIN_FRONT PROBING_MARGIN 20
                                               ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1330:19: note: in expansion of macro 'PROBING_MARGIN_FRONT'
     static_assert(PROBING_MARGIN_FRONT >= 0, "PROBING_MARGIN_FRONT must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected string-literal before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected string-literal before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\dogm\../../../inc/../../Configuration_adv.h:1704:46: error: expected string-literal before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\dogm\../../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected string-literal before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected ')' before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
*** [.pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\HAL.cpp.o] Error 1
compilation terminated due to -fmax-errors=5.
In file included from Marlin\src\HAL\STM32F1\../../inc/MarlinConfigPre.h:56:0,
                 from Marlin\src\HAL\STM32F1\../../inc/MarlinConfig.h:28,
                 from Marlin\src\HAL\STM32F1\eeprom_flash.cpp:32:
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected ',' before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected ')' before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected ')' before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\dogm\../../../inc/../../Configuration_adv.h:1704:46: error: expected ')' before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\dogm\../../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1703:47: error: expected ',' before numeric constant
   #define PROBING_MARGIN_FRONT PROBING_MARGIN 20
                                               ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1330:19: note: in expansion of macro 'PROBING_MARGIN_FRONT'
     static_assert(PROBING_MARGIN_FRONT >= 0, "PROBING_MARGIN_FRONT must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1703:47: error: expected ',' before numeric constant
   #define PROBING_MARGIN_FRONT PROBING_MARGIN 20
                                               ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1330:19: note: in expansion of macro 'PROBING_MARGIN_FRONT'
     static_assert(PROBING_MARGIN_FRONT >= 0, "PROBING_MARGIN_FRONT must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1703:47: error: expected ',' before numeric constant
   #define PROBING_MARGIN_FRONT PROBING_MARGIN 20
                                               ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1330:19: note: in expansion of macro 'PROBING_MARGIN_FRONT'
     static_assert(PROBING_MARGIN_FRONT >= 0, "PROBING_MARGIN_FRONT must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\dogm\../../../inc/../../Configuration_adv.h:1703:47: error: expected ',' before numeric constant
   #define PROBING_MARGIN_FRONT PROBING_MARGIN 20
                                               ^
Marlin\src\HAL\STM32F1\dogm\../../../inc/SanityCheck.h:1330:19: note: in expansion of macro 'PROBING_MARGIN_FRONT'
     static_assert(PROBING_MARGIN_FRONT >= 0, "PROBING_MARGIN_FRONT must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1703:47: error: expected string-literal before numeric constant
   #define PROBING_MARGIN_FRONT PROBING_MARGIN 20
                                               ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1330:19: note: in expansion of macro 'PROBING_MARGIN_FRONT'
     static_assert(PROBING_MARGIN_FRONT >= 0, "PROBING_MARGIN_FRONT must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected string-literal before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
*** [.pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\Servo.cpp.o] Error 1
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1703:47: error: expected string-literal before numeric constant
   #define PROBING_MARGIN_FRONT PROBING_MARGIN 20
                                               ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1330:19: note: in expansion of macro 'PROBING_MARGIN_FRONT'
     static_assert(PROBING_MARGIN_FRONT >= 0, "PROBING_MARGIN_FRONT must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1703:47: error: expected string-literal before numeric constant
   #define PROBING_MARGIN_FRONT PROBING_MARGIN 20
                                               ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1330:19: note: in expansion of macro 'PROBING_MARGIN_FRONT'
     static_assert(PROBING_MARGIN_FRONT >= 0, "PROBING_MARGIN_FRONT must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\dogm\../../../inc/../../Configuration_adv.h:1703:47: error: expected string-literal before numeric constant
   #define PROBING_MARGIN_FRONT PROBING_MARGIN 20
                                               ^
Marlin\src\HAL\STM32F1\dogm\../../../inc/SanityCheck.h:1330:19: note: in expansion of macro 'PROBING_MARGIN_FRONT'
     static_assert(PROBING_MARGIN_FRONT >= 0, "PROBING_MARGIN_FRONT must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1704:46: error: expected ')' before numeric constant
   #define PROBING_MARGIN_BACK PROBING_MARGIN 20
                                              ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1329:19: note: in expansion of macro 'PROBING_MARGIN_BACK'
     static_assert(PROBING_MARGIN_BACK >= 0, "PROBING_MARGIN_BACK must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1703:47: error: expected ',' before numeric constant
   #define PROBING_MARGIN_FRONT PROBING_MARGIN 20
                                               ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1330:19: note: in expansion of macro 'PROBING_MARGIN_FRONT'
     static_assert(PROBING_MARGIN_FRONT >= 0, "PROBING_MARGIN_FRONT must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~~
compilation terminated due to -fmax-errors=5.
compilation terminated due to -fmax-errors=5.
compilation terminated due to -fmax-errors=5.
compilation terminated due to -fmax-errors=5.
Marlin\src\HAL\STM32F1\../../inc/../../Configuration_adv.h:1703:47: error: expected string-literal before numeric constant
   #define PROBING_MARGIN_FRONT PROBING_MARGIN 20
                                               ^
Marlin\src\HAL\STM32F1\../../inc/SanityCheck.h:1330:19: note: in expansion of macro 'PROBING_MARGIN_FRONT'
     static_assert(PROBING_MARGIN_FRONT >= 0, "PROBING_MARGIN_FRONT must be >= 0.");
                   ^~~~~~~~~~~~~~~~~~~~
compilation terminated due to -fmax-errors=5.
*** [.pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\eeprom_flash.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\dogm\u8g_com_stm32duino_swspi.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\eeprom_bl24cxx.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\SPI.cpp.o] Error 1
*** [.pio\build\STM32F103RC_btt_512K\src\src\HAL\STM32F1\MarlinSerial.cpp.o] Error 1
======================================================== [FAILED] Took 11.24 seconds ======================================================== 

Environment           Status    Duration
--------------------  --------  ------------
STM32F103RC_btt_512K  FAILED    00:00:11.240
=================================================== 1 failed, 0 succeeded in 00:00:11.240 =================================================== 
The terminal process "C:\Users\Owner\.platformio\penv\Scripts\pio.exe 'run'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

That was the whole process copied and pasted straight from the Visual Studio Code terminal.
Plz help.

EDIT: I can also include a copy of my edited firmware if that helps. Just let me know.

Looks like something broken in the avanced configuration header file. Can you post 5 or 6 lines before and after this line:

#define PROBING_MARGIN xxxxxx

From Configuration_adv.h please. I think you might have edited it incorrectly.

As @ColePete advises, as do Marlin, best to stick with the stable stuff. Marlin advise that the nightlies should build, but may not.

Cheers,
Norm.