Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 2831

Marlin and endstop setting (1 reply)

$
0
0
Hello,

I am compiling Marlin 2.1.2.2 for a BTT SKR_3EZ with TMC2209 steppers.

I have set up sensorless homing;
Trinamically for the X & Y
Using a BL Touch sensor in the dedicated slots for the Z axis.

I would like to use the X_MIN & Y_MIN plugs for another purpose, [input pins for custom user defined buttons], However:

//===========================================================================
//============================== Endstop Settings ===========================
//===========================================================================

// @section endstops

// Specify here all the endstop connectors that are connected to any endstop or probe.
// Almost all printers will be using one per axis. Probes will use one or more of the
// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.

#define USE_XMIN_PLUG
#define USE_YMIN_PLUG

when I comment out these two lines;

//#define USE_XMIN_PLUG
//#define USE_YMIN_PLUG

I receive this compilation error and the build fails;

Marlin\src\HAL\STM32\..\../inc/SanityCheck.h:2259:8: error: #error "Enable USE_XMIN_PLUG when homing X to MIN."

How can I correct this to free up these resources?

Viewing all articles
Browse latest Browse all 2831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>