Welcome! Log In Create A New Profile

Advanced

Anycubic Chiron Marlin 2.0.x Compiling Issue

Posted by whospatlaw 
Anycubic Chiron Marlin 2.0.x Compiling Issue
November 19, 2020 06:20PM
Hi All,

Been trying to get bi-linear bed levelling working with a BLTouch on my Anycubic Chiron. I cannot get it to compile and get the attached error log.

I have been able to get the mesh levelling compiled and working though. I downloaded the code here: [github.com].

UBL also works but takes up too much memory to be usable.

Any ideas where I can look to try and fix this? I am relatively a rookie with C++.

Thanks,
Pat
Attachments:
open | download - Bilinear errors.txt (12 KB)
Re: Anycubic Chiron Marlin 2.0.x Compiling Issue
November 19, 2020 09:39PM
That fork of marlin is quite broken... and is based on 2.0.0 of marlin, we are now at 2.0.7.2

get marlin from [github.com]
get config files from [github.com] (in particular [github.com])
Copy these config files over the ones in the marlin source

Compile (to verify everything is ok till now)
AUTO_BED_LEVELING_BILINEAR is enabled by default.

Edited 1 time(s). Last edit at 11/19/2020 09:42PM by Dust.
Re: Anycubic Chiron Marlin 2.0.x Compiling Issue
November 20, 2020 11:42AM
Hi Dust,

Thanks! I will give this a try and report back.
Re: Anycubic Chiron Marlin 2.0.x Compiling Issue
November 20, 2020 12:42PM
I tried. But failed. I did the following.

1. Downloaded Marlin source in link above.
2. Downloaded configurations folder and copied it into the marlin source under config.
3. Then under the config > examples I copied the configuration.h and configuration_adv.h into the Marlin source and overwrote the .h files that were there.
4. Opened project in arduino and immediately tried to verify for the Mega2560.

Came back with the attached error. See picture.
Attachments:
open | download - Error1.JPG (26.5 KB)
Re: Anycubic Chiron Marlin 2.0.x Compiling Issue
November 20, 2020 03:02PM
Marlin is hitting hard limits it terms of what the Arduino environment can manage. There are some workarounds (like moving the Marlin source folder to the root of the drive and naming it something short like "C:\M", deleting folder in the HAL that don't apply to your hardware) but that's just trying to hold back a flood with a tiny cork.
The better solution is to switch to using PlatformIO to compile: [marlinfw.org]
Re: Anycubic Chiron Marlin 2.0.x Compiling Issue
November 20, 2020 03:32PM
I just always used arduino. There is nothing saying I cannot switch platforms. Never tried anything else. Ill give your link a try. Thanks!
Sorry, only registered users may post in this forum.

Click here to login