Optimized firmware for RepRap 3D printers based on the Arduino platform. The branch Marlin2ForPipetBot is optimized firmware for cartesian robots (lab robots, also known as liquid handling robots or pipetting robots)
UPDATE: SOLVED -- set I_MIN_Pin (although I wasn't using it) to an used pin. I think all axes have to have two pins even if only one is used for homing (?)
Hi,
I'm very new to Marlin and was excited to come across this version as I am building a printer with two independent z axes and two extruders. However, when I try to compile the code, I receive this error, which I have traced back to the homing function in motion.cpp
This is the error Arduino throws when I try to compile (below). Any help would be really appreciated, thank you!
I have defined I_MIN_PIN as well as changed extruder 2's pins to be the I axis in the RUMBA board file.
In file included from sketch/src/module/../inc/../core/boards.h:28:0,
from sketch/src/module/../inc/MarlinConfigPre.h:35,
from sketch/src/module/../inc/MarlinConfig.h:28,
from sketch/src/module/motion.h:35,
from sketch/src/module/motion.cpp:31:
sketch/src/module/motion.cpp: In function 'void homeaxis(AxisEnum)':
sketch/src/module/motion.cpp:1677:23: error: 'I_MIN_PIN' was not declared in this scope
&& !_CAN_HOME(I),
^
sketch/src/module/../inc/../core/macros.h:246:36: note: in definition of macro 'GANG_4'
define GANG_4( A,B,C,D,...) A B C D
^
sketch/src/module/../inc/../core/macros.h:251:24: note: in expansion of macro '_GANG_N'
define GANG_N(N,V...) _GANG_N(N,V)
^~~~~~~
sketch/src/module/motion.cpp:1673:9: note: in expansion of macro 'GANG_N'
if (GANG_N(NON_E_AXES,
^~
sketch/src/module/motion.cpp:1677:13: note: in expansion of macro '_CAN_HOME'
&& !_CAN_HOME(I),
^~~~~
sketch/src/module/motion.cpp:1677:23: note: suggested alternative: 'J_MIN_PIN'
&& !_CAN_HOME(I),
^
sketch/src/module/../inc/../core/macros.h:246:36: note: in definition of macro 'GANG_4'
define GANG_4( A,B,C,D,...) A B C D
^
sketch/src/module/../inc/../core/macros.h:251:24: note: in expansion of macro '_GANG_N'
Description
UPDATE: SOLVED -- set I_MIN_Pin (although I wasn't using it) to an used pin. I think all axes have to have two pins even if only one is used for homing (?)
Hi,
I'm very new to Marlin and was excited to come across this version as I am building a printer with two independent z axes and two extruders. However, when I try to compile the code, I receive this error, which I have traced back to the homing function in motion.cpp
I attached my file folder here:
Marlin-Marlin2ForPipetBot 2.zip
This is the error Arduino throws when I try to compile (below). Any help would be really appreciated, thank you!
I have defined I_MIN_PIN as well as changed extruder 2's pins to be the I axis in the RUMBA board file.
In file included from sketch/src/module/../inc/../core/boards.h:28:0, from sketch/src/module/../inc/MarlinConfigPre.h:35, from sketch/src/module/../inc/MarlinConfig.h:28, from sketch/src/module/motion.h:35, from sketch/src/module/motion.cpp:31: sketch/src/module/motion.cpp: In function 'void homeaxis(AxisEnum)': sketch/src/module/motion.cpp:1677:23: error: 'I_MIN_PIN' was not declared in this scope && !_CAN_HOME(I), ^ sketch/src/module/../inc/../core/macros.h:246:36: note: in definition of macro 'GANG_4'
define GANG_4( A,B,C,D,...) A B C D
sketch/src/module/../inc/../core/macros.h:251:24: note: in expansion of macro '_GANG_N'
define GANG_N(N,V...) _GANG_N(N,V)
sketch/src/module/motion.cpp:1673:9: note: in expansion of macro 'GANG_N' if (GANG_N(NON_E_AXES, ^
~sketch/src/module/motion.cpp:1677:13: note: in expansion of macro '_CAN_HOME' && !_CAN_HOME(I), ^~~~~ sketch/src/module/motion.cpp:1677:23: note: suggested alternative: 'J_MIN_PIN' && !_CAN_HOME(I), ^ sketch/src/module/../inc/../core/macros.h:246:36: note: in definition of macro 'GANG_4'define GANG_4( A,B,C,D,...) A B C D
sketch/src/module/../inc/../core/macros.h:251:24: note: in expansion of macro '_GANG_N'
define GANG_N(N,V...) _GANG_N(N,V)