Skip to content

Commit fbf4acb

Browse files
committed
Add PROBE_ENABLE_PINs to relevant Creality Boards
1 parent 671db0a commit fbf4acb

File tree

6 files changed

+40
-0
lines changed

6 files changed

+40
-0
lines changed

Marlin/src/pins/stm32f1/pins_CREALITY_V24S1_301.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@
6060
#define Z_MIN_PROBE_PIN PC14 // BLTouch IN
6161
#endif
6262

63+
//
64+
// Probe enable
65+
//
66+
#if ENABLED(PROBE_ENABLE_DISABLE) && !defined(PROBE_ENABLE_PIN)
67+
#define PROBE_ENABLE_PIN SERVO0_PIN
68+
#endif
69+
6370
//
6471
// Filament Runout Sensor
6572
//

Marlin/src/pins/stm32f1/pins_CREALITY_V25S1.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,16 @@
6363
#define Y_STOP_PIN PC5
6464
#define Z_STOP_PIN PC15
6565

66+
//
67+
// Probe
68+
//
6669
#if ENABLED(BLTOUCH)
6770
#define SERVO0_PIN PC14 // BLTouch OUT PIN
6871
#elif ENABLED(PROBE_ACTIVATION_SWITCH)
6972
#define PROBE_TARE_PIN PC14
7073
#define PROBE_ACTIVATION_SWITCH_PIN PB2
74+
#elif ENABLED(PROBE_ENABLE_DISABLE) && !defined(PROBE_ENABLE_PIN)
75+
#define PROBE_ENABLE_PIN PC14
7176
#endif
7277

7378
//

Marlin/src/pins/stm32f1/pins_CREALITY_V4.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@
9292
#define Z_MIN_PROBE_PIN PB1 // BLTouch IN
9393
#endif
9494

95+
//
96+
// Probe enable
97+
//
98+
#if ENABLED(PROBE_ENABLE_DISABLE) && !defined(PROBE_ENABLE_PIN)
99+
#define PROBE_ENABLE_PIN SERVO0_PIN
100+
#endif
101+
95102
//
96103
// Filament Runout Sensor
97104
//

Marlin/src/pins/stm32f1/pins_CREALITY_V4210.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,13 @@
7676
#define Z_MIN_PROBE_PIN PA5 // BLTouch IN
7777
#endif
7878

79+
//
80+
// Probe enable
81+
//
82+
#if ENABLED(PROBE_ENABLE_DISABLE) && !defined(PROBE_ENABLE_PIN)
83+
#define PROBE_ENABLE_PIN SERVO0_PIN
84+
#endif
85+
7986
//
8087
// Filament Runout Sensor
8188
//

Marlin/src/pins/stm32f1/pins_CREALITY_V521.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,13 @@
7777
#define Z_MIN_PROBE_PIN PD12 // BLTouch IN
7878
#endif
7979

80+
//
81+
// Probe enable
82+
//
83+
#if ENABLED(PROBE_ENABLE_DISABLE) && !defined(PROBE_ENABLE_PIN)
84+
#define PROBE_ENABLE_PIN SERVO0_PIN
85+
#endif
86+
8087
//
8188
// Filament Runout Sensor
8289
//

Marlin/src/pins/stm32f4/pins_CREALITY_CR4NTXXC10.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,13 @@
8686
#define Z_MIN_PROBE_PIN PB1 // BLTouch IN
8787
#endif
8888

89+
//
90+
// Probe enable
91+
//
92+
#if ENABLED(PROBE_ENABLE_DISABLE) && !defined(PROBE_ENABLE_PIN)
93+
#define PROBE_ENABLE_PIN SERVO0_PIN
94+
#endif
95+
8996
//
9097
// Filament Runout Sensor
9198
//

0 commit comments

Comments
 (0)