Skip to content

Commit

Permalink
Add PROBE_ENABLE_PINs to relevant Creality Boards
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiskeithb committed Dec 16, 2023
1 parent c14c8e7 commit 215436e
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Marlin/src/pins/stm32f1/pins_CREALITY_V24S1_301.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@
#define Z_MIN_PROBE_PIN PC14 // BLTouch IN
#endif

//
// Probe enable
//
#if ENABLED(PROBE_ENABLE_DISABLE) && !defined(PROBE_ENABLE_PIN)
#define PROBE_ENABLE_PIN SERVO0_PIN
#endif

//
// Filament Runout Sensor
//
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/pins/stm32f1/pins_CREALITY_V25S1.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,16 @@
#define Y_STOP_PIN PC5
#define Z_STOP_PIN PC15

//
// Probe
//
#if ENABLED(BLTOUCH)
#define SERVO0_PIN PC14 // BLTouch OUT PIN
#elif ENABLED(PROBE_ACTIVATION_SWITCH)
#define PROBE_TARE_PIN PC14
#define PROBE_ACTIVATION_SWITCH_PIN PB2
#elif ENABLED(PROBE_ENABLE_DISABLE) && !defined(PROBE_ENABLE_PIN)
#define PROBE_ENABLE_PIN PC14
#endif

//
Expand Down
7 changes: 7 additions & 0 deletions Marlin/src/pins/stm32f1/pins_CREALITY_V4.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,13 @@
#define Z_MIN_PROBE_PIN PB1 // BLTouch IN
#endif

//
// Probe enable
//
#if ENABLED(PROBE_ENABLE_DISABLE) && !defined(PROBE_ENABLE_PIN)
#define PROBE_ENABLE_PIN SERVO0_PIN
#endif

//
// Filament Runout Sensor
//
Expand Down
7 changes: 7 additions & 0 deletions Marlin/src/pins/stm32f1/pins_CREALITY_V4210.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@
#define Z_MIN_PROBE_PIN PA5 // BLTouch IN
#endif

//
// Probe enable
//
#if ENABLED(PROBE_ENABLE_DISABLE) && !defined(PROBE_ENABLE_PIN)
#define PROBE_ENABLE_PIN SERVO0_PIN
#endif

//
// Filament Runout Sensor
//
Expand Down
7 changes: 7 additions & 0 deletions Marlin/src/pins/stm32f1/pins_CREALITY_V521.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@
#define Z_MIN_PROBE_PIN PD12 // BLTouch IN
#endif

//
// Probe enable
//
#if ENABLED(PROBE_ENABLE_DISABLE) && !defined(PROBE_ENABLE_PIN)
#define PROBE_ENABLE_PIN SERVO0_PIN
#endif

//
// Filament Runout Sensor
//
Expand Down
7 changes: 7 additions & 0 deletions Marlin/src/pins/stm32f4/pins_CREALITY_CR4NTXXC10.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,13 @@
#define Z_MIN_PROBE_PIN PB1 // BLTouch IN
#endif

//
// Probe enable
//
#if ENABLED(PROBE_ENABLE_DISABLE) && !defined(PROBE_ENABLE_PIN)
#define PROBE_ENABLE_PIN SERVO0_PIN
#endif

//
// Filament Runout Sensor
//
Expand Down

0 comments on commit 215436e

Please sign in to comment.