DerAndere1 / Marlin

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)
https://derandere.gitlab.io/pipetbot-a8
GNU General Public License v3.0
53 stars 20 forks source link

Compilation error in e_homing branch #4

Closed nosleduc closed 5 years ago

nosleduc commented 5 years ago

I'm using e_homing branch and when I'm compiling I get the following error sketch/src/module/../inc/../HAL/HAL_AVR/fastio_AVR.h:81:35: error: 'DIOE_STOP_PIN_DDR' was not declared in this scope

I have enabled E_AXIS_HOMING USE_EMIN_PLUG in configuration.h and E_MIN_PIN in pins_RAMPS.H

Do you have an idea ?

nosleduc commented 5 years ago

I succeeded to solve my problem.

For information you have the following errors by default

WHEN E_AXIS_HOMING is not enabled you have the following error: sketch/src/module/motion.cpp:1042:27: error: 'ee' was not declared in this scope if (xx || yy || zz || ee) { ^ When E_AXIS_HOMING is enabled, you have the following errors:

sketch/src/module/motion.cpp:175:53: error: expected ';' before ')' token SERIAL_ECHOPAIR(" E:", current_position[E_AXIS]));

in the endstops.cpp file, you need to add a semicolon


 #if ENABLED(E_AXIS_HOMING)
      ENDSTOP_HIT_TEST(E,'E')
 #endif

```                                ^