Welcome! Log In Create A New Profile

Advanced

Compiler Errors please help

Posted by aamcle 
Compiler Errors please help
December 02, 2018 03:42PM
I'm attempting to install Marlin on a CTC Dual fitted with a MKS Gen L board but I'm in trouble.

The printer has 5 stepper motors one each for the two extruders plus one for each axis.

The compiler is returning :-

SanityCheck.h:1607:1: error: static assertion failed: DEFAULT_MAX_FEEDRATE has too many elements
and
SanityCheck.h:1606:1: error: static assertion failed: DEFAULT_AXIS_STEPS_PER_UNIT has too many elements

Now both have five elements one for each stepper so the number of elements is in fact correct.

Any help would be much appreciated.

Thanks All. Aamcle
Re: Compiler Errors please help
December 02, 2018 04:06PM
When Adding a dual extuder you will need to add the Steps as shown in this sample of my Dual Extruder Configuration

// X, Y, Z, E0, E1 [E2[, E3[, E4]]]]
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 94.4962144, 94.4962144 }

// X, Y, Z, E0, E1 [E2[, E3[, E4]]]]
#define DEFAULT_MAX_FEEDRATE { 200, 200, 5, 25, 25 }

// X, Y, Z, E0, E1 [E2[, E3[, E4]]]]
#define DEFAULT_MAX_ACCELERATION { 3000, 3000, 100, 3000, 3000 }

I found a version of Marlin 1.1.5 already setup for Dual Extruder and simply added my settings to the configuration files.

One for BOARD_MKS_13

Could not find a Way to do it using my mother board It is Extruder, Fan, Bed should be Extruder, Extruder, Fan, Bed

BOARD_RAMPS_13_EFB

I believe it was Originally setup for a Dual Extruder CR 10

Like in this Older version of Marlin documentation here, Will post when I remember Where I found the Dual Extruder Firmware.
[www.instructables.com]

And Here
[reprap.org]

Edited 5 time(s). Last edit at 12/02/2018 04:38PM by Roberts_Clif.


Computer Programmer / Electronics Technician
Re: Compiler Errors please help
December 02, 2018 04:29PM
Thats what I did, 5 elements one for each of the steppers.

If I comment out :- //#define DISTINCT_E_FACTORS

It should use the same value for both of the extruders, I'll try it in the morning.


Thanks. Aamcle
Re: Compiler Errors please help
December 03, 2018 05:31AM
It's working or at least compiling. The error was the distinct e factors.

Thanks aamcle
Sorry, only registered users may post in this forum.

Click here to login