Browse Source

📌 Overridable probe-related pins (#23107)

vanilla_fb_2.0.x
Keith Bennett 3 years ago
committed by Scott Lahteine
parent
commit
2a90d93b17
  1. 7
      Marlin/src/pins/stm32f1/pins_BTT_SKR_CR6.h
  2. 2
      Marlin/src/pins/stm32f1/pins_CREALITY_V452.h
  3. 2
      Marlin/src/pins/stm32f1/pins_CREALITY_V453.h
  4. 4
      Marlin/src/pins/stm32f1/pins_CREALITY_V45x.h
  5. 2
      Marlin/src/pins/stm32f4/pins_BTT_SKR_V2_0_common.h

7
Marlin/src/pins/stm32f1/pins_BTT_SKR_CR6.h

@ -70,9 +70,14 @@
// //
// Probe // Probe
// //
#define PROBE_TARE_PIN PA1 #ifndef PROBE_TARE_PIN
#define PROBE_TARE_PIN PA1
#endif
#if ENABLED(PROBE_ACTIVATION_SWITCH) #if ENABLED(PROBE_ACTIVATION_SWITCH)
#ifndef PROBE_ACTIVATION_SWITCH_PIN
#define PROBE_ACTIVATION_SWITCH_PIN PC2 // Optoswitch to Enable Z Probe #define PROBE_ACTIVATION_SWITCH_PIN PC2 // Optoswitch to Enable Z Probe
#endif
#endif #endif
// //

2
Marlin/src/pins/stm32f1/pins_CREALITY_V452.h

@ -36,7 +36,9 @@
#define FAN_PIN PA0 // FAN #define FAN_PIN PA0 // FAN
#if ENABLED(PROBE_ACTIVATION_SWITCH) #if ENABLED(PROBE_ACTIVATION_SWITCH)
#ifndef PROBE_ACTIVATION_SWITCH_PIN
#define PROBE_ACTIVATION_SWITCH_PIN PC6 // Optoswitch to Enable Z Probe #define PROBE_ACTIVATION_SWITCH_PIN PC6 // Optoswitch to Enable Z Probe
#endif
#endif #endif
#include "pins_CREALITY_V45x.h" #include "pins_CREALITY_V45x.h"

2
Marlin/src/pins/stm32f1/pins_CREALITY_V453.h

@ -36,7 +36,9 @@
#define FAN_PIN PB15 // FAN #define FAN_PIN PB15 // FAN
#if ENABLED(PROBE_ACTIVATION_SWITCH) #if ENABLED(PROBE_ACTIVATION_SWITCH)
#ifndef PROBE_ACTIVATION_SWITCH_PIN
#define PROBE_ACTIVATION_SWITCH_PIN PB2 // Optoswitch to Enable Z Probe #define PROBE_ACTIVATION_SWITCH_PIN PB2 // Optoswitch to Enable Z Probe
#endif
#endif #endif
#include "pins_CREALITY_V45x.h" #include "pins_CREALITY_V45x.h"

4
Marlin/src/pins/stm32f1/pins_CREALITY_V45x.h

@ -64,7 +64,9 @@
// //
// Probe // Probe
// //
#define PROBE_TARE_PIN PA5 #ifndef PROBE_TARE_PIN
#define PROBE_TARE_PIN PA5
#endif
// //
// Steppers // Steppers

2
Marlin/src/pins/stm32f4/pins_BTT_SKR_V2_0_common.h

@ -136,7 +136,9 @@
// Probe enable // Probe enable
// //
#if ENABLED(PROBE_ENABLE_DISABLE) #if ENABLED(PROBE_ENABLE_DISABLE)
#ifndef PROBE_ENABLE_PIN
#define PROBE_ENABLE_PIN SERVO0_PIN #define PROBE_ENABLE_PIN SERVO0_PIN
#endif
#endif #endif
// //

Loading…
Cancel
Save