📌 Creality 4.3.1 board variants (#22704)
Co-authored-by: Chico <jjjm6000@gmail.com>
This commit is contained in:
committed by
Scott Lahteine
parent
44d54a0d01
commit
ded8ee0a1d
@ -88,37 +88,37 @@
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_ENABLE_PIN PC3
|
||||
#ifndef X_STEP_PIN
|
||||
#define X_STEP_PIN PC2
|
||||
#endif
|
||||
#ifndef X_DIR_PIN
|
||||
#define X_DIR_PIN PB9
|
||||
#endif
|
||||
#define X_ENABLE_PIN PC3 // Shared
|
||||
|
||||
#define Y_ENABLE_PIN PC3
|
||||
#ifndef Y_STEP_PIN
|
||||
#define Y_STEP_PIN PB8
|
||||
#endif
|
||||
#ifndef Y_DIR_PIN
|
||||
#define Y_DIR_PIN PB7
|
||||
#endif
|
||||
#define Y_ENABLE_PIN X_ENABLE_PIN
|
||||
|
||||
#define Z_ENABLE_PIN PC3
|
||||
#ifndef Z_STEP_PIN
|
||||
#define Z_STEP_PIN PB6
|
||||
#endif
|
||||
#ifndef Z_DIR_PIN
|
||||
#define Z_DIR_PIN PB5
|
||||
#endif
|
||||
#define Z_ENABLE_PIN X_ENABLE_PIN
|
||||
|
||||
#define E0_ENABLE_PIN PC3
|
||||
#ifndef E0_STEP_PIN
|
||||
#define E0_STEP_PIN PB4
|
||||
#endif
|
||||
#ifndef E0_DIR_PIN
|
||||
#define E0_DIR_PIN PB3
|
||||
#endif
|
||||
#define E0_ENABLE_PIN X_ENABLE_PIN
|
||||
|
||||
//
|
||||
// Release PB4 (Y_ENABLE_PIN) from JTAG NRST role
|
||||
|
@ -31,10 +31,21 @@
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN PB8
|
||||
#define X_DIR_PIN PB7
|
||||
#if MB(CREALITY_V431, CREALITY_V431_A, CREALITY_V431_B)
|
||||
|
||||
#define Y_STEP_PIN PC2
|
||||
#define Y_DIR_PIN PB9
|
||||
#define X_STEP_PIN PB8
|
||||
#define X_DIR_PIN PB7
|
||||
|
||||
#define Y_STEP_PIN PC2
|
||||
#define Y_DIR_PIN PB9
|
||||
|
||||
#endif
|
||||
|
||||
#if MB(CREALITY_V431_B, CREALITY_V431_C)
|
||||
|
||||
#define E0_STEP_PIN PB3
|
||||
#define E0_DIR_PIN PB4
|
||||
|
||||
#endif
|
||||
|
||||
#include "pins_CREALITY_V4.h"
|
||||
|
Reference in New Issue
Block a user