Description
Did you test the latest bugfix-2.1.x
code?
Yes, and the problem still exists.
Bug Description
Marlin will not compile. Was OK immediately prior to the following change:
From:
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80.1, 80.5, 401.6, 139 }
To:
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80.1, 80.5, 401.6, 139, 142}
Background:
Set #define DISTINCT_E_FACTORS
Number of extruders is 2 (they have been working fine for years)
Bug Timeline
Immedietely after adding the additional E1 steps value to 'DEFAULT_AXIS_STEPS_PER_UNIT as above
Expected behavior
Parse the additional esteps value for E1 and compile
Actual behavior
An extract of the errors provided.. all errors are similar to this
*** [.pio\build\BIGTREE_SKR_2\src\src\feature\babystep.cpp.o] Error 1
*** [.pio\build\BIGTREE_SKR_2\src\src\MarlinCore.cpp.o] Error 1
In file included from Marlin\src\feature../inc/MarlinConfigPre.h:39,
from Marlin\src\feature\pause.cpp:28:
Marlin\src\feature../inc/../../Configuration.h:1227:68: error: too many initializers for 'const xyze_float_t' {aka 'const XYZEval'}
1227 | #define DEFAULT_AXIS_STEPS_PER_UNIT { 80.1, 80.5, 401.6, 139, 142}
| ^
c:\users\kevin\documents\3d printing\firmware\marlin\marlin\src\lcd\e3v2\common\limits.h:93:40: note: in expansion of macro 'DEFAULT_AXIS_STEPS_PER_UNIT'
93 | default_steps = DEFAULT_AXIS_STEPS_PER_UNIT,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
*** [.pio\build\BIGTREE_SKR_2\src\src\feature\pause.cpp.o] Error 1
In file included from Marlin\src\feature../inc/MarlinConfigPre.h:39,
from Marlin\src\feature../inc/MarlinConfig.h:28,
from Marlin\src\feature\tmc_util.cpp:23:
Marlin\src\feature../inc/../../Configuration.h:1227:68: error: too many initializers for 'const xyze_float_t' {aka 'const XYZEval'}
1227 | #define DEFAULT_AXIS_STEPS_PER_UNIT { 80.1, 80.5, 401.6, 139, 142}
| ^
Marlin\src\feature../lcd/e3v2/creality/../common/limits.h:93:40: note: in expansion of macro 'DEFAULT_AXIS_STEPS_PER_UNIT'
93 | default_steps = DEFAULT_AXIS_STEPS_PER_UNIT,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from Marlin\src\gcode\bedlevel\abl../../../inc/MarlinConfigPre.h:39,
from Marlin\src\gcode\bedlevel\abl../../../inc/MarlinConfig.h:28,
from Marlin\src\gcode\bedlevel\abl\G29.cpp:27:
Marlin\src\gcode\bedlevel\abl../../../inc/../../Configuration.h:1227:68: error: too many initializers for 'const xyze_float_t' {aka 'const XYZEval'}
Steps to Reproduce
Change value
From:
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80.1, 80.5, 401.6, 139 }
To:
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80.1, 80.5, 401.6, 139, 142}
Background:
Set #define DISTINCT_E_FACTORS
Number of extruders is 2 (they have been working fine for years)
Version of Marlin Firmware
BugFix 2.1.x
Printer model
No response
Electronics
No response
Add-ons
No response
Bed Leveling
ABL Bilinear mesh
Your Slicer
Prusa Slicer
Host Software
None
Don't forget to include
- A ZIP file containing your
Configuration.h
andConfiguration_adv.h
.
Additional information & file uploads
No response